Child pages
  • Adding new object for FHIR synchronization

Versions Compared

Key

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

...

After that, the interface, by default needs to be implemented by ObjectnameStrategy class that would contain concrete implementatons of method stubsmethods.

A Strategy Util class, like ObjectNameStrategyUtil  should be created next to retrieve the implemented strategy in the following way:

...

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

and handled in the compareResourceObjects:

...