oro-sdk-apis 1.58.1-dev1 → 1.58.1-dev1.2
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.
- package/dist/models/consult.d.ts +2 -1
- package/dist/models/diagnosis.d.ts +13 -2
- package/dist/models/practice.d.ts +4 -4
- package/dist/oro-sdk-apis.cjs.development.js +1 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +1 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +5 -4
- package/src/models/consult.ts +1 -0
- package/src/models/diagnosis.ts +15 -2
- package/src/models/practice.ts +4 -4
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.58.1-dev1",
|
2
|
+
"version": "1.58.1-dev1.2",
|
3
3
|
"main": "dist/index.js",
|
4
4
|
"typings": "dist/index.d.ts",
|
5
5
|
"files": [
|
@@ -13,13 +13,14 @@
|
|
13
13
|
"scripts": {
|
14
14
|
"link:watch": "npm link && tsdx watch",
|
15
15
|
"start": "tsdx watch",
|
16
|
-
"build": "tsdx
|
16
|
+
"build:dep": "npm install tsdx@\"^0.14.1\"",
|
17
|
+
"build": "npm run build:dep && tsdx build",
|
17
18
|
"test": "tsdx test",
|
18
19
|
"lint": "tsdx lint",
|
19
|
-
"prepare": "
|
20
|
+
"prepare": "npm run build",
|
20
21
|
"size": "size-limit",
|
21
22
|
"analyze": "size-limit --why",
|
22
|
-
"package": "
|
23
|
+
"package": "npm run build && npm publish",
|
23
24
|
"pretty": "prettier --config ../../.prettierrc.yaml --write './src/**/*.{ts,js,json,md}' && prettier --write './*.md'"
|
24
25
|
},
|
25
26
|
"name": "oro-sdk-apis",
|
package/src/models/consult.ts
CHANGED
package/src/models/diagnosis.ts
CHANGED
@@ -116,8 +116,7 @@ export interface DrugPrescription {
|
|
116
116
|
}
|
117
117
|
|
118
118
|
export interface TreatmentAndDrugPrescription {
|
119
|
-
|
120
|
-
prescriptionsAndDrugs?: DrugPrescription[]
|
119
|
+
treatmentsHistory?: TreatmentHistory[]
|
121
120
|
notes?: string
|
122
121
|
status: PlanStatus
|
123
122
|
uuidTreatmentPlan: string
|
@@ -127,6 +126,17 @@ export interface TreatmentAndDrugPrescription {
|
|
127
126
|
decidedAt?: string
|
128
127
|
createdAt: string
|
129
128
|
}
|
129
|
+
|
130
|
+
/**
|
131
|
+
* An entry in the history of the treatments of the patient.
|
132
|
+
* The history entry consists of the treatment and the prescriptions and the drugs
|
133
|
+
* that were prescribed to the patient at that point of history
|
134
|
+
*/
|
135
|
+
export interface TreatmentHistory {
|
136
|
+
treatment: Treatment
|
137
|
+
prescriptionsAndDrugs: DrugPrescription[]
|
138
|
+
}
|
139
|
+
|
130
140
|
export interface TreatmentPlans {
|
131
141
|
uuidConsult: string
|
132
142
|
diagnosis: Diagnosis
|
@@ -161,6 +171,9 @@ export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
|
|
161
171
|
uuidConsult: string
|
162
172
|
diagnosis: DiagnosisRequest
|
163
173
|
plan: TreatmentAndDrugPrescriptionUpdateRequest
|
174
|
+
/**
|
175
|
+
* request to refill the treatment plan
|
176
|
+
*/
|
164
177
|
refill?: boolean
|
165
178
|
}
|
166
179
|
|
package/src/models/practice.ts
CHANGED
@@ -356,13 +356,13 @@ export type PracticeConfigPractitionerSearch = PracticeConfig<
|
|
356
356
|
PracticeConfigKind.PractitionerSearch,
|
357
357
|
{
|
358
358
|
/**
|
359
|
-
*
|
359
|
+
* Disable search indexing a consultation on its creation
|
360
360
|
*/
|
361
|
-
|
361
|
+
disableSearchIndexing?: boolean
|
362
362
|
/**
|
363
|
-
*
|
363
|
+
* Disable search for consultations from the ConsultList
|
364
364
|
*/
|
365
|
-
|
365
|
+
disableSearch?: boolean
|
366
366
|
}
|
367
367
|
>
|
368
368
|
|