Package ca.uhn.hl7v2.model.v24.segment
Class CDM
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.CDM
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 CDM message segment (Charge Description Master). This segment has the following fields:
- CDM-1: Primary Key Value - CDM (CE)
- CDM-2: Charge Code Alias (CE) optional repeating
- CDM-3: Charge Description Short (ST)
- CDM-4: Charge Description Long (ST) optional
- CDM-5: Description Override Indicator (IS) optional
- CDM-6: Exploding Charges (CE) optional repeating
- CDM-7: Procedure Code (CE) optional repeating
- CDM-8: Active/Inactive Flag (ID) optional
- CDM-9: Inventory Number (CE) optional repeating
- CDM-10: Resource Load (NM) optional
- CDM-11: Contract Number (CK) optional repeating
- CDM-12: Contract Organization (XON) optional repeating
- CDM-13: Room Fee Indicator (ID) 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 CDM-8: "Active/Inactive Flag" - creates it if necessaryReturns CDM-1: "Primary Key Value - CDM" - creates it if necessaryReturns CDM-10: "Resource Load" - creates it if necessaryCK[]Returns all repetitions of Contract Number (CDM-11).getCdm11_ContractNumber(int rep) Returns a specific repetition of CDM-11: "Contract Number" - creates it if necessaryintReturns a count of the current number of repetitions of Contract Number (CDM-11).XON[]Returns all repetitions of Contract Organization (CDM-12).getCdm12_ContractOrganization(int rep) Returns a specific repetition of CDM-12: "Contract Organization" - creates it if necessaryintReturns a count of the current number of repetitions of Contract Organization (CDM-12).Returns CDM-13: "Room Fee Indicator" - creates it if necessaryCE[]Returns all repetitions of Charge Code Alias (CDM-2).getCdm2_ChargeCodeAlias(int rep) Returns a specific repetition of CDM-2: "Charge Code Alias" - creates it if necessaryintReturns a count of the current number of repetitions of Charge Code Alias (CDM-2).Returns CDM-3: "Charge Description Short" - creates it if necessaryReturns CDM-4: "Charge Description Long" - creates it if necessaryReturns CDM-5: "Description Override Indicator" - creates it if necessaryCE[]Returns all repetitions of Exploding Charges (CDM-6).getCdm6_ExplodingCharges(int rep) Returns a specific repetition of CDM-6: "Exploding Charges" - creates it if necessaryintReturns a count of the current number of repetitions of Exploding Charges (CDM-6).CE[]Returns all repetitions of Procedure Code (CDM-7).getCdm7_ProcedureCode(int rep) Returns a specific repetition of CDM-7: "Procedure Code" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Code (CDM-7).Returns CDM-8: "Active/Inactive Flag" - creates it if necessaryCE[]Returns all repetitions of Inventory Number (CDM-9).getCdm9_InventoryNumber(int rep) Returns a specific repetition of CDM-9: "Inventory Number" - creates it if necessaryintReturns a count of the current number of repetitions of Inventory Number (CDM-9).CE[]Returns all repetitions of Charge Code Alias (CDM-2).getChargeCodeAlias(int rep) Returns a specific repetition of CDM-2: "Charge Code Alias" - creates it if necessaryintReturns a count of the current number of repetitions of Charge Code Alias (CDM-2).Returns CDM-4: "Charge Description Long" - creates it if necessaryReturns CDM-3: "Charge Description Short" - creates it if necessaryCK[]Returns all repetitions of Contract Number (CDM-11).getContractNumber(int rep) Returns a specific repetition of CDM-11: "Contract Number" - creates it if necessaryintReturns a count of the current number of repetitions of Contract Number (CDM-11).XON[]Returns all repetitions of Contract Organization (CDM-12).getContractOrganization(int rep) Returns a specific repetition of CDM-12: "Contract Organization" - creates it if necessaryintReturns a count of the current number of repetitions of Contract Organization (CDM-12).Returns CDM-5: "Description Override Indicator" - creates it if necessaryCE[]Returns all repetitions of Exploding Charges (CDM-6).getExplodingCharges(int rep) Returns a specific repetition of CDM-6: "Exploding Charges" - creates it if necessaryintReturns a count of the current number of repetitions of Exploding Charges (CDM-6).CE[]Returns all repetitions of Inventory Number (CDM-9).getInventoryNumber(int rep) Returns a specific repetition of CDM-9: "Inventory Number" - creates it if necessaryintReturns a count of the current number of repetitions of Inventory Number (CDM-9).Returns CDM-1: "Primary Key Value - CDM" - creates it if necessaryCE[]Returns all repetitions of Procedure Code (CDM-7).getProcedureCode(int rep) Returns a specific repetition of CDM-7: "Procedure Code" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Code (CDM-7).Returns CDM-10: "Resource Load" - creates it if necessaryReturns CDM-13: "Room Fee Indicator" - creates it if necessaryinsertCdm11_ContractNumber(int rep) Inserts a repetition of CDM-11: "Contract Number" at a specific indexinsertCdm12_ContractOrganization(int rep) Inserts a repetition of CDM-12: "Contract Organization" at a specific indexinsertCdm2_ChargeCodeAlias(int rep) Inserts a repetition of CDM-2: "Charge Code Alias" at a specific indexinsertCdm6_ExplodingCharges(int rep) Inserts a repetition of CDM-6: "Exploding Charges" at a specific indexinsertCdm7_ProcedureCode(int rep) Inserts a repetition of CDM-7: "Procedure Code" at a specific indexinsertCdm9_InventoryNumber(int rep) Inserts a repetition of CDM-9: "Inventory Number" at a specific indexinsertChargeCodeAlias(int rep) Inserts a repetition of CDM-2: "Charge Code Alias" at a specific indexinsertContractNumber(int rep) Inserts a repetition of CDM-11: "Contract Number" at a specific indexinsertContractOrganization(int rep) Inserts a repetition of CDM-12: "Contract Organization" at a specific indexinsertExplodingCharges(int rep) Inserts a repetition of CDM-6: "Exploding Charges" at a specific indexinsertInventoryNumber(int rep) Inserts a repetition of CDM-9: "Inventory Number" at a specific indexinsertProcedureCode(int rep) Inserts a repetition of CDM-7: "Procedure Code" at a specific indexremoveCdm11_ContractNumber(int rep) Removes a repetition of CDM-11: "Contract Number" at a specific indexremoveCdm12_ContractOrganization(int rep) Removes a repetition of CDM-12: "Contract Organization" at a specific indexremoveCdm2_ChargeCodeAlias(int rep) Removes a repetition of CDM-2: "Charge Code Alias" at a specific indexremoveCdm6_ExplodingCharges(int rep) Removes a repetition of CDM-6: "Exploding Charges" at a specific indexremoveCdm7_ProcedureCode(int rep) Removes a repetition of CDM-7: "Procedure Code" at a specific indexremoveCdm9_InventoryNumber(int rep) Removes a repetition of CDM-9: "Inventory Number" at a specific indexremoveChargeCodeAlias(int rep) Removes a repetition of CDM-2: "Charge Code Alias" at a specific indexremoveContractNumber(int rep) Removes a repetition of CDM-11: "Contract Number" at a specific indexremoveContractOrganization(int rep) Removes a repetition of CDM-12: "Contract Organization" at a specific indexremoveExplodingCharges(int rep) Removes a repetition of CDM-6: "Exploding Charges" at a specific indexremoveInventoryNumber(int rep) Removes a repetition of CDM-9: "Inventory Number" at a specific indexremoveProcedureCode(int rep) Removes a repetition of CDM-7: "Procedure Code" 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
-
CDM
Creates a new CDM segment
-
-
Method Details
-
getPrimaryKeyValueCDM
Returns CDM-1: "Primary Key Value - CDM" - creates it if necessary -
getCdm1_PrimaryKeyValueCDM
Returns CDM-1: "Primary Key Value - CDM" - creates it if necessary -
getChargeCodeAlias
Returns all repetitions of Charge Code Alias (CDM-2). -
getCdm2_ChargeCodeAlias
Returns all repetitions of Charge Code Alias (CDM-2). -
getChargeCodeAliasReps
Returns a count of the current number of repetitions of Charge Code Alias (CDM-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getChargeCodeAlias
Returns a specific repetition of CDM-2: "Charge Code Alias" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm2_ChargeCodeAlias
Returns a specific repetition of CDM-2: "Charge Code Alias" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm2_ChargeCodeAliasReps
Returns a count of the current number of repetitions of Charge Code Alias (CDM-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertChargeCodeAlias
Inserts a repetition of CDM-2: "Charge Code Alias" 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)
-
insertCdm2_ChargeCodeAlias
Inserts a repetition of CDM-2: "Charge Code Alias" 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)
-
removeChargeCodeAlias
Removes a repetition of CDM-2: "Charge Code Alias" 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)
-
removeCdm2_ChargeCodeAlias
Removes a repetition of CDM-2: "Charge Code Alias" 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)
-
getChargeDescriptionShort
Returns CDM-3: "Charge Description Short" - creates it if necessary -
getCdm3_ChargeDescriptionShort
Returns CDM-3: "Charge Description Short" - creates it if necessary -
getChargeDescriptionLong
Returns CDM-4: "Charge Description Long" - creates it if necessary -
getCdm4_ChargeDescriptionLong
Returns CDM-4: "Charge Description Long" - creates it if necessary -
getDescriptionOverrideIndicator
Returns CDM-5: "Description Override Indicator" - creates it if necessary -
getCdm5_DescriptionOverrideIndicator
Returns CDM-5: "Description Override Indicator" - creates it if necessary -
getExplodingCharges
Returns all repetitions of Exploding Charges (CDM-6). -
getCdm6_ExplodingCharges
Returns all repetitions of Exploding Charges (CDM-6). -
getExplodingChargesReps
Returns a count of the current number of repetitions of Exploding Charges (CDM-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getExplodingCharges
Returns a specific repetition of CDM-6: "Exploding Charges" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm6_ExplodingCharges
Returns a specific repetition of CDM-6: "Exploding Charges" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm6_ExplodingChargesReps
Returns a count of the current number of repetitions of Exploding Charges (CDM-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertExplodingCharges
Inserts a repetition of CDM-6: "Exploding Charges" 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)
-
insertCdm6_ExplodingCharges
Inserts a repetition of CDM-6: "Exploding Charges" 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)
-
removeExplodingCharges
Removes a repetition of CDM-6: "Exploding Charges" 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)
-
removeCdm6_ExplodingCharges
Removes a repetition of CDM-6: "Exploding Charges" 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)
-
getProcedureCode
Returns all repetitions of Procedure Code (CDM-7). -
getCdm7_ProcedureCode
Returns all repetitions of Procedure Code (CDM-7). -
getProcedureCodeReps
Returns a count of the current number of repetitions of Procedure Code (CDM-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedureCode
Returns a specific repetition of CDM-7: "Procedure Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm7_ProcedureCode
Returns a specific repetition of CDM-7: "Procedure Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm7_ProcedureCodeReps
Returns a count of the current number of repetitions of Procedure Code (CDM-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedureCode
Inserts a repetition of CDM-7: "Procedure Code" 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)
-
insertCdm7_ProcedureCode
Inserts a repetition of CDM-7: "Procedure Code" 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)
-
removeProcedureCode
Removes a repetition of CDM-7: "Procedure Code" 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)
-
removeCdm7_ProcedureCode
Removes a repetition of CDM-7: "Procedure Code" 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)
-
getActiveInactiveFlag
Returns CDM-8: "Active/Inactive Flag" - creates it if necessary -
getCdm8_ActiveInactiveFlag
Returns CDM-8: "Active/Inactive Flag" - creates it if necessary -
getInventoryNumber
Returns all repetitions of Inventory Number (CDM-9). -
getCdm9_InventoryNumber
Returns all repetitions of Inventory Number (CDM-9). -
getInventoryNumberReps
Returns a count of the current number of repetitions of Inventory Number (CDM-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getInventoryNumber
Returns a specific repetition of CDM-9: "Inventory Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm9_InventoryNumber
Returns a specific repetition of CDM-9: "Inventory Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm9_InventoryNumberReps
Returns a count of the current number of repetitions of Inventory Number (CDM-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertInventoryNumber
Inserts a repetition of CDM-9: "Inventory 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)
-
insertCdm9_InventoryNumber
Inserts a repetition of CDM-9: "Inventory 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)
-
removeInventoryNumber
Removes a repetition of CDM-9: "Inventory 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)
-
removeCdm9_InventoryNumber
Removes a repetition of CDM-9: "Inventory 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)
-
getResourceLoad
Returns CDM-10: "Resource Load" - creates it if necessary -
getCdm10_ResourceLoad
Returns CDM-10: "Resource Load" - creates it if necessary -
getContractNumber
Returns all repetitions of Contract Number (CDM-11). -
getCdm11_ContractNumber
Returns all repetitions of Contract Number (CDM-11). -
getContractNumberReps
Returns a count of the current number of repetitions of Contract Number (CDM-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContractNumber
Returns a specific repetition of CDM-11: "Contract Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm11_ContractNumber
Returns a specific repetition of CDM-11: "Contract Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm11_ContractNumberReps
Returns a count of the current number of repetitions of Contract Number (CDM-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContractNumber
Inserts a repetition of CDM-11: "Contract 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)
-
insertCdm11_ContractNumber
Inserts a repetition of CDM-11: "Contract 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)
-
removeContractNumber
Removes a repetition of CDM-11: "Contract 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)
-
removeCdm11_ContractNumber
Removes a repetition of CDM-11: "Contract 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)
-
getContractOrganization
Returns all repetitions of Contract Organization (CDM-12). -
getCdm12_ContractOrganization
Returns all repetitions of Contract Organization (CDM-12). -
getContractOrganizationReps
Returns a count of the current number of repetitions of Contract Organization (CDM-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getContractOrganization
Returns a specific repetition of CDM-12: "Contract Organization" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm12_ContractOrganization
Returns a specific repetition of CDM-12: "Contract Organization" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getCdm12_ContractOrganizationReps
Returns a count of the current number of repetitions of Contract Organization (CDM-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertContractOrganization
Inserts a repetition of CDM-12: "Contract Organization" 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)
-
insertCdm12_ContractOrganization
Inserts a repetition of CDM-12: "Contract Organization" 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)
-
removeContractOrganization
Removes a repetition of CDM-12: "Contract Organization" 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)
-
removeCdm12_ContractOrganization
Removes a repetition of CDM-12: "Contract Organization" 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)
-
getRoomFeeIndicator
Returns CDM-13: "Room Fee Indicator" - creates it if necessary -
getCdm13_RoomFeeIndicator
Returns CDM-13: "Room Fee Indicator" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-