oro-sdk 2.1.4 → 2.2.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.
- package/dist/oro-sdk.cjs.development.js +10 -0
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +10 -0
- package/dist/oro-sdk.esm.js.map +1 -1
- package/dist/services/diagnosis.d.ts +7 -1
- package/package.json +1 -1
- package/src/services/diagnosis.ts +13 -1
@@ -1825,6 +1825,16 @@ var DiagnosisService = /*#__PURE__*/function () {
|
|
1825
1825
|
}
|
1826
1826
|
});
|
1827
1827
|
}
|
1828
|
+
/**
|
1829
|
+
* creates a new treatment for the specified diagnosis
|
1830
|
+
* @param diagnosisUuid uuid of the diagnosis that the treatment is linked to
|
1831
|
+
* @param treatmentRequest the treatment to be inserted
|
1832
|
+
*/
|
1833
|
+
;
|
1834
|
+
|
1835
|
+
_proto.createTreatment = function createTreatment(diagnosisUuid, treatmentRequest) {
|
1836
|
+
return this.api.post(this.baseURL + "/v1/diagnoses/" + diagnosisUuid + "/treatments", treatmentRequest);
|
1837
|
+
}
|
1828
1838
|
/**
|
1829
1839
|
* This function returns populated treatment plans associated to a consult
|
1830
1840
|
* @param uuidConsult the consult uuid to fetch
|