Package ca.uhn.hl7v2.model.v23.segment
Class FAC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.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 (EI) repeating
- FAC-2: Facility Type (ID) optional
- FAC-3: Facility Address (XAD)
- 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)
- FAC-10: Signature Authority Title (ST) optional
- FAC-11: Signature Authority Address (XAD) optional
- 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).EI[]Returns all repetitions of Facility ID (FAC-1).getFac1_FacilityID(int rep) Returns a specific repetition of FAC-1: "Facility ID" - creates it if necessaryintReturns a count of the current number of repetitions of Facility ID (FAC-1).Returns FAC-10: "Signature Authority Title" - creates it if necessaryReturns FAC-11: "Signature Authority Address" - creates it if necessaryReturns FAC-12: "Signature Authority Telecommunication" - creates it if necessaryReturns FAC-2: "Facility Type" - creates it if necessaryReturns FAC-3: "Facility Address" - creates it if necessaryReturns 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).Returns FAC-9: "Signature Authority" - creates it if necessaryReturns FAC-3: "Facility Address" - creates it if necessaryEI[]Returns all repetitions of Facility ID (FAC-1).getFacilityID(int rep) Returns a specific repetition of FAC-1: "Facility ID" - creates it if necessaryintReturns a count of the current number of repetitions of Facility ID (FAC-1).Returns FAC-4: "Facility Telecommunication" - creates it if necessaryReturns FAC-2: "Facility Type" - creates it if necessaryReturns FAC-9: "Signature Authority" - creates it if necessaryReturns FAC-11: "Signature Authority Address" - creates it if necessaryReturns 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 indexinsertFac1_FacilityID(int rep) Inserts a repetition of FAC-1: "Facility ID" 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 indexinsertFacilityID(int rep) Inserts a repetition of FAC-1: "Facility ID" 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 indexremoveFac1_FacilityID(int rep) Removes a repetition of FAC-1: "Facility ID" 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 indexremoveFacilityID(int rep) Removes a repetition of FAC-1: "Facility ID" 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
-
getFacilityID
Returns all repetitions of Facility ID (FAC-1). -
getFac1_FacilityID
Returns all repetitions of Facility ID (FAC-1). -
getFacilityIDReps
Returns a count of the current number of repetitions of Facility ID (FAC-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getFacilityID
Returns a specific repetition of FAC-1: "Facility ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac1_FacilityID
Returns a specific repetition of FAC-1: "Facility ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getFac1_FacilityIDReps
Returns a count of the current number of repetitions of Facility ID (FAC-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertFacilityID
Inserts a repetition of FAC-1: "Facility ID" 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)
-
insertFac1_FacilityID
Inserts a repetition of FAC-1: "Facility ID" 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)
-
removeFacilityID
Removes a repetition of FAC-1: "Facility ID" 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)
-
removeFac1_FacilityID
Removes a repetition of FAC-1: "Facility ID" 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)
-
getFacilityType
Returns FAC-2: "Facility Type" - creates it if necessary -
getFac2_FacilityType
Returns FAC-2: "Facility Type" - creates it if necessary -
getFacilityAddress
Returns FAC-3: "Facility Address" - creates it if necessary -
getFac3_FacilityAddress
Returns FAC-3: "Facility Address" - creates it if necessary -
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 FAC-9: "Signature Authority" - creates it if necessary -
getFac9_SignatureAuthority
Returns FAC-9: "Signature Authority" - creates it if necessary -
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 FAC-11: "Signature Authority Address" - creates it if necessary -
getFac11_SignatureAuthorityAddress
Returns FAC-11: "Signature Authority Address" - creates it if necessary -
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
-