Skip to content

Commit

Permalink
openrms: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Sep 12, 2024
1 parent 15698f9 commit 24c984e
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions packages/openmrs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 24c984e

Please sign in to comment.