Changelog for the openmrs adaptor
@openfn/language-openmrs
4.0.2
Patch Changes
- b1c48c7: improve upsert operation
4.0.1
Patch Changes
- Updated dependencies [77a690f]
- @openfn/language-common@2.0.2
4.0.0
Major Changes
- Remove
createEncounter
andcreatePatient
functions - Add pagination support on request helper function
Minor Changes
- c8dbd21: Add cursor and dateFns helper functions
Migration Guide
The createEncounter
and createPatient
functions have been removed from the
OpenMRS adaptor. Use the create
function with the appropriate resource type.
To create a new encounter, you can use the following code:
create('encounter', $.encounter);
To create a new patient, you can use the following code:
create('patient', $.patient);
3.1.4
Patch Changes
- 8146c23: Fix typings in package.json
- Updated dependencies [8146c23]
- @openfn/language-common@2.0.1
3.1.3
Patch Changes
- Updated dependencies [4fe527c]
- @openfn/language-common@2.0.0
3.1.2
Patch Changes
- 73d0a02: Make documentation public
- Updated dependencies [4c08444]
- Updated dependencies [73d0a02]
- @openfn/language-common@1.15.1
3.1.1
Patch Changes
- Updated dependencies [5fb82f07]
- @openfn/language-common@1.15.0
3.1.0
Minor Changes
- 73433c20: Add
fnIf
operation
Patch Changes
- Updated dependencies [106ecf6d]
- @openfn/language-common@1.14.0
3.0.6
Patch Changes
- Updated dependencies
- @openfn/language-common@1.13.5
3.0.5
Patch Changes
- Updated dependencies [12f02ed5]
- @openfn/language-common@1.13.4
3.0.4
Patch Changes
- Updated dependencies [88f99a8f]
- @openfn/language-common@1.13.3
3.0.3
Patch Changes
- Updated dependencies
- @openfn/language-common@1.13.2
3.0.2
Patch Changes
- Updated dependencies
- @openfn/language-common@1.13.1
3.0.1
Patch Changes
- Updated dependencies [1ad86651]
- @openfn/language-common@1.13.0
3.0.0
Major Changes
- cadff13b: - Remove superagent dependency.
- Rebase on new common http request helper.
- Remove login function as no longer needed.
- Update log output
2.0.8
Patch Changes
- Updated dependencies [c19efbe]
- @openfn/language-common@1.11.1
2.0.7
Patch Changes
- Updated dependencies [85c35b8]
- @openfn/language-common@1.11.0
2.0.6
Patch Changes
- Updated dependencies [df09270]
- @openfn/language-common@1.10.3
2.0.5
Patch Changes
- Updated dependencies [26a303e]
- @openfn/language-common@1.10.2
2.0.4
Patch Changes
- Updated dependencies [8c32eb3]
- @openfn/language-common@1.10.1
2.0.3
Patch Changes
- Updated dependencies [aad9549]
- @openfn/language-common@1.10.0
2.0.2
Patch Changes
- Updated dependencies [111807f]
- @openfn/language-common@1.9.0
2.0.1
Patch Changes
- Update lock files
- Updated dependencies
- @openfn/language-common@1.8.1
2.0.0
Major Changes
2c1d603: Remove parameter reassignment to ensure proper functioning inside an
each
block; add eslintThe packages receiving a major bump here exposed functions that didn't work as expected inside
each
blocks. Users were previously wrapping these functions inside their own customfn
blocks, and this change will ensure that they can be used inside a standard each.See https://github.com/OpenFn/adaptors/issues/275 for more details.
Patch Changes
- Updated dependencies [2c1d603]
- @openfn/language-common@1.8.0
1.1.1
Patch Changes
- 2390129: - replace throw new Error with console.log
- improve Log function
1.1.0
Minor Changes
- d124f67: - Add create, update and upsert function
- Add callback support and improve examples for
- get()
- post()
- getPatient()
- searchPerson()
- getEncounter()
- searchPatient()
- createPatient()
- getEncounters()
- createEncounter()
- Add callback support and improve examples for
1.0.1
Patch Changes
- 97cc7ce: - Fix checking for empty response
- Style logs output
1.0.0
Major Changes
- b6478c0: - Removed
request
in favour ofsuperagent
- Improve error handling
- Moved
login
to execute function - Added
createPatient
searchPatient
searchPerson
getEncounters
getEncounter
get
post
0.10.5
Patch Changes
- Updated dependencies [929bca6]
- @openfn/language-common@1.7.7
0.10.4
Patch Changes
- 14f481e: mark execute as private
- Updated dependencies [2b4c61a]
- @openfn/language-common@1.7.6
0.10.3
Patch Changes
- f7ebd3c: remove sample configuration
0.10.2
Patch Changes
- f2aed32: add examples
0.10.1
Patch Changes
- 6d8de03: change @constructor to @function and remove /* @module Adaptor /
0.10.0
Minor Changes
- 6786949: Migrate OpenMRS