public class ROL extends AbstractSegment
Represents an HL7 ROL message segment (Role). This segment has the following fields:
log
Constructor and Description |
---|
ROL(Group parent,
ModelClassFactory factory)
Creates a new ROL segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID |
getActionCode()
Returns
ROL-2: "Action Code" - creates it if necessary
|
XAD[] |
getOfficeHomeAddressBirthplace()
Returns all repetitions of Office/Home Address/Birthplace (ROL-11).
|
XAD |
getOfficeHomeAddressBirthplace(int rep)
Returns a specific repetition of
ROL-11: "Office/Home Address/Birthplace" - creates it if necessary
|
int |
getOfficeHomeAddressBirthplaceReps()
Returns a count of the current number of repetitions of Office/Home Address/Birthplace (ROL-11).
|
XON |
getOrganization()
Returns
ROL-14: "Organization" - creates it if necessary
|
CWE |
getOrganizationUnitType()
Returns
ROL-10: "Organization Unit Type" - creates it if necessary
|
PL |
getPersonSLocation()
Returns
ROL-13: "Person's Location" - creates it if necessary
|
XTN[] |
getPhone()
Returns all repetitions of Phone (ROL-12).
|
XTN |
getPhone(int rep)
Returns a specific repetition of
ROL-12: "Phone" - creates it if necessary
|
int |
getPhoneReps()
Returns a count of the current number of repetitions of Phone (ROL-12).
|
CWE[] |
getProviderType()
Returns all repetitions of Provider Type (ROL-9).
|
CWE |
getProviderType(int rep)
Returns a specific repetition of
ROL-9: "Provider Type" - creates it if necessary
|
int |
getProviderTypeReps()
Returns a count of the current number of repetitions of Provider Type (ROL-9).
|
EI |
getRol1_RoleInstanceID()
Returns
ROL-1: "Role Instance ID" - creates it if necessary
|
CWE |
getRol10_OrganizationUnitType()
Returns
ROL-10: "Organization Unit Type" - creates it if necessary
|
XAD[] |
getRol11_OfficeHomeAddressBirthplace()
Returns all repetitions of Office/Home Address/Birthplace (ROL-11).
|
XAD |
getRol11_OfficeHomeAddressBirthplace(int rep)
Returns a specific repetition of
ROL-11: "Office/Home Address/Birthplace" - creates it if necessary
|
int |
getRol11_OfficeHomeAddressBirthplaceReps()
Returns a count of the current number of repetitions of Office/Home Address/Birthplace (ROL-11).
|
XTN[] |
getRol12_Phone()
Returns all repetitions of Phone (ROL-12).
|
XTN |
getRol12_Phone(int rep)
Returns a specific repetition of
ROL-12: "Phone" - creates it if necessary
|
int |
getRol12_PhoneReps()
Returns a count of the current number of repetitions of Phone (ROL-12).
|
PL |
getRol13_PersonSLocation()
Returns
ROL-13: "Person's Location" - creates it if necessary
|
XON |
getRol14_Organization()
Returns
ROL-14: "Organization" - creates it if necessary
|
ID |
getRol2_ActionCode()
Returns
ROL-2: "Action Code" - creates it if necessary
|
CWE |
getRol3_RoleROL()
Returns
ROL-3: "Role-ROL" - creates it if necessary
|
XCN[] |
getRol4_RolePerson()
Returns all repetitions of Role Person (ROL-4).
|
XCN |
getRol4_RolePerson(int rep)
Returns a specific repetition of
ROL-4: "Role Person" - creates it if necessary
|
int |
getRol4_RolePersonReps()
Returns a count of the current number of repetitions of Role Person (ROL-4).
|
DTM |
getRol5_RoleBeginDateTime()
Returns
ROL-5: "Role Begin Date/Time" - creates it if necessary
|
DTM |
getRol6_RoleEndDateTime()
Returns
ROL-6: "Role End Date/Time" - creates it if necessary
|
CWE |
getRol7_RoleDuration()
Returns
ROL-7: "Role Duration" - creates it if necessary
|
CWE |
getRol8_RoleActionReason()
Returns
ROL-8: "Role Action Reason" - creates it if necessary
|
CWE[] |
getRol9_ProviderType()
Returns all repetitions of Provider Type (ROL-9).
|
CWE |
getRol9_ProviderType(int rep)
Returns a specific repetition of
ROL-9: "Provider Type" - creates it if necessary
|
int |
getRol9_ProviderTypeReps()
Returns a count of the current number of repetitions of Provider Type (ROL-9).
|
CWE |
getRoleActionReason()
Returns
ROL-8: "Role Action Reason" - creates it if necessary
|
DTM |
getRoleBeginDateTime()
Returns
ROL-5: "Role Begin Date/Time" - creates it if necessary
|
CWE |
getRoleDuration()
Returns
ROL-7: "Role Duration" - creates it if necessary
|
DTM |
getRoleEndDateTime()
Returns
ROL-6: "Role End Date/Time" - creates it if necessary
|
EI |
getRoleInstanceID()
Returns
ROL-1: "Role Instance ID" - creates it if necessary
|
XCN[] |
getRolePerson()
Returns all repetitions of Role Person (ROL-4).
|
XCN |
getRolePerson(int rep)
Returns a specific repetition of
ROL-4: "Role Person" - creates it if necessary
|
int |
getRolePersonReps()
Returns a count of the current number of repetitions of Role Person (ROL-4).
|
CWE |
getRoleROL()
Returns
ROL-3: "Role-ROL" - creates it if necessary
|
XAD |
insertOfficeHomeAddressBirthplace(int rep)
Inserts a repetition of
ROL-11: "Office/Home Address/Birthplace" at a specific index
|
XTN |
insertPhone(int rep)
Inserts a repetition of
ROL-12: "Phone" at a specific index
|
CWE |
insertProviderType(int rep)
Inserts a repetition of
ROL-9: "Provider Type" at a specific index
|
XAD |
insertRol11_OfficeHomeAddressBirthplace(int rep)
Inserts a repetition of
ROL-11: "Office/Home Address/Birthplace" at a specific index
|
XTN |
insertRol12_Phone(int rep)
Inserts a repetition of
ROL-12: "Phone" at a specific index
|
XCN |
insertRol4_RolePerson(int rep)
Inserts a repetition of
ROL-4: "Role Person" at a specific index
|
CWE |
insertRol9_ProviderType(int rep)
Inserts a repetition of
ROL-9: "Provider Type" at a specific index
|
XCN |
insertRolePerson(int rep)
Inserts a repetition of
ROL-4: "Role Person" at a specific index
|
XAD |
removeOfficeHomeAddressBirthplace(int rep)
Removes a repetition of
ROL-11: "Office/Home Address/Birthplace" at a specific index
|
XTN |
removePhone(int rep)
Removes a repetition of
ROL-12: "Phone" at a specific index
|
CWE |
removeProviderType(int rep)
Removes a repetition of
ROL-9: "Provider Type" at a specific index
|
XAD |
removeRol11_OfficeHomeAddressBirthplace(int rep)
Removes a repetition of
ROL-11: "Office/Home Address/Birthplace" at a specific index
|
XTN |
removeRol12_Phone(int rep)
Removes a repetition of
ROL-12: "Phone" at a specific index
|
XCN |
removeRol4_RolePerson(int rep)
Removes a repetition of
ROL-4: "Role Person" at a specific index
|
CWE |
removeRol9_ProviderType(int rep)
Removes a repetition of
ROL-9: "Provider Type" at a specific index
|
XCN |
removeRolePerson(int rep)
Removes a repetition of
ROL-4: "Role Person" 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 ROL(Group parent, ModelClassFactory factory)
public EI getRoleInstanceID()
public EI getRol1_RoleInstanceID()
public ID getActionCode()
public ID getRol2_ActionCode()
public CWE getRoleROL()
public CWE getRol3_RoleROL()
public XCN[] getRolePerson()
public XCN[] getRol4_RolePerson()
public int getRolePersonReps()
public XCN getRolePerson(int rep)
rep
- The repetition index (0-indexed)public XCN getRol4_RolePerson(int rep)
rep
- The repetition index (0-indexed)public int getRol4_RolePersonReps()
public XCN insertRolePerson(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 XCN insertRol4_RolePerson(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 XCN removeRolePerson(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 XCN removeRol4_RolePerson(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 DTM getRoleBeginDateTime()
public DTM getRol5_RoleBeginDateTime()
public DTM getRoleEndDateTime()
public DTM getRol6_RoleEndDateTime()
public CWE getRoleDuration()
public CWE getRol7_RoleDuration()
public CWE getRoleActionReason()
public CWE getRol8_RoleActionReason()
public CWE[] getProviderType()
public CWE[] getRol9_ProviderType()
public int getProviderTypeReps()
public CWE getProviderType(int rep)
rep
- The repetition index (0-indexed)public CWE getRol9_ProviderType(int rep)
rep
- The repetition index (0-indexed)public int getRol9_ProviderTypeReps()
public CWE insertProviderType(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 CWE insertRol9_ProviderType(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 CWE removeProviderType(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 CWE removeRol9_ProviderType(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 CWE getOrganizationUnitType()
public CWE getRol10_OrganizationUnitType()
public XAD[] getOfficeHomeAddressBirthplace()
public XAD[] getRol11_OfficeHomeAddressBirthplace()
public int getOfficeHomeAddressBirthplaceReps()
public XAD getOfficeHomeAddressBirthplace(int rep)
rep
- The repetition index (0-indexed)public XAD getRol11_OfficeHomeAddressBirthplace(int rep)
rep
- The repetition index (0-indexed)public int getRol11_OfficeHomeAddressBirthplaceReps()
public XAD insertOfficeHomeAddressBirthplace(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 XAD insertRol11_OfficeHomeAddressBirthplace(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 XAD removeOfficeHomeAddressBirthplace(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 XAD removeRol11_OfficeHomeAddressBirthplace(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 XTN[] getRol12_Phone()
public int getPhoneReps()
public XTN getPhone(int rep)
rep
- The repetition index (0-indexed)public XTN getRol12_Phone(int rep)
rep
- The repetition index (0-indexed)public int getRol12_PhoneReps()
public XTN insertPhone(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 XTN insertRol12_Phone(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 XTN removePhone(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 XTN removeRol12_Phone(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 PL getPersonSLocation()
public PL getRol13_PersonSLocation()
public XON getOrganization()
public XON getRol14_Organization()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.