diff --git a/packages/openmrs/CHANGELOG.md b/packages/openmrs/CHANGELOG.md index 836ecf649..8cf940d62 100644 --- a/packages/openmrs/CHANGELOG.md +++ b/packages/openmrs/CHANGELOG.md @@ -4,30 +4,29 @@ ### Major Changes -- 91c7972: - Add pagination support on request helper function +- Remove `createEncounter` and `createPatient` functions +- Add pagination support on request helper function - - Remove `createEncounter` and `createPatient` functions +### Minor Changes - ### Migration Guide +- c8dbd21: Add cursor and dateFns helper functions - The `createEncounter` and `createPatient` functions have been removed from the - OpenMRS adaptor. Use the `create` function with the appropriate resource type. +### Migration Guide - To create a new encounter, you can use the following code: +The `createEncounter` and `createPatient` functions have been removed from the +OpenMRS adaptor. Use the `create` function with the appropriate resource type. - ```js - create('encounter', $.encounter); - ``` +To create a new encounter, you can use the following code: - To create a new patient, you can use the following code: +```js +create('encounter', $.encounter); +``` - ```js - create('patient', $.patient); - ``` +To create a new patient, you can use the following code: -### Minor Changes - -- c8dbd21: Add cursor and dateFns helper functions +```js +create('patient', $.patient); +``` ## 3.1.4