@oystehr/sdk 4.0.0 → 4.1.0

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.
@@ -11,9 +11,18 @@ export type ErxCheckMedicationInteractionsResponse = {
11
11
  */
12
12
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
13
13
  /**
14
- * List of drug IDs involved in the interaction.
14
+ * List of medications involved in the interaction.
15
15
  */
16
- drugIds: number[];
16
+ medications?: {
17
+ /**
18
+ * The Medi-Span identifier for the medication.
19
+ */
20
+ id: number;
21
+ /**
22
+ * Human readable name of medication.
23
+ */
24
+ name: string;
25
+ }[];
17
26
  /**
18
27
  * Indicates if the interaction includes pending medications.
19
28
  */
@@ -18,9 +18,18 @@ export interface ErxCheckPrecheckInteractionsResponse {
18
18
  */
19
19
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
20
20
  /**
21
- * List of drug IDs involved in the interaction.
21
+ * List of medications involved in the interaction.
22
22
  */
23
- drugIds: number[];
23
+ medications?: {
24
+ /**
25
+ * The Medi-Span identifier for the medication.
26
+ */
27
+ id: number;
28
+ /**
29
+ * Human readable name of medication.
30
+ */
31
+ name: string;
32
+ }[];
24
33
  /**
25
34
  * Indicates if the interaction includes pending medications.
26
35
  */
@@ -11,9 +11,18 @@ export type ErxCheckMedicationInteractionsResponse = {
11
11
  */
12
12
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
13
13
  /**
14
- * List of drug IDs involved in the interaction.
14
+ * List of medications involved in the interaction.
15
15
  */
16
- drugIds: number[];
16
+ medications?: {
17
+ /**
18
+ * The Medi-Span identifier for the medication.
19
+ */
20
+ id: number;
21
+ /**
22
+ * Human readable name of medication.
23
+ */
24
+ name: string;
25
+ }[];
17
26
  /**
18
27
  * Indicates if the interaction includes pending medications.
19
28
  */
@@ -18,9 +18,18 @@ export interface ErxCheckPrecheckInteractionsResponse {
18
18
  */
19
19
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
20
20
  /**
21
- * List of drug IDs involved in the interaction.
21
+ * List of medications involved in the interaction.
22
22
  */
23
- drugIds: number[];
23
+ medications?: {
24
+ /**
25
+ * The Medi-Span identifier for the medication.
26
+ */
27
+ id: number;
28
+ /**
29
+ * Human readable name of medication.
30
+ */
31
+ name: string;
32
+ }[];
24
33
  /**
25
34
  * Indicates if the interaction includes pending medications.
26
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oystehr/sdk",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Oystehr SDK",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -57,4 +57,4 @@
57
57
  "stu3",
58
58
  "hl7"
59
59
  ]
60
- }
60
+ }
@@ -13,9 +13,18 @@ export type ErxCheckMedicationInteractionsResponse = {
13
13
  */
14
14
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
15
15
  /**
16
- * List of drug IDs involved in the interaction.
16
+ * List of medications involved in the interaction.
17
17
  */
18
- drugIds: number[];
18
+ medications?: {
19
+ /**
20
+ * The Medi-Span identifier for the medication.
21
+ */
22
+ id: number;
23
+ /**
24
+ * Human readable name of medication.
25
+ */
26
+ name: string;
27
+ }[];
19
28
  /**
20
29
  * Indicates if the interaction includes pending medications.
21
30
  */
@@ -20,9 +20,18 @@ export interface ErxCheckPrecheckInteractionsResponse {
20
20
  */
21
21
  severityLevel: 'MajorInteraction' | 'ModerateInteraction' | 'MinorInteraction' | 'Unknown';
22
22
  /**
23
- * List of drug IDs involved in the interaction.
23
+ * List of medications involved in the interaction.
24
24
  */
25
- drugIds: number[];
25
+ medications?: {
26
+ /**
27
+ * The Medi-Span identifier for the medication.
28
+ */
29
+ id: number;
30
+ /**
31
+ * Human readable name of medication.
32
+ */
33
+ name: string;
34
+ }[];
26
35
  /**
27
36
  * Indicates if the interaction includes pending medications.
28
37
  */