HL7 V2HL7 FHIR
NameDefinitionDataTypeNameDefinitionData TypeComments
CP.01.00 - PriceThe only required component; usually containing a decimal point. Note that each component of the MO data type (Section 2.A.41, "MO - money") is a subcomponent here.MOMoneyAn amount of economic utility in some recognized currencyThere doesn't seem to be a single data type that includes all the concepts in CP The Money amount may also be represented as a Quantity, using the MoneyQuantity constraint sqty-1 Presumably the mappings would be Quantity.value and Quantity.code
CP.01.01 - Price : QuantityThe first component is a quantity.NMMoney.valueNumerical value (with implicit precision)decimal
CP.01.02 - Price : DenominationThe second component is the denomination in which the quantity is expressed. The values for the denomination component are the three-character codes specified in ISO-4217IDMoney.curencyISO 4217 Currency Codecode
CP.02.00 - Price TypeA coded value, data type ID. IDcode
CP.03.00 - From ValueThe number specifying the lower limit or boundary of the range. This component, together with the CP.4 component, specifies the "price range". NMRange.low.valueNumerical value (with implicit precision)SimpleQuanitity.decimal
CP.04.00 - To ValueThe number specifying the high limit or boundary of the range.NMRange.high.valueNumerical value (with implicit precision)SimpleQuanitity.decimal
CP.05.00 - Range UnitsThis component describes the units associated with the range, e.g., seconds, minutes, hours, days, quantity (i.e., count). As of v2.7 the Externally-defined Unified Code for Units of Measure (UCUM) case sensitive code is the required code for units of measure. Refer to the externally-defined table "Unified Code for Units of Measure" (UCUM) [http://aurora.rg.iupui.edu/UCUM] for valid values. Local codes may be transmitted in addition to UCUM codes. This component is required if CP.3 From Value and/or CP.4 To Value are present. CWERange.x.codeCoded form of the unitSimpleQuanitity.codethe code data doesn't give all the data elements as CWE the type of unit would be represented in both the low and high range elements - this could lead to a scenario where the units are different in the two ends of the range As well, SimpleQuantit.code is not allowed to repeat, so the alternate IDs could not be transformed from CWE to code
CP.05.01 - Range Units : IdentifierSequence of characters (the code) that uniquely identifies the item being referenced by the <text>. Differ-ent coding schemes will have different elements here.STRange.x.codeCoded form of the unitSimpleQuanitity.code
CP.05.02 - Range Units : TextName or description of the item in question. E.g., myocardial infarction or X-ray impression. Its data type is string (ST).STn/a
CP.05.03 - Range Units : Name of Coding SystemEach coding system is assigned a unique identifier. This component will serve to identify the coding scheme being used in the identifier component. The combination of the identifier and name of coding system components will be a unique code for a data item. STn/a
CP.05.04 - Range Units : Alternate IdentifierSequence of characters (the code) that uniquely identifies the item being referenced by the <text>. Differ-ent coding schemes will have different elements here.STn/a
CP.05.05 - Range Units : Alternate TextName or description of the item in question. E.g., myocardial infarction or X-ray impression. Its data type is string (ST).STn/a
CP.05.06 - Range Units : Alternate Name of Coding SystemEach coding system is assigned a unique identifier. This component will serve to identify the coding scheme being used in the identifier component. The combination of the identifier and name of coding system components will be a unique code for a data item. STn/a
CP.05.07 - Range Units : Coding System Version IDThis component carries the version for the coding system identified by components 1-3. If CWE.3 is populated with a value other than HL7nnnn or is of table type user-defined, version ID must be valued with an actual version ID. If CWE.3 is populated with a value of HL7nnnn and nnnn is of table type HL7, version ID may have an actual value or it may be absent. If version ID is absent, it will be interpreted to have the same value as the HL7 version number in the message header. STn/a
CP.05.08 - Range Units : Alternate Coding System Version IDThis component carries the version for the coding system identified by components 4-6. Analogous To CWE.7 - Coding System Version ID.STn/a
CP.05.09 - Range Units : Original TextThe text as seen and/or selected by the user who entered the data. Original text can be used in a structured user interface to capture what the user saw as a representation of the code on the data input screen, or in a situation where the user dictates or directly enters text, it is the text entered or uttered by the user. In a situation where the code is assigned sometime after the text was entered, original text is the text or phrase used as the basis for assigning the code.STRange.x.unitUnit representationSimpleQuanitity.string
CP.05.10 - Range Units : Second Alternate IdentifierA sequence of characters that uniquely identifies a second alternate code. Analogous to CWE.1- Identifier. STn/a
CP.05.11 - Range Units : Second Alternate TextThe descriptive or textual name of the alternate identifier. Analogous to CWE.2 - Text. See usage note in section introduction.STn/a
CP.05.12 - Range Units : Name of Second Alternate Coding SystemIdentifies the coding scheme being used in the alternate identifier component. Analogous to CWE.3 Name of Coding System. See usage note in section introduction. As of v2.7 this component is required when CWE.10 is populated and CWE.20 is not populated. Both CWE.6 and CWE.17 may be populated. Receivers should not identify a code based on its position within the tuples (Identifier, Alternate Identifier, or Second Alternate Identifier) or position within a repeating field. Instead, the receiver should always examine the coding System as specified in CWE.12 and/or CWE.20, the "Coding System" component or the "Coding System OID", for the tuple. IDn/a
CP.05.13 - Range Units : Second Alternate Coding System Version IDThis component carries the version for the coding system identified by components 10-12. Analogous to CWE.7 - Coding System Version ID.STn/a
CP.05.14 - Range Units : Coding System OIDThis component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.3. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined code systems the OID registered in the HL7 OID registry SHALL be used. This component is required when CWE.1 is populated and CWE.3 is not populated. Both CWE.3 and CWE.14 may be populated. STRange.x.systemSystem that defines coded unit formSimpleQuanitity.uri
CP.05.15 - Range Units : Value Set OIDThis component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.1 is obtained. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined value sets, the OID registered in the HL7 OID registry SHALL be used. A value set may or need not be present irrespective of other fields. Note that if a code is provided, the meaning of the code must come from the definition of the code in the code system. The meaning of the code SHALL NOT depend on the value set. Applications SHALL NOT be required to interpret the code in light of the valueSet, and they SHALL NOT reject an instance because of the presence or absence of any or a particular value set/ value set version ID. STn/a
CP.05.16 - Range Units : Value Set Version IDThis component carries the version for the value set identified by CWE.15. The version is a date. The date is the date/time that the value set being used was published. Value set version ID is required if CWE.15 is populated. DTMn/a
CP.05.17 - Range Units : Alternate Coding System OIDThis component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.6. Analogous to CWE.14 Coding System OID. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined code systems the OID registered in the HL7 OID registry SHALL be used. This component is required when CWE.4 is populated and CWE.6 is not populated. Both CWE.6 and CWE.17 may be populated. STn/a
CP.05.18 - Range Units : Alternate Value Set OIDThis component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.4 is obtained. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined value sets, the OID registered in the HL7 OID registry SHALL be used. A value set may or need not be present irrespective of other fields. Note that if a code is provided, the meaning of the code must come from the definition of the code in the code system. The meaning of the code SHALL NOT depend on the value set. Applications SHALL NOT be required to interpret the code in light of the valueSet, and they SHALL NOT reject an instance because of the presence or absence of any or a particular value set/ value set version ID. STn/a
CP.05.19 - Range Units : Alternate Value Set Version IDThis component carries the version for the value set identified by CWE.18. The version is a date. The date is the date/time that the value set being used was published. Value set version ID is required if CWE.18 is populated. DTMn/a
CP.05.20 - Range Units : Second Alternate Coding System OIDThis component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.12. Analogous to CWE.14 - Coding System OID. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined code systems the OID registered in the HL7 OID registry SHALL be used. This component is required when CWE.10 is populated and CWE.12 is not populated. Both CWE.12 and CWE.20 may be populated. STn/a
CP.05.21 - Range Units : Second Alternate Value Set OIDThis component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.10 is obtained. The value for this component is 2.16.840.1.113883.12.#### where "####" is to be replaced by the HL7 table number in the case of an HL7 defined or user defined table. For externally defined value sets, the OID registered in the HL7 OID registry SHALL be used. A value set may or need not be present irrespective of other fields. Note that if a code is provided, the meaning of the code must come from the definition of the code in the code system. The meaning of the code SHALL NOT depend on the value set. Applications SHALL NOT be required to interpret the code in light of the valueSet, and they SHALL NOT reject an instance because of the presence or absence of any or a particular value set/ value set version ID. STn/a
CP.05.22 - Range Units : Second Alternate Value Set Version IDThis component carries the version for the value set identified by CWE.21. The version is a date. The date is the date/time that the value set being used was published. Value set version ID is required if CWE.21 is populated. DTMn/a
CP.06.00 - Range TypeIDcodecode