Package ca.uhn.hl7v2.model.v22.segment
Class MRG
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.MRG
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 MRG message segment (MERGE PATIENT INFORMATION). This segment has the following fields:
- MRG-1: Prior Patient ID - Internal (CM_PAT_ID)
- MRG-2: Prior Alternate Patient ID (CM_PAT_ID) optional
- MRG-3: Prior Patient Account Number (CK) optional
- MRG-4: Prior Patient ID - External (CK) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns MRG-1: "Prior Patient ID - Internal" - creates it if necessaryReturns MRG-2: "Prior Alternate Patient ID" - creates it if necessaryReturns MRG-3: "Prior Patient Account Number" - creates it if necessaryReturns MRG-4: "Prior Patient ID - External" - creates it if necessaryReturns MRG-2: "Prior Alternate Patient ID" - creates it if necessaryReturns MRG-3: "Prior Patient Account Number" - creates it if necessaryReturns MRG-4: "Prior Patient ID - External" - creates it if necessaryReturns MRG-1: "Prior Patient ID - Internal" - creates it if necessaryMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
MRG
Creates a new MRG segment
-
-
Method Details
-
getPriorPatientIDInternal
Returns MRG-1: "Prior Patient ID - Internal" - creates it if necessary -
getMrg1_PriorPatientIDInternal
Returns MRG-1: "Prior Patient ID - Internal" - creates it if necessary -
getPriorAlternatePatientID
Returns MRG-2: "Prior Alternate Patient ID" - creates it if necessary -
getMrg2_PriorAlternatePatientID
Returns MRG-2: "Prior Alternate Patient ID" - creates it if necessary -
getPriorPatientAccountNumber
Returns MRG-3: "Prior Patient Account Number" - creates it if necessary -
getMrg3_PriorPatientAccountNumber
Returns MRG-3: "Prior Patient Account Number" - creates it if necessary -
getPriorPatientIDExternal
Returns MRG-4: "Prior Patient ID - External" - creates it if necessary -
getMrg4_PriorPatientIDExternal
Returns MRG-4: "Prior Patient ID - External" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-