Package ca.uhn.hl7v2.model.v24.segment
Class FAC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.FAC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 FAC message segment (Facility). This segment has the following fields:
- FAC-1: Facility ID-FAC (EI)
- FAC-2: Facility Type (ID) optional
- FAC-3: Facility Address (XAD) repeating
- FAC-4: Facility Telecommunication (XTN)
- FAC-5: Contact Person (XCN) optional repeating
- FAC-6: Contact Title (ST) optional repeating
- FAC-7: Contact Address (XAD) optional repeating
- FAC-8: Contact Telecommunication (XTN) optional repeating
- FAC-9: Signature Authority (XCN) repeating
- FAC-10: Signature Authority Title (ST) optional
- FAC-11: Signature Authority Address (XAD) optional repeating
- FAC-12: Signature Authority Telecommunication (XTN) 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) XAD[]Returns all repetitions of Contact Address (FAC-7).getContactAddress(int rep) Returns a specific repetition of FAC-7: "Contact Address" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Address (FAC-7).XCN[]Returns all repetitions of Contact Person (FAC-5).getContactPerson(int rep) Returns a specific repetition of FAC-5: "Contact Person" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Person (FAC-5).XTN[]Returns all repetitions of Contact Telecommunication (FAC-8).getContactTelecommunication(int rep) Returns a specific repetition of FAC-8: "Contact Telecommunication" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Telecommunication (FAC-8).ST[]Returns all repetitions of Contact Title (FAC-6).getContactTitle(int rep) Returns a specific repetition of FAC-6: "Contact Title" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Title (FAC-6).Returns FAC-1: "Facility ID-FAC" - creates it if necessaryReturns FAC-10: "Signature Authority Title" - creates it if necessaryXAD[]Returns all repetitions of Signature Authority Address (FAC-11).getFac11_SignatureAuthorityAddress(int rep) Returns a specific repetition of FAC-11: "Signature Authority Address" - creates it if necessaryintReturns a count of the current number of repetitions of Signature Authority Address (FAC-11).Returns FAC-12: "Signature Authority Telecommunication" - creates it if necessaryReturns FAC-2: "Facility Type" - creates it if necessaryXAD[]Returns all repetitions of Facility Address (FAC-3).getFac3_FacilityAddress(int rep) Returns a specific repetition of FAC-3: "Facility Address" - creates it if necessaryintReturns a count of the current number of repetitions of Facility Address (FAC-3).Returns FAC-4: "Facility Telecommunication" - creates it if necessaryXCN[]Returns all repetitions of Contact Person (FAC-5).getFac5_ContactPerson(int rep) Returns a specific repetition of FAC-5: "Contact Person" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Person (FAC-5).ST[]Returns all repetitions of Contact Title (FAC-6).getFac6_ContactTitle(int rep) Returns a specific repetition of FAC-6: "Contact Title" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Title (FAC-6).XAD[]Returns all repetitions of Contact Address (FAC-7).getFac7_ContactAddress(int rep) Returns a specific repetition of FAC-7: "Contact Address" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Address (FAC-7).XTN[]Returns all repetitions of Contact Telecommunication (FAC-8).getFac8_ContactTelecommunication(int rep) Returns a specific repetition of FAC-8: "Contact Telecommunication" - creates it if necessaryintReturns a count of the current number of repetitions of Contact Telecommunication (FAC-8).XCN[]Returns all repetitions of Signature Authority (FAC-9).getFac9_SignatureAuthority(int rep) Returns a specific repetition of FAC-9: "Signature Authority" - creates it if necessaryintReturns a count of the current number of repetitions of Signature Authority (FAC-9).XAD[]Returns all repetitions of Facility Address (FAC-3).getFacilityAddress(int rep) Returns a specific repetition of FAC-3: "Facility Address" - creates it if necessaryintReturns a count of the current number of repetitions of Facility Address (FAC-3).Returns FAC-1: "Facility ID-FAC" - creates it if necessaryReturns FAC-4: "Facility Telecommunication" - creates it if necessaryReturns FAC-2: "Facility Type" - creates it if necessaryXCN[]Returns all repetitions of Signature Authority (FAC-9).getSignatureAuthority(int rep) Returns a specific repetition of FAC-9: "Signature Authority" - creates it if necessaryXAD[]Returns all repetitions of Signature Authority Address (FAC-11).getSignatureAuthorityAddress(int rep) Returns a specific repetition of FAC-11: "Signature Authority Address" - creates it if necessaryintReturns a count of the current number of repetitions of Signature Authority Address (FAC-11).intReturns a count of the current number of repetitions of Signature Authority (FAC-9).Returns FAC-12: "Signature Authority Telecommunication" - creates it if necessaryReturns FAC-10: "Signature Authority Title" - creates it if necessaryinsertContactAddress(int rep) Inserts a repetition of FAC-7: "Contact Address" at a specific indexinsertContactPerson(int rep) Inserts a repetition of FAC-5: "Contact Person" at a specific indexinsertContactTelecommunication(int rep) Inserts a repetition of FAC-8: "Contact Telecommunication" at a specific indexinsertContactTitle(int rep) Inserts a repetition of FAC-6: "Contact Title" at a specific indexInserts a repetition of FAC-11: "Signature Authority Address" at a specific indexinsertFac3_FacilityAddress(int rep) Inserts a repetition of FAC-3: "Facility Address" at a specific indexinsertFac5_ContactPerson(int rep) Inserts a repetition of FAC-5: "Contact Person" at a specific indexinsertFac6_ContactTitle(int rep) Inserts a repetition of FAC-6: "Contact Title" at a specific indexinsertFac7_ContactAddress(int rep) Inserts a repetition of FAC-7: "Contact Address" at a specific indexinsertFac8_ContactTelecommunication(int rep) Inserts a repetition of FAC-8: "Contact Telecommunication" at a specific indexinsertFac9_SignatureAuthority(int rep) Inserts a repetition of FAC-9: "Signature Authority" at a specific indexinsertFacilityAddress(int rep) Inserts a repetition of FAC-3: "Facility Address" at a specific indexinsertSignatureAuthority(int rep) Inserts a repetition of FAC-9: "Signature Authority" at a specific indexinsertSignatureAuthorityAddress(int rep) Inserts a repetition of FAC-11: "Signature Authority Address" at a specific indexremoveContactAddress(int rep) Removes a repetition of FAC-7: "Contact Address" at a specific indexremoveContactPerson(int rep) Removes a repetition of FAC-5: "Contact Person" at a specific indexremoveContactTelecommunication(int rep) Removes a repetition of FAC-8: "Contact Telecommunication" at a specific indexremoveContactTitle(int rep) Removes a repetition of FAC-6: "Contact Title" at a specific indexRemoves a repetition of FAC-11: "Signature Authority Address" at a specific indexremoveFac3_FacilityAddress(int rep) Removes a repetition of FAC-3: "Facility Address" at a specific indexremoveFac5_ContactPerson(int rep) Removes a repetition of FAC-5: "Contact Person" at a specific indexremoveFac6_ContactTitle(int rep) Removes a repetition of FAC-6: "Contact Title" at a specific indexremoveFac7_ContactAddress(int rep) Removes a repetition of FAC-7: "Contact Address" at a specific indexremoveFac8_ContactTelecommunication(int rep) Removes a repetition of FAC-8: "Contact Telecommunication" at a specific indexremoveFac9_SignatureAuthority(int rep) Removes a repetition of FAC-9: "Signature Authority" at a specific indexremoveFacilityAddress(int rep) Removes a repetition of FAC-3: "Facility Address" at a specific indexremoveSignatureAuthority(int rep) Removes a repetition of FAC-9: "Signature Authority" at a specific indexremoveSignatureAuthorityAddress(int rep) Removes a repetition of FAC-11: "Signature Authority Address" at a specific indexMethods 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
-
FAC
Creates a new FAC segment
-
-
Method Details
-
getFacilityIDFAC
Returns FAC-1: "Facility ID-FAC" - creates it if necessary -
getFac1_FacilityIDFAC
Returns FAC-1: "Facility ID-FAC" - creates it if necessary -
getFacilityType
Returns FAC-2: "Facility Type" - creates it if necessary -
getFac2_FacilityType
Returns FAC-2: "Facility Type" - creates it if necessary -
getFacilityAddress
Returns all repetitions of Facility Address (FAC-3). -
getFac3_FacilityAddress
Returns all repetitions of Facility Address (FAC-3). -
getFacilityAddressReps
Returns a count of the current number of repetitions of Facility Address (FAC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getFacilityAddress
Returns a specific repetition of FAC-3: "Facility Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac3_FacilityAddress
Returns a specific repetition of FAC-3: "Facility Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac3_FacilityAddressReps
Returns a count of the current number of repetitions of Facility Address (FAC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertFacilityAddress
Inserts a repetition of FAC-3: "Facility Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac3_FacilityAddress
Inserts a repetition of FAC-3: "Facility Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFacilityAddress
Removes a repetition of FAC-3: "Facility Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac3_FacilityAddress
Removes a repetition of FAC-3: "Facility Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getFacilityTelecommunication
Returns FAC-4: "Facility Telecommunication" - creates it if necessary -
getFac4_FacilityTelecommunication
Returns FAC-4: "Facility Telecommunication" - creates it if necessary -
getContactPerson
Returns all repetitions of Contact Person (FAC-5). -
getFac5_ContactPerson
Returns all repetitions of Contact Person (FAC-5). -
getContactPersonReps
Returns a count of the current number of repetitions of Contact Person (FAC-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactPerson
Returns a specific repetition of FAC-5: "Contact Person" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac5_ContactPerson
Returns a specific repetition of FAC-5: "Contact Person" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac5_ContactPersonReps
Returns a count of the current number of repetitions of Contact Person (FAC-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactPerson
Inserts a repetition of FAC-5: "Contact Person" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac5_ContactPerson
Inserts a repetition of FAC-5: "Contact Person" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeContactPerson
Removes a repetition of FAC-5: "Contact Person" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac5_ContactPerson
Removes a repetition of FAC-5: "Contact Person" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getContactTitle
Returns all repetitions of Contact Title (FAC-6). -
getFac6_ContactTitle
Returns all repetitions of Contact Title (FAC-6). -
getContactTitleReps
Returns a count of the current number of repetitions of Contact Title (FAC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactTitle
Returns a specific repetition of FAC-6: "Contact Title" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac6_ContactTitle
Returns a specific repetition of FAC-6: "Contact Title" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac6_ContactTitleReps
Returns a count of the current number of repetitions of Contact Title (FAC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactTitle
Inserts a repetition of FAC-6: "Contact Title" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac6_ContactTitle
Inserts a repetition of FAC-6: "Contact Title" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeContactTitle
Removes a repetition of FAC-6: "Contact Title" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac6_ContactTitle
Removes a repetition of FAC-6: "Contact Title" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getContactAddress
Returns all repetitions of Contact Address (FAC-7). -
getFac7_ContactAddress
Returns all repetitions of Contact Address (FAC-7). -
getContactAddressReps
Returns a count of the current number of repetitions of Contact Address (FAC-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactAddress
Returns a specific repetition of FAC-7: "Contact Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac7_ContactAddress
Returns a specific repetition of FAC-7: "Contact Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac7_ContactAddressReps
Returns a count of the current number of repetitions of Contact Address (FAC-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactAddress
Inserts a repetition of FAC-7: "Contact Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac7_ContactAddress
Inserts a repetition of FAC-7: "Contact Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeContactAddress
Removes a repetition of FAC-7: "Contact Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac7_ContactAddress
Removes a repetition of FAC-7: "Contact Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getContactTelecommunication
Returns all repetitions of Contact Telecommunication (FAC-8). -
getFac8_ContactTelecommunication
Returns all repetitions of Contact Telecommunication (FAC-8). -
getContactTelecommunicationReps
Returns a count of the current number of repetitions of Contact Telecommunication (FAC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContactTelecommunication
Returns a specific repetition of FAC-8: "Contact Telecommunication" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac8_ContactTelecommunication
Returns a specific repetition of FAC-8: "Contact Telecommunication" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac8_ContactTelecommunicationReps
Returns a count of the current number of repetitions of Contact Telecommunication (FAC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContactTelecommunication
Inserts a repetition of FAC-8: "Contact Telecommunication" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac8_ContactTelecommunication
Inserts a repetition of FAC-8: "Contact Telecommunication" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeContactTelecommunication
Removes a repetition of FAC-8: "Contact Telecommunication" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac8_ContactTelecommunication
Removes a repetition of FAC-8: "Contact Telecommunication" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSignatureAuthority
Returns all repetitions of Signature Authority (FAC-9). -
getFac9_SignatureAuthority
Returns all repetitions of Signature Authority (FAC-9). -
getSignatureAuthorityReps
Returns a count of the current number of repetitions of Signature Authority (FAC-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSignatureAuthority
Returns a specific repetition of FAC-9: "Signature Authority" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac9_SignatureAuthority
Returns a specific repetition of FAC-9: "Signature Authority" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac9_SignatureAuthorityReps
Returns a count of the current number of repetitions of Signature Authority (FAC-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSignatureAuthority
Inserts a repetition of FAC-9: "Signature Authority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac9_SignatureAuthority
Inserts a repetition of FAC-9: "Signature Authority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSignatureAuthority
Removes a repetition of FAC-9: "Signature Authority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac9_SignatureAuthority
Removes a repetition of FAC-9: "Signature Authority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSignatureAuthorityTitle
Returns FAC-10: "Signature Authority Title" - creates it if necessary -
getFac10_SignatureAuthorityTitle
Returns FAC-10: "Signature Authority Title" - creates it if necessary -
getSignatureAuthorityAddress
Returns all repetitions of Signature Authority Address (FAC-11). -
getFac11_SignatureAuthorityAddress
Returns all repetitions of Signature Authority Address (FAC-11). -
getSignatureAuthorityAddressReps
Returns a count of the current number of repetitions of Signature Authority Address (FAC-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSignatureAuthorityAddress
Returns a specific repetition of FAC-11: "Signature Authority Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac11_SignatureAuthorityAddress
Returns a specific repetition of FAC-11: "Signature Authority Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac11_SignatureAuthorityAddressReps
Returns a count of the current number of repetitions of Signature Authority Address (FAC-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSignatureAuthorityAddress
Inserts a repetition of FAC-11: "Signature Authority Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertFac11_SignatureAuthorityAddress
Inserts a repetition of FAC-11: "Signature Authority Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSignatureAuthorityAddress
Removes a repetition of FAC-11: "Signature Authority Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeFac11_SignatureAuthorityAddress
Removes a repetition of FAC-11: "Signature Authority Address" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSignatureAuthorityTelecommunication
Returns FAC-12: "Signature Authority Telecommunication" - creates it if necessary -
getFac12_SignatureAuthorityTelecommunication
Returns FAC-12: "Signature Authority Telecommunication" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-