Package ca.uhn.hl7v2.model.v23.segment
Class SCH
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.SCH
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 SCH message segment (Schedule Activity Information). This segment has the following fields:
- SCH-1: Placer Appointment ID (EI)
- SCH-2: Filler Appointment ID (EI) optional
- SCH-3: Occurrence Number (NM) optional
- SCH-4: Placer Group Number (EI) optional
- SCH-5: Schedule ID (CE) optional
- SCH-6: Event Reason (CE)
- SCH-7: Appointment Reason (CE) optional
- SCH-8: Appointment Type (CE) optional
- SCH-9: Appointment Duration (NM) optional
- SCH-10: Appointment Duration Units (CE) optional
- SCH-11: Appointment Timing Quantity (TQ) repeating
- SCH-12: Placer Contact Person (XCN) optional
- SCH-13: Placer Contact Phone Number (XTN) optional
- SCH-14: Placer Contact Address (XAD) optional
- SCH-15: Placer Contact Location (PL) optional
- SCH-16: Filler Contact Person (XCN)
- SCH-17: Filler Contact Phone Number (XTN) optional
- SCH-18: Filler Contact Address (XAD) optional
- SCH-19: Filler Contact Location (PL) optional
- SCH-20: Entered By Person (XCN)
- SCH-21: Entered By Phone Number (XTN) optional repeating
- SCH-22: Entered By Location (PL) optional
- SCH-23: Parent Placer Appointment ID (EI) optional
- SCH-24: Parent Filler Appointment ID (EI) optional
- SCH-25: Filler Status Code (CE) 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) Returns SCH-9: "Appointment Duration" - creates it if necessaryReturns SCH-10: "Appointment Duration Units" - creates it if necessaryReturns SCH-7: "Appointment Reason" - creates it if necessaryTQ[]Returns all repetitions of Appointment Timing Quantity (SCH-11).getAppointmentTimingQuantity(int rep) Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessaryintReturns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11).Returns SCH-8: "Appointment Type" - creates it if necessaryReturns SCH-22: "Entered By Location" - creates it if necessaryReturns SCH-20: "Entered By Person" - creates it if necessaryXTN[]Returns all repetitions of Entered By Phone Number (SCH-21).getEnteredByPhoneNumber(int rep) Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessaryintReturns a count of the current number of repetitions of Entered By Phone Number (SCH-21).Returns SCH-6: "Event Reason" - creates it if necessaryReturns SCH-2: "Filler Appointment ID" - creates it if necessaryReturns SCH-18: "Filler Contact Address" - creates it if necessaryReturns SCH-19: "Filler Contact Location" - creates it if necessaryReturns SCH-16: "Filler Contact Person" - creates it if necessaryReturns SCH-17: "Filler Contact Phone Number" - creates it if necessaryReturns SCH-25: "Filler Status Code" - creates it if necessaryReturns SCH-3: "Occurrence Number" - creates it if necessaryReturns SCH-24: "Parent Filler Appointment ID" - creates it if necessaryReturns SCH-23: "Parent Placer Appointment ID" - creates it if necessaryReturns SCH-1: "Placer Appointment ID" - creates it if necessaryReturns SCH-14: "Placer Contact Address" - creates it if necessaryReturns SCH-15: "Placer Contact Location" - creates it if necessaryReturns SCH-12: "Placer Contact Person" - creates it if necessaryReturns SCH-13: "Placer Contact Phone Number" - creates it if necessaryReturns SCH-4: "Placer Group Number" - creates it if necessaryReturns SCH-1: "Placer Appointment ID" - creates it if necessaryReturns SCH-10: "Appointment Duration Units" - creates it if necessaryTQ[]Returns all repetitions of Appointment Timing Quantity (SCH-11).getSch11_AppointmentTimingQuantity(int rep) Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessaryintReturns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11).Returns SCH-12: "Placer Contact Person" - creates it if necessaryReturns SCH-13: "Placer Contact Phone Number" - creates it if necessaryReturns SCH-14: "Placer Contact Address" - creates it if necessaryReturns SCH-15: "Placer Contact Location" - creates it if necessaryReturns SCH-16: "Filler Contact Person" - creates it if necessaryReturns SCH-17: "Filler Contact Phone Number" - creates it if necessaryReturns SCH-18: "Filler Contact Address" - creates it if necessaryReturns SCH-19: "Filler Contact Location" - creates it if necessaryReturns SCH-2: "Filler Appointment ID" - creates it if necessaryReturns SCH-20: "Entered By Person" - creates it if necessaryXTN[]Returns all repetitions of Entered By Phone Number (SCH-21).getSch21_EnteredByPhoneNumber(int rep) Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessaryintReturns a count of the current number of repetitions of Entered By Phone Number (SCH-21).Returns SCH-22: "Entered By Location" - creates it if necessaryReturns SCH-23: "Parent Placer Appointment ID" - creates it if necessaryReturns SCH-24: "Parent Filler Appointment ID" - creates it if necessaryReturns SCH-25: "Filler Status Code" - creates it if necessaryReturns SCH-3: "Occurrence Number" - creates it if necessaryReturns SCH-4: "Placer Group Number" - creates it if necessaryReturns SCH-5: "Schedule ID" - creates it if necessaryReturns SCH-6: "Event Reason" - creates it if necessaryReturns SCH-7: "Appointment Reason" - creates it if necessaryReturns SCH-8: "Appointment Type" - creates it if necessaryReturns SCH-9: "Appointment Duration" - creates it if necessaryReturns SCH-5: "Schedule ID" - creates it if necessaryinsertAppointmentTimingQuantity(int rep) Inserts a repetition of SCH-11: "Appointment Timing Quantity" at a specific indexinsertEnteredByPhoneNumber(int rep) Inserts a repetition of SCH-21: "Entered By Phone Number" at a specific indexInserts a repetition of SCH-11: "Appointment Timing Quantity" at a specific indexinsertSch21_EnteredByPhoneNumber(int rep) Inserts a repetition of SCH-21: "Entered By Phone Number" at a specific indexremoveAppointmentTimingQuantity(int rep) Removes a repetition of SCH-11: "Appointment Timing Quantity" at a specific indexremoveEnteredByPhoneNumber(int rep) Removes a repetition of SCH-21: "Entered By Phone Number" at a specific indexRemoves a repetition of SCH-11: "Appointment Timing Quantity" at a specific indexremoveSch21_EnteredByPhoneNumber(int rep) Removes a repetition of SCH-21: "Entered By Phone Number" 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
-
SCH
Creates a new SCH segment
-
-
Method Details
-
getPlacerAppointmentID
Returns SCH-1: "Placer Appointment ID" - creates it if necessary -
getSch1_PlacerAppointmentID
Returns SCH-1: "Placer Appointment ID" - creates it if necessary -
getFillerAppointmentID
Returns SCH-2: "Filler Appointment ID" - creates it if necessary -
getSch2_FillerAppointmentID
Returns SCH-2: "Filler Appointment ID" - creates it if necessary -
getOccurrenceNumber
Returns SCH-3: "Occurrence Number" - creates it if necessary -
getSch3_OccurrenceNumber
Returns SCH-3: "Occurrence Number" - creates it if necessary -
getPlacerGroupNumber
Returns SCH-4: "Placer Group Number" - creates it if necessary -
getSch4_PlacerGroupNumber
Returns SCH-4: "Placer Group Number" - creates it if necessary -
getScheduleID
Returns SCH-5: "Schedule ID" - creates it if necessary -
getSch5_ScheduleID
Returns SCH-5: "Schedule ID" - creates it if necessary -
getEventReason
Returns SCH-6: "Event Reason" - creates it if necessary -
getSch6_EventReason
Returns SCH-6: "Event Reason" - creates it if necessary -
getAppointmentReason
Returns SCH-7: "Appointment Reason" - creates it if necessary -
getSch7_AppointmentReason
Returns SCH-7: "Appointment Reason" - creates it if necessary -
getAppointmentType
Returns SCH-8: "Appointment Type" - creates it if necessary -
getSch8_AppointmentType
Returns SCH-8: "Appointment Type" - creates it if necessary -
getAppointmentDuration
Returns SCH-9: "Appointment Duration" - creates it if necessary -
getSch9_AppointmentDuration
Returns SCH-9: "Appointment Duration" - creates it if necessary -
getAppointmentDurationUnits
Returns SCH-10: "Appointment Duration Units" - creates it if necessary -
getSch10_AppointmentDurationUnits
Returns SCH-10: "Appointment Duration Units" - creates it if necessary -
getAppointmentTimingQuantity
Returns all repetitions of Appointment Timing Quantity (SCH-11). -
getSch11_AppointmentTimingQuantity
Returns all repetitions of Appointment Timing Quantity (SCH-11). -
getAppointmentTimingQuantityReps
Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAppointmentTimingQuantity
Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSch11_AppointmentTimingQuantity
Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSch11_AppointmentTimingQuantityReps
Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAppointmentTimingQuantity
Inserts a repetition of SCH-11: "Appointment Timing Quantity" 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)
-
insertSch11_AppointmentTimingQuantity
Inserts a repetition of SCH-11: "Appointment Timing Quantity" 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)
-
removeAppointmentTimingQuantity
Removes a repetition of SCH-11: "Appointment Timing Quantity" 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)
-
removeSch11_AppointmentTimingQuantity
Removes a repetition of SCH-11: "Appointment Timing Quantity" 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)
-
getPlacerContactPerson
Returns SCH-12: "Placer Contact Person" - creates it if necessary -
getSch12_PlacerContactPerson
Returns SCH-12: "Placer Contact Person" - creates it if necessary -
getPlacerContactPhoneNumber
Returns SCH-13: "Placer Contact Phone Number" - creates it if necessary -
getSch13_PlacerContactPhoneNumber
Returns SCH-13: "Placer Contact Phone Number" - creates it if necessary -
getPlacerContactAddress
Returns SCH-14: "Placer Contact Address" - creates it if necessary -
getSch14_PlacerContactAddress
Returns SCH-14: "Placer Contact Address" - creates it if necessary -
getPlacerContactLocation
Returns SCH-15: "Placer Contact Location" - creates it if necessary -
getSch15_PlacerContactLocation
Returns SCH-15: "Placer Contact Location" - creates it if necessary -
getFillerContactPerson
Returns SCH-16: "Filler Contact Person" - creates it if necessary -
getSch16_FillerContactPerson
Returns SCH-16: "Filler Contact Person" - creates it if necessary -
getFillerContactPhoneNumber
Returns SCH-17: "Filler Contact Phone Number" - creates it if necessary -
getSch17_FillerContactPhoneNumber
Returns SCH-17: "Filler Contact Phone Number" - creates it if necessary -
getFillerContactAddress
Returns SCH-18: "Filler Contact Address" - creates it if necessary -
getSch18_FillerContactAddress
Returns SCH-18: "Filler Contact Address" - creates it if necessary -
getFillerContactLocation
Returns SCH-19: "Filler Contact Location" - creates it if necessary -
getSch19_FillerContactLocation
Returns SCH-19: "Filler Contact Location" - creates it if necessary -
getEnteredByPerson
Returns SCH-20: "Entered By Person" - creates it if necessary -
getSch20_EnteredByPerson
Returns SCH-20: "Entered By Person" - creates it if necessary -
getEnteredByPhoneNumber
Returns all repetitions of Entered By Phone Number (SCH-21). -
getSch21_EnteredByPhoneNumber
Returns all repetitions of Entered By Phone Number (SCH-21). -
getEnteredByPhoneNumberReps
Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getEnteredByPhoneNumber
Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSch21_EnteredByPhoneNumber
Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getSch21_EnteredByPhoneNumberReps
Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertEnteredByPhoneNumber
Inserts a repetition of SCH-21: "Entered By Phone Number" 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)
-
insertSch21_EnteredByPhoneNumber
Inserts a repetition of SCH-21: "Entered By Phone Number" 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)
-
removeEnteredByPhoneNumber
Removes a repetition of SCH-21: "Entered By Phone Number" 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)
-
removeSch21_EnteredByPhoneNumber
Removes a repetition of SCH-21: "Entered By Phone Number" 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)
-
getEnteredByLocation
Returns SCH-22: "Entered By Location" - creates it if necessary -
getSch22_EnteredByLocation
Returns SCH-22: "Entered By Location" - creates it if necessary -
getParentPlacerAppointmentID
Returns SCH-23: "Parent Placer Appointment ID" - creates it if necessary -
getSch23_ParentPlacerAppointmentID
Returns SCH-23: "Parent Placer Appointment ID" - creates it if necessary -
getParentFillerAppointmentID
Returns SCH-24: "Parent Filler Appointment ID" - creates it if necessary -
getSch24_ParentFillerAppointmentID
Returns SCH-24: "Parent Filler Appointment ID" - creates it if necessary -
getFillerStatusCode
Returns SCH-25: "Filler Status Code" - creates it if necessary -
getSch25_FillerStatusCode
Returns SCH-25: "Filler Status Code" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-