use of org.hl7.v3.RCMRMT030101UK04Author in project nia-patient-switching-standard-adaptor by NHSDigital.
the class EncounterMapper method getRecorder.
private EncounterParticipantComponent getRecorder(RCMRMT030101UK04Author author) {
var recorder = new EncounterParticipantComponent();
var coding = new Coding(RECORDER_SYSTEM, RECORDER_CODE, RECORDER_DISPLAY);
return recorder.addType(new CodeableConcept(coding)).setIndividual(new Reference(PRACTITIONER_REFERENCE_PREFIX + author.getAgentRef().getId().getRoot()));
}
Aggregations