Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: RelatedPerson

...

To do this, Firstly you need to create GenericObjectnameStrategy interface if you wish to synchronize Objectname object

It should look more/less like this:

Code Block
package org.openmrs.module.fhir.api.strategies.relatedperson;

import org.hl7.fhir.dstu3.model.Objectname;

public interface GenericObjectnameStrategy {

   Objectname getObjectname(String uuid);

   void deleteObjectname(String uuid);

   Objectname updateObjectname(String uuid, Objectname objectname);

   Objectname createObjectname(Objectname objectname);
}