Search in sources :

Example 1 with RCMRMT030101UK04Author

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()));
}
Also used : EncounterParticipantComponent(org.hl7.fhir.dstu3.model.Encounter.EncounterParticipantComponent) Coding(org.hl7.fhir.dstu3.model.Coding) Reference(org.hl7.fhir.dstu3.model.Reference) CodeableConcept(org.hl7.fhir.dstu3.model.CodeableConcept)

Aggregations

CodeableConcept (org.hl7.fhir.dstu3.model.CodeableConcept)1 Coding (org.hl7.fhir.dstu3.model.Coding)1 EncounterParticipantComponent (org.hl7.fhir.dstu3.model.Encounter.EncounterParticipantComponent)1 Reference (org.hl7.fhir.dstu3.model.Reference)1