Package ca.uhn.hl7v2.model.v24.segment
Class OM7
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.OM7
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 OM7 message segment (Additional Basic Attributes). This segment has the following fields:
- OM7-1: Sequence Number - Test/ Observation Master File (NM)
- OM7-2: Universal Service Identifier (CE)
- OM7-3: Category Identifier (CE) optional repeating
- OM7-4: Category Description (TX) optional
- OM7-5: Category Synonym (ST) optional repeating
- OM7-6: Effective Test/Service Start Date/Time (TS) optional
- OM7-7: Effective Test/Service End Date/Time (TS) optional
- OM7-8: Test/Service Default Duration Quantity (NM) optional
- OM7-9: Test/Service Default Duration Units (CE) optional
- OM7-10: Test/Service Default Frequency (IS) optional
- OM7-11: Consent Indicator (ID) optional
- OM7-12: Consent Identifier (CE) optional
- OM7-13: Consent Effective Start Date/Time (TS) optional
- OM7-14: Consent Effective End Date/Time (TS) optional
- OM7-15: Consent Interval Quantity (NM) optional
- OM7-16: Consent Interval Units (CE) optional
- OM7-17: Consent Waiting Period Quantity (NM) optional
- OM7-18: Consent Waiting Period Units (CE) optional
- OM7-19: Effective Date/Time of Change (TS) optional
- OM7-20: Entered By (XCN) optional
- OM7-21: Orderable-at Location (PL) optional repeating
- OM7-22: Formulary Status (IS) optional
- OM7-23: Special Order Indicator (ID) optional
- OM7-24: Primary Key Value - CDM (CE) optional repeating
- 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 OM7-4: "Category Description" - creates it if necessaryCE[]Returns all repetitions of Category Identifier (OM7-3).getCategoryIdentifier(int rep) Returns a specific repetition of OM7-3: "Category Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Category Identifier (OM7-3).ST[]Returns all repetitions of Category Synonym (OM7-5).getCategorySynonym(int rep) Returns a specific repetition of OM7-5: "Category Synonym" - creates it if necessaryintReturns a count of the current number of repetitions of Category Synonym (OM7-5).Returns OM7-14: "Consent Effective End Date/Time" - creates it if necessaryReturns OM7-13: "Consent Effective Start Date/Time" - creates it if necessaryReturns OM7-12: "Consent Identifier" - creates it if necessaryReturns OM7-11: "Consent Indicator" - creates it if necessaryReturns OM7-15: "Consent Interval Quantity" - creates it if necessaryReturns OM7-16: "Consent Interval Units" - creates it if necessaryReturns OM7-17: "Consent Waiting Period Quantity" - creates it if necessaryReturns OM7-18: "Consent Waiting Period Units" - creates it if necessaryReturns OM7-19: "Effective Date/Time of Change" - creates it if necessaryReturns OM7-7: "Effective Test/Service End Date/Time" - creates it if necessaryReturns OM7-6: "Effective Test/Service Start Date/Time" - creates it if necessaryReturns OM7-20: "Entered By" - creates it if necessaryReturns OM7-22: "Formulary Status" - creates it if necessaryReturns OM7-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM7-10: "Test/Service Default Frequency" - creates it if necessaryReturns OM7-11: "Consent Indicator" - creates it if necessaryReturns OM7-12: "Consent Identifier" - creates it if necessaryReturns OM7-13: "Consent Effective Start Date/Time" - creates it if necessaryReturns OM7-14: "Consent Effective End Date/Time" - creates it if necessaryReturns OM7-15: "Consent Interval Quantity" - creates it if necessaryReturns OM7-16: "Consent Interval Units" - creates it if necessaryReturns OM7-17: "Consent Waiting Period Quantity" - creates it if necessaryReturns OM7-18: "Consent Waiting Period Units" - creates it if necessaryReturns OM7-19: "Effective Date/Time of Change" - creates it if necessaryReturns OM7-2: "Universal Service Identifier" - creates it if necessaryReturns OM7-20: "Entered By" - creates it if necessaryPL[]Returns all repetitions of Orderable-at Location (OM7-21).getOm721_OrderableAtLocation(int rep) Returns a specific repetition of OM7-21: "Orderable-at Location" - creates it if necessaryintReturns a count of the current number of repetitions of Orderable-at Location (OM7-21).Returns OM7-22: "Formulary Status" - creates it if necessaryReturns OM7-23: "Special Order Indicator" - creates it if necessaryCE[]Returns all repetitions of Primary Key Value - CDM (OM7-24).getOm724_PrimaryKeyValueCDM(int rep) Returns a specific repetition of OM7-24: "Primary Key Value - CDM" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value - CDM (OM7-24).CE[]Returns all repetitions of Category Identifier (OM7-3).getOm73_CategoryIdentifier(int rep) Returns a specific repetition of OM7-3: "Category Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of Category Identifier (OM7-3).Returns OM7-4: "Category Description" - creates it if necessaryST[]Returns all repetitions of Category Synonym (OM7-5).getOm75_CategorySynonym(int rep) Returns a specific repetition of OM7-5: "Category Synonym" - creates it if necessaryintReturns a count of the current number of repetitions of Category Synonym (OM7-5).Returns OM7-6: "Effective Test/Service Start Date/Time" - creates it if necessaryReturns OM7-7: "Effective Test/Service End Date/Time" - creates it if necessaryReturns OM7-8: "Test/Service Default Duration Quantity" - creates it if necessaryReturns OM7-9: "Test/Service Default Duration Units" - creates it if necessaryPL[]Returns all repetitions of Orderable-at Location (OM7-21).getOrderableAtLocation(int rep) Returns a specific repetition of OM7-21: "Orderable-at Location" - creates it if necessaryintReturns a count of the current number of repetitions of Orderable-at Location (OM7-21).CE[]Returns all repetitions of Primary Key Value - CDM (OM7-24).getPrimaryKeyValueCDM(int rep) Returns a specific repetition of OM7-24: "Primary Key Value - CDM" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value - CDM (OM7-24).Returns OM7-1: "Sequence Number - Test/ Observation Master File" - creates it if necessaryReturns OM7-23: "Special Order Indicator" - creates it if necessaryReturns OM7-8: "Test/Service Default Duration Quantity" - creates it if necessaryReturns OM7-9: "Test/Service Default Duration Units" - creates it if necessaryReturns OM7-10: "Test/Service Default Frequency" - creates it if necessaryReturns OM7-2: "Universal Service Identifier" - creates it if necessaryinsertCategoryIdentifier(int rep) Inserts a repetition of OM7-3: "Category Identifier" at a specific indexinsertCategorySynonym(int rep) Inserts a repetition of OM7-5: "Category Synonym" at a specific indexinsertOm721_OrderableAtLocation(int rep) Inserts a repetition of OM7-21: "Orderable-at Location" at a specific indexinsertOm724_PrimaryKeyValueCDM(int rep) Inserts a repetition of OM7-24: "Primary Key Value - CDM" at a specific indexinsertOm73_CategoryIdentifier(int rep) Inserts a repetition of OM7-3: "Category Identifier" at a specific indexinsertOm75_CategorySynonym(int rep) Inserts a repetition of OM7-5: "Category Synonym" at a specific indexinsertOrderableAtLocation(int rep) Inserts a repetition of OM7-21: "Orderable-at Location" at a specific indexinsertPrimaryKeyValueCDM(int rep) Inserts a repetition of OM7-24: "Primary Key Value - CDM" at a specific indexremoveCategoryIdentifier(int rep) Removes a repetition of OM7-3: "Category Identifier" at a specific indexremoveCategorySynonym(int rep) Removes a repetition of OM7-5: "Category Synonym" at a specific indexremoveOm721_OrderableAtLocation(int rep) Removes a repetition of OM7-21: "Orderable-at Location" at a specific indexremoveOm724_PrimaryKeyValueCDM(int rep) Removes a repetition of OM7-24: "Primary Key Value - CDM" at a specific indexremoveOm73_CategoryIdentifier(int rep) Removes a repetition of OM7-3: "Category Identifier" at a specific indexremoveOm75_CategorySynonym(int rep) Removes a repetition of OM7-5: "Category Synonym" at a specific indexremoveOrderableAtLocation(int rep) Removes a repetition of OM7-21: "Orderable-at Location" at a specific indexremovePrimaryKeyValueCDM(int rep) Removes a repetition of OM7-24: "Primary Key Value - CDM" 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
-
OM7
Creates a new OM7 segment
-
-
Method Details
-
getSequenceNumberTestObservationMasterFile
Returns OM7-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getOm71_SequenceNumberTestObservationMasterFile
Returns OM7-1: "Sequence Number - Test/ Observation Master File" - creates it if necessary -
getUniversalServiceIdentifier
Returns OM7-2: "Universal Service Identifier" - creates it if necessary -
getOm72_UniversalServiceIdentifier
Returns OM7-2: "Universal Service Identifier" - creates it if necessary -
getCategoryIdentifier
Returns all repetitions of Category Identifier (OM7-3). -
getOm73_CategoryIdentifier
Returns all repetitions of Category Identifier (OM7-3). -
getCategoryIdentifierReps
Returns a count of the current number of repetitions of Category Identifier (OM7-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getCategoryIdentifier
Returns a specific repetition of OM7-3: "Category Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm73_CategoryIdentifier
Returns a specific repetition of OM7-3: "Category Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm73_CategoryIdentifierReps
Returns a count of the current number of repetitions of Category Identifier (OM7-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertCategoryIdentifier
Inserts a repetition of OM7-3: "Category Identifier" 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)
-
insertOm73_CategoryIdentifier
Inserts a repetition of OM7-3: "Category Identifier" 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)
-
removeCategoryIdentifier
Removes a repetition of OM7-3: "Category Identifier" 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)
-
removeOm73_CategoryIdentifier
Removes a repetition of OM7-3: "Category Identifier" 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)
-
getCategoryDescription
Returns OM7-4: "Category Description" - creates it if necessary -
getOm74_CategoryDescription
Returns OM7-4: "Category Description" - creates it if necessary -
getCategorySynonym
Returns all repetitions of Category Synonym (OM7-5). -
getOm75_CategorySynonym
Returns all repetitions of Category Synonym (OM7-5). -
getCategorySynonymReps
Returns a count of the current number of repetitions of Category Synonym (OM7-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getCategorySynonym
Returns a specific repetition of OM7-5: "Category Synonym" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm75_CategorySynonym
Returns a specific repetition of OM7-5: "Category Synonym" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm75_CategorySynonymReps
Returns a count of the current number of repetitions of Category Synonym (OM7-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertCategorySynonym
Inserts a repetition of OM7-5: "Category Synonym" 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)
-
insertOm75_CategorySynonym
Inserts a repetition of OM7-5: "Category Synonym" 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)
-
removeCategorySynonym
Removes a repetition of OM7-5: "Category Synonym" 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)
-
removeOm75_CategorySynonym
Removes a repetition of OM7-5: "Category Synonym" 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)
-
getEffectiveTestServiceStartDateTime
Returns OM7-6: "Effective Test/Service Start Date/Time" - creates it if necessary -
getOm76_EffectiveTestServiceStartDateTime
Returns OM7-6: "Effective Test/Service Start Date/Time" - creates it if necessary -
getEffectiveTestServiceEndDateTime
Returns OM7-7: "Effective Test/Service End Date/Time" - creates it if necessary -
getOm77_EffectiveTestServiceEndDateTime
Returns OM7-7: "Effective Test/Service End Date/Time" - creates it if necessary -
getTestServiceDefaultDurationQuantity
Returns OM7-8: "Test/Service Default Duration Quantity" - creates it if necessary -
getOm78_TestServiceDefaultDurationQuantity
Returns OM7-8: "Test/Service Default Duration Quantity" - creates it if necessary -
getTestServiceDefaultDurationUnits
Returns OM7-9: "Test/Service Default Duration Units" - creates it if necessary -
getOm79_TestServiceDefaultDurationUnits
Returns OM7-9: "Test/Service Default Duration Units" - creates it if necessary -
getTestServiceDefaultFrequency
Returns OM7-10: "Test/Service Default Frequency" - creates it if necessary -
getOm710_TestServiceDefaultFrequency
Returns OM7-10: "Test/Service Default Frequency" - creates it if necessary -
getConsentIndicator
Returns OM7-11: "Consent Indicator" - creates it if necessary -
getOm711_ConsentIndicator
Returns OM7-11: "Consent Indicator" - creates it if necessary -
getConsentIdentifier
Returns OM7-12: "Consent Identifier" - creates it if necessary -
getOm712_ConsentIdentifier
Returns OM7-12: "Consent Identifier" - creates it if necessary -
getConsentEffectiveStartDateTime
Returns OM7-13: "Consent Effective Start Date/Time" - creates it if necessary -
getOm713_ConsentEffectiveStartDateTime
Returns OM7-13: "Consent Effective Start Date/Time" - creates it if necessary -
getConsentEffectiveEndDateTime
Returns OM7-14: "Consent Effective End Date/Time" - creates it if necessary -
getOm714_ConsentEffectiveEndDateTime
Returns OM7-14: "Consent Effective End Date/Time" - creates it if necessary -
getConsentIntervalQuantity
Returns OM7-15: "Consent Interval Quantity" - creates it if necessary -
getOm715_ConsentIntervalQuantity
Returns OM7-15: "Consent Interval Quantity" - creates it if necessary -
getConsentIntervalUnits
Returns OM7-16: "Consent Interval Units" - creates it if necessary -
getOm716_ConsentIntervalUnits
Returns OM7-16: "Consent Interval Units" - creates it if necessary -
getConsentWaitingPeriodQuantity
Returns OM7-17: "Consent Waiting Period Quantity" - creates it if necessary -
getOm717_ConsentWaitingPeriodQuantity
Returns OM7-17: "Consent Waiting Period Quantity" - creates it if necessary -
getConsentWaitingPeriodUnits
Returns OM7-18: "Consent Waiting Period Units" - creates it if necessary -
getOm718_ConsentWaitingPeriodUnits
Returns OM7-18: "Consent Waiting Period Units" - creates it if necessary -
getEffectiveDateTimeOfChange
Returns OM7-19: "Effective Date/Time of Change" - creates it if necessary -
getOm719_EffectiveDateTimeOfChange
Returns OM7-19: "Effective Date/Time of Change" - creates it if necessary -
getEnteredBy
Returns OM7-20: "Entered By" - creates it if necessary -
getOm720_EnteredBy
Returns OM7-20: "Entered By" - creates it if necessary -
getOrderableAtLocation
Returns all repetitions of Orderable-at Location (OM7-21). -
getOm721_OrderableAtLocation
Returns all repetitions of Orderable-at Location (OM7-21). -
getOrderableAtLocationReps
Returns a count of the current number of repetitions of Orderable-at Location (OM7-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOrderableAtLocation
Returns a specific repetition of OM7-21: "Orderable-at Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm721_OrderableAtLocation
Returns a specific repetition of OM7-21: "Orderable-at Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm721_OrderableAtLocationReps
Returns a count of the current number of repetitions of Orderable-at Location (OM7-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOrderableAtLocation
Inserts a repetition of OM7-21: "Orderable-at Location" 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)
-
insertOm721_OrderableAtLocation
Inserts a repetition of OM7-21: "Orderable-at Location" 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)
-
removeOrderableAtLocation
Removes a repetition of OM7-21: "Orderable-at Location" 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)
-
removeOm721_OrderableAtLocation
Removes a repetition of OM7-21: "Orderable-at Location" 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)
-
getFormularyStatus
Returns OM7-22: "Formulary Status" - creates it if necessary -
getOm722_FormularyStatus
Returns OM7-22: "Formulary Status" - creates it if necessary -
getSpecialOrderIndicator
Returns OM7-23: "Special Order Indicator" - creates it if necessary -
getOm723_SpecialOrderIndicator
Returns OM7-23: "Special Order Indicator" - creates it if necessary -
getPrimaryKeyValueCDM
Returns all repetitions of Primary Key Value - CDM (OM7-24). -
getOm724_PrimaryKeyValueCDM
Returns all repetitions of Primary Key Value - CDM (OM7-24). -
getPrimaryKeyValueCDMReps
Returns a count of the current number of repetitions of Primary Key Value - CDM (OM7-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrimaryKeyValueCDM
Returns a specific repetition of OM7-24: "Primary Key Value - CDM" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm724_PrimaryKeyValueCDM
Returns a specific repetition of OM7-24: "Primary Key Value - CDM" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOm724_PrimaryKeyValueCDMReps
Returns a count of the current number of repetitions of Primary Key Value - CDM (OM7-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrimaryKeyValueCDM
Inserts a repetition of OM7-24: "Primary Key Value - CDM" 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)
-
insertOm724_PrimaryKeyValueCDM
Inserts a repetition of OM7-24: "Primary Key Value - CDM" 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)
-
removePrimaryKeyValueCDM
Removes a repetition of OM7-24: "Primary Key Value - CDM" 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)
-
removeOm724_PrimaryKeyValueCDM
Removes a repetition of OM7-24: "Primary Key Value - CDM" 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-