Data type CQ in FHIR

How the components of data type CQ (Composite Quantity With Units) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of CQ in HL7 v2 2.8
Maps
CodeDecimalQuantityUnsignedInt

To Code1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
CQ.2Units
CWE$valuecode

To Decimal1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
CQ.1Quantity
NM$valuedecimal

To Quantity2 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
CQ.1Quantity
NMvaluedecimal
CQ.2Units
CWEunitstring

To UnsignedInt1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
CQ.1Quantity
NM$valueunsignedInt
Value /convert to minutes based on CQ.2/