@oystehr/sdk 4.1.9 → 4.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/cjs/index.min.cjs +1 -1
  2. package/dist/cjs/index.min.cjs.map +1 -1
  3. package/dist/cjs/resources/classes/fhir-ext.cjs +14 -1
  4. package/dist/cjs/resources/classes/fhir-ext.cjs.map +1 -1
  5. package/dist/cjs/resources/classes/index.cjs +0 -6
  6. package/dist/cjs/resources/classes/index.cjs.map +1 -1
  7. package/dist/cjs/resources/classes/index.d.ts +0 -4
  8. package/dist/cjs/resources/classes/user.cjs +9 -0
  9. package/dist/cjs/resources/classes/user.cjs.map +1 -1
  10. package/dist/cjs/resources/classes/user.d.ts +8 -1
  11. package/dist/cjs/resources/types/UserResetPasswordLinkParams.d.ts +7 -0
  12. package/dist/cjs/resources/types/index.d.ts +1 -12
  13. package/dist/esm/index.min.js +1 -1
  14. package/dist/esm/index.min.js.map +1 -1
  15. package/dist/esm/resources/classes/fhir-ext.js +14 -1
  16. package/dist/esm/resources/classes/fhir-ext.js.map +1 -1
  17. package/dist/esm/resources/classes/index.d.ts +0 -4
  18. package/dist/esm/resources/classes/index.js +0 -6
  19. package/dist/esm/resources/classes/index.js.map +1 -1
  20. package/dist/esm/resources/classes/user.d.ts +8 -1
  21. package/dist/esm/resources/classes/user.js +9 -0
  22. package/dist/esm/resources/classes/user.js.map +1 -1
  23. package/dist/esm/resources/types/UserResetPasswordLinkParams.d.ts +7 -0
  24. package/dist/esm/resources/types/index.d.ts +1 -12
  25. package/package.json +5 -3
  26. package/src/resources/classes/fhir-ext.ts +16 -1
  27. package/src/resources/classes/index.ts +0 -6
  28. package/src/resources/classes/user.ts +10 -0
  29. package/src/resources/types/UserResetPasswordLinkParams.ts +9 -0
  30. package/src/resources/types/index.ts +1 -12
  31. package/dist/cjs/resources/classes/erxV1.cjs +0 -46
  32. package/dist/cjs/resources/classes/erxV1.cjs.map +0 -1
  33. package/dist/cjs/resources/classes/erxV1.d.ts +0 -31
  34. package/dist/cjs/resources/classes/erxV2.cjs +0 -22
  35. package/dist/cjs/resources/classes/erxV2.cjs.map +0 -1
  36. package/dist/cjs/resources/classes/erxV2.d.ts +0 -15
  37. package/dist/cjs/resources/types/ErxV1AllergySearchParams.d.ts +0 -3
  38. package/dist/cjs/resources/types/ErxV1AllergySearchResponse.d.ts +0 -19
  39. package/dist/cjs/resources/types/ErxV1CancelOrderParams.d.ts +0 -6
  40. package/dist/cjs/resources/types/ErxV1CancelOrderResponse.d.ts +0 -6
  41. package/dist/cjs/resources/types/ErxV1CancelPrescriptionParams.d.ts +0 -6
  42. package/dist/cjs/resources/types/ErxV1CancelPrescriptionResponse.d.ts +0 -6
  43. package/dist/cjs/resources/types/ErxV1MedicationSearchParams.d.ts +0 -6
  44. package/dist/cjs/resources/types/ErxV1MedicationSearchResponse.d.ts +0 -38
  45. package/dist/cjs/resources/types/ErxV1SyncPatientParams.d.ts +0 -3
  46. package/dist/cjs/resources/types/ErxV1SyncPatientResponse.d.ts +0 -9
  47. package/dist/cjs/resources/types/ErxV2MedicationSearchParams.d.ts +0 -4
  48. package/dist/cjs/resources/types/ErxV2MedicationSearchResponse.d.ts +0 -38
  49. package/dist/esm/resources/classes/erxV1.d.ts +0 -31
  50. package/dist/esm/resources/classes/erxV1.js +0 -44
  51. package/dist/esm/resources/classes/erxV1.js.map +0 -1
  52. package/dist/esm/resources/classes/erxV2.d.ts +0 -15
  53. package/dist/esm/resources/classes/erxV2.js +0 -20
  54. package/dist/esm/resources/classes/erxV2.js.map +0 -1
  55. package/dist/esm/resources/types/ErxV1AllergySearchParams.d.ts +0 -3
  56. package/dist/esm/resources/types/ErxV1AllergySearchResponse.d.ts +0 -19
  57. package/dist/esm/resources/types/ErxV1CancelOrderParams.d.ts +0 -6
  58. package/dist/esm/resources/types/ErxV1CancelOrderResponse.d.ts +0 -6
  59. package/dist/esm/resources/types/ErxV1CancelPrescriptionParams.d.ts +0 -6
  60. package/dist/esm/resources/types/ErxV1CancelPrescriptionResponse.d.ts +0 -6
  61. package/dist/esm/resources/types/ErxV1MedicationSearchParams.d.ts +0 -6
  62. package/dist/esm/resources/types/ErxV1MedicationSearchResponse.d.ts +0 -38
  63. package/dist/esm/resources/types/ErxV1SyncPatientParams.d.ts +0 -3
  64. package/dist/esm/resources/types/ErxV1SyncPatientResponse.d.ts +0 -9
  65. package/dist/esm/resources/types/ErxV2MedicationSearchParams.d.ts +0 -4
  66. package/dist/esm/resources/types/ErxV2MedicationSearchResponse.d.ts +0 -38
  67. package/src/resources/classes/erxV1.ts +0 -73
  68. package/src/resources/classes/erxV2.ts +0 -34
  69. package/src/resources/types/ErxV1AllergySearchParams.ts +0 -5
  70. package/src/resources/types/ErxV1AllergySearchResponse.ts +0 -21
  71. package/src/resources/types/ErxV1CancelOrderParams.ts +0 -8
  72. package/src/resources/types/ErxV1CancelOrderResponse.ts +0 -8
  73. package/src/resources/types/ErxV1CancelPrescriptionParams.ts +0 -8
  74. package/src/resources/types/ErxV1CancelPrescriptionResponse.ts +0 -8
  75. package/src/resources/types/ErxV1MedicationSearchParams.ts +0 -8
  76. package/src/resources/types/ErxV1MedicationSearchResponse.ts +0 -40
  77. package/src/resources/types/ErxV1SyncPatientParams.ts +0 -5
  78. package/src/resources/types/ErxV1SyncPatientResponse.ts +0 -11
  79. package/src/resources/types/ErxV2MedicationSearchParams.ts +0 -6
  80. package/src/resources/types/ErxV2MedicationSearchResponse.ts +0 -40
@@ -1,40 +0,0 @@
1
- // AUTOGENERATED -- DO NOT EDIT
2
-
3
- /**
4
- * Medications
5
- */
6
- export interface ErxV1MedicationSearchResponse {
7
- medications?: {
8
- /**
9
- * The Photon identifier for the medication.
10
- */
11
- id: string;
12
- /**
13
- * Human readible name of medication.
14
- */
15
- name: string;
16
- codes: {
17
- /**
18
- * RxNorm Concept Unique (RxCUI) identifier of medication.
19
- */
20
- rxcui?: string | null;
21
- productNDC?: string | null;
22
- packageNDC?: string | null;
23
- SKU?: string | null;
24
- HCPCS?: string | null;
25
- };
26
- /**
27
- * Null implies a medication can not be prescribed
28
- */
29
- type?: ('RX' | 'OTC') | null;
30
- concept: 'DRUG' | 'PRODUCT' | 'PACKAGE';
31
- schedule?: ('I' | 'II' | 'III' | 'IV' | 'V') | null;
32
- controlled: boolean;
33
- brandName?: string | null;
34
- genericName?: string | null;
35
- strength?: string | null;
36
- form?: string | null;
37
- manufacturer?: string | null;
38
- description?: string | null;
39
- }[];
40
- }
@@ -1,5 +0,0 @@
1
- // AUTOGENERATED -- DO NOT EDIT
2
-
3
- export interface ErxV1SyncPatientParams {
4
- patientId: string;
5
- }
@@ -1,11 +0,0 @@
1
- // AUTOGENERATED -- DO NOT EDIT
2
-
3
- /**
4
- * Photon sync response
5
- */
6
- export interface ErxV1SyncPatientResponse {
7
- /**
8
- * The Photon identifier for the patient.
9
- */
10
- photonPatientId?: string;
11
- }
@@ -1,6 +0,0 @@
1
- // AUTOGENERATED -- DO NOT EDIT
2
-
3
- export interface ErxV2MedicationSearchParams {
4
- name?: string;
5
- code?: string;
6
- }
@@ -1,40 +0,0 @@
1
- // AUTOGENERATED -- DO NOT EDIT
2
-
3
- /**
4
- * Medications
5
- */
6
- export interface ErxV2MedicationSearchResponse {
7
- medications?: {
8
- /**
9
- * Internal identifier for the medication.
10
- */
11
- id: string;
12
- /**
13
- * Human readible name of medication.
14
- */
15
- name: string;
16
- codes: {
17
- /**
18
- * RxNorm Concept Unique (RxCUI) identifier of medication.
19
- */
20
- rxcui?: string | null;
21
- productNDC?: string | null;
22
- packageNDC?: string | null;
23
- SKU?: string | null;
24
- HCPCS?: string | null;
25
- };
26
- /**
27
- * Null implies a medication can not be prescribed
28
- */
29
- type?: ('RX' | 'OTC') | null;
30
- concept?: ('DRUG' | 'PRODUCT' | 'PACKAGE') | null;
31
- schedule?: ('I' | 'II' | 'III' | 'IV' | 'V') | null;
32
- controlled?: boolean | null;
33
- brandName?: string | null;
34
- genericName?: string | null;
35
- strength?: string | null;
36
- form?: string | null;
37
- manufacturer?: string | null;
38
- description?: string | null;
39
- }[];
40
- }