public class PR1 extends AbstractSegment
Represents an HL7 PR1 message segment (PROCEDURES). This segment has the following fields:
log
Constructor and Description |
---|
PR1(Group parent,
ModelClassFactory factory)
Creates a new PR1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID |
getAnesthesiaCode()
Returns
PR1-9: "Anesthesia code" - creates it if necessary
|
NM |
getAnesthesiaMinutes()
Returns
PR1-10: "Anesthesia minutes" - creates it if necessary
|
CN |
getAnesthesiologist()
Returns
PR1-8: "Anesthesiologist" - creates it if necessary
|
ID |
getConsentCode()
Returns
PR1-13: "Consent code" - creates it if necessary
|
SI |
getPr11_SetIDProcedure()
Returns
PR1-1: "Set ID - procedure" - creates it if necessary
|
NM |
getPr110_AnesthesiaMinutes()
Returns
PR1-10: "Anesthesia minutes" - creates it if necessary
|
CN |
getPr111_Surgeon()
Returns
PR1-11: "Surgeon" - creates it if necessary
|
CM_PRACTITIONER[] |
getPr112_ProcedurePractitioner()
Returns all repetitions of Procedure Practitioner (PR1-12).
|
CM_PRACTITIONER |
getPr112_ProcedurePractitioner(int rep)
Returns a specific repetition of
PR1-12: "Procedure Practitioner" - creates it if necessary
|
int |
getPr112_ProcedurePractitionerReps()
Returns a count of the current number of repetitions of Procedure Practitioner (PR1-12).
|
ID |
getPr113_ConsentCode()
Returns
PR1-13: "Consent code" - creates it if necessary
|
NM |
getPr114_ProcedurePriority()
Returns
PR1-14: "Procedure priority" - creates it if necessary
|
ID[] |
getPr12_ProcedureCodingMethod()
Returns all repetitions of Procedure coding method (PR1-2).
|
ID |
getPr12_ProcedureCodingMethod(int rep)
Returns a specific repetition of
PR1-2: "Procedure coding method" - creates it if necessary
|
int |
getPr12_ProcedureCodingMethodReps()
Returns a count of the current number of repetitions of Procedure coding method (PR1-2).
|
ID[] |
getPr13_ProcedureCode()
Returns all repetitions of Procedure code (PR1-3).
|
ID |
getPr13_ProcedureCode(int rep)
Returns a specific repetition of
PR1-3: "Procedure code" - creates it if necessary
|
int |
getPr13_ProcedureCodeReps()
Returns a count of the current number of repetitions of Procedure code (PR1-3).
|
ST[] |
getPr14_ProcedureDescription()
Returns all repetitions of Procedure description (PR1-4).
|
ST |
getPr14_ProcedureDescription(int rep)
Returns a specific repetition of
PR1-4: "Procedure description" - creates it if necessary
|
int |
getPr14_ProcedureDescriptionReps()
Returns a count of the current number of repetitions of Procedure description (PR1-4).
|
TS |
getPr15_ProcedureDateTime()
Returns
PR1-5: "Procedure date / time" - creates it if necessary
|
ID |
getPr16_ProcedureType()
Returns
PR1-6: "Procedure type" - creates it if necessary
|
NM |
getPr17_ProcedureMinutes()
Returns
PR1-7: "Procedure minutes" - creates it if necessary
|
CN |
getPr18_Anesthesiologist()
Returns
PR1-8: "Anesthesiologist" - creates it if necessary
|
ID |
getPr19_AnesthesiaCode()
Returns
PR1-9: "Anesthesia code" - creates it if necessary
|
ID[] |
getProcedureCode()
Returns all repetitions of Procedure code (PR1-3).
|
ID |
getProcedureCode(int rep)
Returns a specific repetition of
PR1-3: "Procedure code" - creates it if necessary
|
int |
getProcedureCodeReps()
Returns a count of the current number of repetitions of Procedure code (PR1-3).
|
ID[] |
getProcedureCodingMethod()
Returns all repetitions of Procedure coding method (PR1-2).
|
ID |
getProcedureCodingMethod(int rep)
Returns a specific repetition of
PR1-2: "Procedure coding method" - creates it if necessary
|
int |
getProcedureCodingMethodReps()
Returns a count of the current number of repetitions of Procedure coding method (PR1-2).
|
TS |
getProcedureDateTime()
Returns
PR1-5: "Procedure date / time" - creates it if necessary
|
ST[] |
getProcedureDescription()
Returns all repetitions of Procedure description (PR1-4).
|
ST |
getProcedureDescription(int rep)
Returns a specific repetition of
PR1-4: "Procedure description" - creates it if necessary
|
int |
getProcedureDescriptionReps()
Returns a count of the current number of repetitions of Procedure description (PR1-4).
|
NM |
getProcedureMinutes()
Returns
PR1-7: "Procedure minutes" - creates it if necessary
|
CM_PRACTITIONER[] |
getProcedurePractitioner()
Returns all repetitions of Procedure Practitioner (PR1-12).
|
CM_PRACTITIONER |
getProcedurePractitioner(int rep)
Returns a specific repetition of
PR1-12: "Procedure Practitioner" - creates it if necessary
|
int |
getProcedurePractitionerReps()
Returns a count of the current number of repetitions of Procedure Practitioner (PR1-12).
|
NM |
getProcedurePriority()
Returns
PR1-14: "Procedure priority" - creates it if necessary
|
ID |
getProcedureType()
Returns
PR1-6: "Procedure type" - creates it if necessary
|
SI |
getSetIDProcedure()
Returns
PR1-1: "Set ID - procedure" - creates it if necessary
|
CN |
getSurgeon()
Returns
PR1-11: "Surgeon" - creates it if necessary
|
CM_PRACTITIONER |
insertPr112_ProcedurePractitioner(int rep)
Inserts a repetition of
PR1-12: "Procedure Practitioner" at a specific index
|
ID |
insertPr12_ProcedureCodingMethod(int rep)
Inserts a repetition of
PR1-2: "Procedure coding method" at a specific index
|
ID |
insertPr13_ProcedureCode(int rep)
Inserts a repetition of
PR1-3: "Procedure code" at a specific index
|
ST |
insertPr14_ProcedureDescription(int rep)
Inserts a repetition of
PR1-4: "Procedure description" at a specific index
|
ID |
insertProcedureCode(int rep)
Inserts a repetition of
PR1-3: "Procedure code" at a specific index
|
ID |
insertProcedureCodingMethod(int rep)
Inserts a repetition of
PR1-2: "Procedure coding method" at a specific index
|
ST |
insertProcedureDescription(int rep)
Inserts a repetition of
PR1-4: "Procedure description" at a specific index
|
CM_PRACTITIONER |
insertProcedurePractitioner(int rep)
Inserts a repetition of
PR1-12: "Procedure Practitioner" at a specific index
|
CM_PRACTITIONER |
removePr112_ProcedurePractitioner(int rep)
Removes a repetition of
PR1-12: "Procedure Practitioner" at a specific index
|
ID |
removePr12_ProcedureCodingMethod(int rep)
Removes a repetition of
PR1-2: "Procedure coding method" at a specific index
|
ID |
removePr13_ProcedureCode(int rep)
Removes a repetition of
PR1-3: "Procedure code" at a specific index
|
ST |
removePr14_ProcedureDescription(int rep)
Removes a repetition of
PR1-4: "Procedure description" at a specific index
|
ID |
removeProcedureCode(int rep)
Removes a repetition of
PR1-3: "Procedure code" at a specific index
|
ID |
removeProcedureCodingMethod(int rep)
Removes a repetition of
PR1-2: "Procedure coding method" at a specific index
|
ST |
removeProcedureDescription(int rep)
Removes a repetition of
PR1-4: "Procedure description" at a specific index
|
CM_PRACTITIONER |
removeProcedurePractitioner(int rep)
Removes a repetition of
PR1-12: "Procedure Practitioner" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public PR1(Group parent, ModelClassFactory factory)
public SI getSetIDProcedure()
public SI getPr11_SetIDProcedure()
public ID[] getProcedureCodingMethod()
public ID[] getPr12_ProcedureCodingMethod()
public int getProcedureCodingMethodReps()
public ID getProcedureCodingMethod(int rep)
rep
- The repetition index (0-indexed)public ID getPr12_ProcedureCodingMethod(int rep)
rep
- The repetition index (0-indexed)public int getPr12_ProcedureCodingMethodReps()
public ID insertProcedureCodingMethod(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 ID insertPr12_ProcedureCodingMethod(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 ID removeProcedureCodingMethod(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 ID removePr12_ProcedureCodingMethod(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 ID[] getProcedureCode()
public ID[] getPr13_ProcedureCode()
public int getProcedureCodeReps()
public ID getProcedureCode(int rep)
rep
- The repetition index (0-indexed)public ID getPr13_ProcedureCode(int rep)
rep
- The repetition index (0-indexed)public int getPr13_ProcedureCodeReps()
public ID insertProcedureCode(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 ID insertPr13_ProcedureCode(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 ID removeProcedureCode(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 ID removePr13_ProcedureCode(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 ST[] getProcedureDescription()
public ST[] getPr14_ProcedureDescription()
public int getProcedureDescriptionReps()
public ST getProcedureDescription(int rep)
rep
- The repetition index (0-indexed)public ST getPr14_ProcedureDescription(int rep)
rep
- The repetition index (0-indexed)public int getPr14_ProcedureDescriptionReps()
public ST insertProcedureDescription(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 ST insertPr14_ProcedureDescription(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 ST removeProcedureDescription(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 ST removePr14_ProcedureDescription(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 TS getProcedureDateTime()
public TS getPr15_ProcedureDateTime()
public ID getProcedureType()
public ID getPr16_ProcedureType()
public NM getProcedureMinutes()
public NM getPr17_ProcedureMinutes()
public CN getAnesthesiologist()
public CN getPr18_Anesthesiologist()
public ID getAnesthesiaCode()
public ID getPr19_AnesthesiaCode()
public NM getAnesthesiaMinutes()
public NM getPr110_AnesthesiaMinutes()
public CN getSurgeon()
public CN getPr111_Surgeon()
public CM_PRACTITIONER[] getProcedurePractitioner()
public CM_PRACTITIONER[] getPr112_ProcedurePractitioner()
public int getProcedurePractitionerReps()
public CM_PRACTITIONER getProcedurePractitioner(int rep)
rep
- The repetition index (0-indexed)public CM_PRACTITIONER getPr112_ProcedurePractitioner(int rep)
rep
- The repetition index (0-indexed)public int getPr112_ProcedurePractitionerReps()
public CM_PRACTITIONER insertProcedurePractitioner(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 CM_PRACTITIONER insertPr112_ProcedurePractitioner(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 CM_PRACTITIONER removeProcedurePractitioner(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 CM_PRACTITIONER removePr112_ProcedurePractitioner(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 ID getConsentCode()
public ID getPr113_ConsentCode()
public NM getProcedurePriority()
public NM getPr114_ProcedurePriority()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.