|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.MRG
public class MRG
Represents an HL7 MRG message segment (Merge patient information). This segment has the following fields:
| Constructor Summary | |
|---|---|
MRG(Group parent,
ModelClassFactory factory)
Creates a new MRG segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
CX |
getMrg1_PriorPatientIdentifierList(int rep)
Returns a specific repetition of MRG-1: "Prior Patient Identifier List" - creates it if necessary |
int |
getMrg1_PriorPatientIdentifierListReps()
Returns a count of the current number of repetitions of Prior Patient Identifier List (MRG-1). |
CX |
getMrg2_PriorAlternatePatientID(int rep)
Returns a specific repetition of MRG-2: "Prior Alternate Patient ID" - creates it if necessary |
int |
getMrg2_PriorAlternatePatientIDReps()
Returns a count of the current number of repetitions of Prior Alternate Patient ID (MRG-2). |
CX |
getMrg3_PriorPatientAccountNumber()
Returns MRG-3: "Prior Patient Account Number" - creates it if necessary |
CX |
getMrg4_PriorPatientID()
Returns MRG-4: "Prior Patient ID" - creates it if necessary |
CX |
getMrg5_PriorVisitNumber()
Returns MRG-5: "Prior Visit Number" - creates it if necessary |
CX |
getMrg6_PriorAlternateVisitID()
Returns MRG-6: "Prior Alternate Visit ID" - creates it if necessary |
XPN |
getMrg7_PriorPatientName(int rep)
Returns a specific repetition of MRG-7: "Prior Patient Name" - creates it if necessary |
int |
getMrg7_PriorPatientNameReps()
Returns a count of the current number of repetitions of Prior Patient Name (MRG-7). |
CX[] |
getPriorAlternatePatientID()
Returns all repetitions of Prior Alternate Patient ID (MRG-2). |
CX |
getPriorAlternatePatientID(int rep)
Returns a specific repetition of MRG-2: "Prior Alternate Patient ID" - creates it if necessary |
int |
getPriorAlternatePatientIDReps()
Returns a count of the current number of repetitions of Prior Alternate Patient ID (MRG-2). |
CX |
getPriorAlternateVisitID()
Returns MRG-6: "Prior Alternate Visit ID" - creates it if necessary |
CX |
getPriorPatientAccountNumber()
Returns MRG-3: "Prior Patient Account Number" - creates it if necessary |
CX |
getPriorPatientID()
Returns MRG-4: "Prior Patient ID" - creates it if necessary |
CX[] |
getPriorPatientIdentifierList()
Returns all repetitions of Prior Patient Identifier List (MRG-1). |
CX |
getPriorPatientIdentifierList(int rep)
Returns a specific repetition of MRG-1: "Prior Patient Identifier List" - creates it if necessary |
int |
getPriorPatientIdentifierListReps()
Returns a count of the current number of repetitions of Prior Patient Identifier List (MRG-1). |
XPN[] |
getPriorPatientName()
Returns all repetitions of Prior Patient Name (MRG-7). |
XPN |
getPriorPatientName(int rep)
Returns a specific repetition of MRG-7: "Prior Patient Name" - creates it if necessary |
int |
getPriorPatientNameReps()
Returns a count of the current number of repetitions of Prior Patient Name (MRG-7). |
CX |
getPriorVisitNumber()
Returns MRG-5: "Prior Visit Number" - creates it if necessary |
CX |
insertMrg1_PriorPatientIdentifierList(int rep)
Inserts a repetition of MRG-1: "Prior Patient Identifier List" at a specific index |
CX |
insertMrg2_PriorAlternatePatientID(int rep)
Inserts a repetition of MRG-2: "Prior Alternate Patient ID" at a specific index |
XPN |
insertMrg7_PriorPatientName(int rep)
Inserts a repetition of MRG-7: "Prior Patient Name" at a specific index |
CX |
insertPriorAlternatePatientID(int rep)
Inserts a repetition of MRG-2: "Prior Alternate Patient ID" at a specific index |
CX |
insertPriorPatientIdentifierList(int rep)
Inserts a repetition of MRG-1: "Prior Patient Identifier List" at a specific index |
XPN |
insertPriorPatientName(int rep)
Inserts a repetition of MRG-7: "Prior Patient Name" at a specific index |
CX |
removeMrg1_PriorPatientIdentifierList(int rep)
Removes a repetition of MRG-1: "Prior Patient Identifier List" at a specific index |
CX |
removeMrg2_PriorAlternatePatientID(int rep)
Removes a repetition of MRG-2: "Prior Alternate Patient ID" at a specific index |
XPN |
removeMrg7_PriorPatientName(int rep)
Removes a repetition of MRG-7: "Prior Patient Name" at a specific index |
CX |
removePriorAlternatePatientID(int rep)
Removes a repetition of MRG-2: "Prior Alternate Patient ID" at a specific index |
CX |
removePriorPatientIdentifierList(int rep)
Removes a repetition of MRG-1: "Prior Patient Identifier List" at a specific index |
XPN |
removePriorPatientName(int rep)
Removes a repetition of MRG-7: "Prior Patient Name" at a specific index |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MRG(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public CX[] getPriorPatientIdentifierList()
public int getPriorPatientIdentifierListReps()
public CX getPriorPatientIdentifierList(int rep)
rep - The repetition index (0-indexed)public CX getMrg1_PriorPatientIdentifierList(int rep)
rep - The repetition index (0-indexed)public int getMrg1_PriorPatientIdentifierListReps()
public CX insertPriorPatientIdentifierList(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX insertMrg1_PriorPatientIdentifierList(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX removePriorPatientIdentifierList(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX removeMrg1_PriorPatientIdentifierList(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public CX[] getPriorAlternatePatientID()
public int getPriorAlternatePatientIDReps()
public CX getPriorAlternatePatientID(int rep)
rep - The repetition index (0-indexed)public CX getMrg2_PriorAlternatePatientID(int rep)
rep - The repetition index (0-indexed)public int getMrg2_PriorAlternatePatientIDReps()
public CX insertPriorAlternatePatientID(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX insertMrg2_PriorAlternatePatientID(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX removePriorAlternatePatientID(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public CX removeMrg2_PriorAlternatePatientID(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public CX getPriorPatientAccountNumber()
public CX getMrg3_PriorPatientAccountNumber()
public CX getPriorPatientID()
public CX getMrg4_PriorPatientID()
public CX getPriorVisitNumber()
public CX getMrg5_PriorVisitNumber()
public CX getPriorAlternateVisitID()
public CX getMrg6_PriorAlternateVisitID()
public XPN[] getPriorPatientName()
public int getPriorPatientNameReps()
public XPN getPriorPatientName(int rep)
rep - The repetition index (0-indexed)public XPN getMrg7_PriorPatientName(int rep)
rep - The repetition index (0-indexed)public int getMrg7_PriorPatientNameReps()
public XPN insertPriorPatientName(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public XPN insertMrg7_PriorPatientName(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public XPN removePriorPatientName(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
public XPN removeMrg7_PriorPatientName(int rep)
throws HL7Exception
rep - The repetition index (0-indexed)
HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||