Skip to main content

Changelog for the openmrs adaptor

@openfn/language-openmrs

4.1.2

Patch Changes

4.1.1

Patch Changes

4.1.0

Minor Changes

  • 1227829: Add fhir.get() function

4.0.2

Patch Changes

  • b1c48c7: improve upsert operation

4.0.1

Patch Changes

4.0.0

Major Changes

  • Remove createEncounter and createPatient 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

3.1.3

Patch Changes

3.1.2

Patch Changes

  • 73d0a02: Make documentation public
  • Updated dependencies [4c08444]
  • Updated dependencies [73d0a02]

3.1.1

Patch Changes

3.1.0

Minor Changes

  • 73433c20: Add fnIf operation

Patch Changes

3.0.6

Patch Changes

3.0.5

Patch Changes

3.0.4

Patch Changes

3.0.3

Patch Changes

3.0.2

Patch Changes

3.0.1

Patch Changes

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

2.0.7

Patch Changes

2.0.6

Patch Changes

2.0.5

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

  • 2c1d603: Remove parameter reassignment to ensure proper functioning inside an each block; add eslint

    The 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 custom fn 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

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()

1.0.1

Patch Changes

  • 97cc7ce: - Fix checking for empty response
    • Style logs output

1.0.0

Major Changes

  • b6478c0: - Removed request in favour of superagent
    • Improve error handling
    • Moved login to execute function
    • Added
      • createPatient
      • searchPatient
      • searchPerson
      • getEncounters
      • getEncounter
      • get
      • post

0.10.5

Patch Changes

0.10.4

Patch Changes

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