Data type SN in FHIR

How the components of data type SN (Structured Numeric) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of SN in HL7 v2 2.8
Maps
QuantityRangeRatio

To Quantity2 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
SN.1Comparator
STcomparatorcode
SN.2Num1
NMvaluedecimal

To Range2 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
SN.2Num1
NMlow.valuedecimal
SN.4Num2
NMhigh.valuedecimal

To Ratio3 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
SN.1Comparator
STnumerator.comparator
If IF NOT EQUAL TO "="
SN.2Num1
NMnumerator.valuedecimal
SN.4Num2
NMdenominator.valuedecimal