Uses of Class
ca.cdr.api.pub.hl7v2.out.MappingTarget
-
Uses of MappingTarget in ca.cdr.api.pub.hl7v2.out
Modifier and TypeMethodDescription<T extends ca.uhn.hl7v2.model.Message>
MappingTarget<T>IHl7V2OutboundMapperSvc.newTarget
(String theMessageCode, String theMessageTrigger, Class<T> theStructureType) Create a newMappingTarget
with a targetMessage
instance that is appropriate for the given theMessageCode and theMessageTrigger values.Modifier and TypeMethodDescriptionList<MappingTarget<?>>
IHl7V2OutboundCustomMapper.convert
(IHl7V2OutboundCustomMapper.ConversionContext theConversionContext) Convert a resource into a collection of HL7v2 message(s) to send.Modifier and TypeMethodDescriptionvoid
IHl7V2OutboundMapperSvc.populateMessageAdtA01FromEncounter
(IBaseResource theFocalEncounter, MappingTarget<ca.uhn.hl7v2.model.v25.message.ADT_A01> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ADT_A01 structure using an Encounter resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageAdtA02FromEncounter
(IBaseResource theFocalEncounter, MappingTarget<ca.uhn.hl7v2.model.v25.message.ADT_A02> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ADT_A02 structure using an Encounter resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageAdtA03FromEncounter
(IBaseResource theFocalEncounter, MappingTarget<ca.uhn.hl7v2.model.v25.message.ADT_A03> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ADT_A03 structure using an Encounter resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageAdtA05FromEncounter
(IBaseResource theFocalEncounter, MappingTarget<ca.uhn.hl7v2.model.v25.message.ADT_A05> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ADT_A05 structure using an Encounter resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageAdtA05FromPatient
(IBaseResource theFocalPatient, MappingTarget<ca.uhn.hl7v2.model.v25.message.ADT_A05> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ADT_A05 structure using a Patient resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageDftP03FromChargeItem
(IBaseResource theFocalChargeItem, MappingTarget<ca.uhn.hl7v2.model.v25.message.DFT_P03> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete DFT_P03 structure using a ChargeItem resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageOmgO19FromServiceRequest
(IBaseResource theFocalServiceRequest, MappingTarget<ca.uhn.hl7v2.model.v25.message.OMG_O19> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete OMG_O19 structure using a ServiceRequest resource (R4+) or a ProcedureRequest resource (DSTU3) as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageOrmO01FromServiceRequest
(IBaseResource theFocalServiceRequest, MappingTarget<ca.uhn.hl7v2.model.v25.message.ORM_O01> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ORM_O01 structure using a ServiceRequest resource (R4+) or a ProcedureRequest resource (DSTU3) as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageOruR01FromDiagnosticReport
(IBaseResource theFocalDiagnosticReport, MappingTarget<ca.uhn.hl7v2.model.v25.message.ORU_R01> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ORU_R01 structure using a DiagnosticReport resource as the focal resource.void
IHl7V2OutboundMapperSvc.populateMessageOruR01FromServiceRequest
(IBaseResource theFocalServiceRequest, MappingTarget<ca.uhn.hl7v2.model.v25.message.ORU_R01> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populate a complete ORU_R01 structure using a ServiceRequest resource (R4+) or a ProcedureRequest resource (DSTU3) as the focal resource.void
IHl7V2OutboundMapperSvc.populateSegmentAl1FromAllergyIntolerance
(org.hl7.fhir.r4.model.AllergyIntolerance theAllergyIntolerance, Integer theSetId, ca.uhn.hl7v2.model.v25.segment.AL1 theAl1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates an AL1 segment using values from an AllergyIntolerance resource instance.void
IHl7V2OutboundMapperSvc.populateSegmentDg1FromEncounterCondition
(org.hl7.fhir.r4.model.Encounter theEncounter, int theEncounterConditionIndex, ca.uhn.hl7v2.model.v25.segment.DG1 theDg1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates an NK1 segment using a single Patient.contact instance.void
IHl7V2OutboundMapperSvc.populateSegmentIn1In2FromInsurance
(org.hl7.fhir.r4.model.Coverage theCoverage, ca.uhn.hl7v2.model.v25.segment.IN1 theIn1, ca.uhn.hl7v2.model.v25.segment.IN2 theIn2, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a pair of IN1 and IN2 segments using values from a Coverage resource instance.void
IHl7V2OutboundMapperSvc.populateSegmentNk1FromPatientContact
(org.hl7.fhir.r4.model.Patient thePatient, int thePatientContactIndex, ca.uhn.hl7v2.model.v25.segment.NK1 theNk1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates an NK1 segment using a single Patient.contact instance.void
IHl7V2OutboundMapperSvc.populateSegmentPd1FromPatient
(org.hl7.fhir.r4.model.Patient theSubject, ca.uhn.hl7v2.model.v25.segment.PD1 thePd1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a PD1 segment using information from a Patient resource.void
IHl7V2OutboundMapperSvc.populateSegmentPidFromPatient
(org.hl7.fhir.r4.model.Patient theSubject, org.hl7.fhir.r4.model.Encounter theEncounterOrNull, ca.uhn.hl7v2.model.v25.segment.PID thePid, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a PID segment using information from a Patient resource and optionally an Encounter resource.void
IHl7V2OutboundMapperSvc.populateSegmentPr1FromProcedure
(org.hl7.fhir.r4.model.Procedure theProcedure, ca.uhn.hl7v2.model.v25.segment.PR1 thePr1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a PR1 segment using values from a Procedure resource instance.void
IHl7V2OutboundMapperSvc.populateSegmentPv1FromEncounter
(org.hl7.fhir.r4.model.Encounter theEncounter, ca.uhn.hl7v2.model.v25.segment.PV1 thePv1, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a PV1 segment using information from an Encounter resource.void
IHl7V2OutboundMapperSvc.populateSegmentPv2FromEncounter
(org.hl7.fhir.r4.model.Encounter theEncounter, ca.uhn.hl7v2.model.v25.segment.PV2 thePv2, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates a PV2 segment using information from an Encounter resource.void
IHl7V2OutboundMapperSvc.populateSegmentRolFromEncounterParticipant
(org.hl7.fhir.r4.model.Encounter theEncounter, int theEncounterParticipantIndex, ca.uhn.hl7v2.model.v25.segment.ROL theRol, MappingTarget<?> theMappingTarget, OutboundMappingInstructions theOutboundMappingInstructions) Populates an ROL segment using a single Encounter.participant instance.