Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To add another object to FHIR synchronization, you must implement the FHIR Strategy Pattern

...

and implemented accordingly.
Also, in the FHIRClientHelper class, CATEGORY_OBJECT_NAME needs to be added to the CATEGORY_MAP:


CATEGORY_MAP.put(CATEGORY_DRUG_ORDER, MedicationRequest.class);

...

Also some changes might be required in classes: FHIRUtils, and RestfulBundleResourceProvider.
After that, the ObjectName object should be able to be synchronized in OpenMRS Sync 2.0