This template is used when the LOINC term involves a component and is relative to something else as a ratio, such as a reference point or another component.
Note that Ratio concepts are given a parent of 540131010000107 |Ratio observable (observable entity)| to group them together.
This template is documented in Confluence here: Quality observable with Component and Relative to for LOINC Ratios (observable entity) - v1.0
The java implementation of this template can be found: https://github.com/IHTSDO/reporting-engine/blob/develop/script-engine/src/main/java/org/ihtsdo/termserver/scripting/pipeline/loinc/LoincTemplatedConceptWithRelative.java
LOINC Properties currently supported: "MRto", "Ratio", "SRto"
=== 540131010000107 |Ratio observable (observable entity)| : { [S1] 246093002 |Component (attribute)| -> 1166006 |Titanium (substance)|, [S1] 370130000 |Property (attribute)| -> 118545004 |Mass ratio (property) (qualifier value)|, [S1] 370132008 |Scale type (attribute)| -> 30766002 |Quantitative (qualifier value)|, [S1] 370134009 |Time aspect (attribute)| -> 123029007 |Single point in time (qualifier value)|, [S1] 704325000 |Relative to (attribute)| -> 15373003 |Creatinine (substance)|, [S1] 704327008 |Direct site (attribute)| -> 122575003 |Urine specimen (specimen)| }
Template slots are filled by taking the preferred term of the relevant value from the model and making the initial character lower case, if allowed by the case significance setting of the preferred term.
[PROPERTY] of [COMPONENT] + SEPARATOR + [DIVISORS] in [SYSTEM] at [TIME] by [METHOD] using [DEVICE] [CHALLENGE]
Some slots are optional, and are then tidied up along with any linking words (eg 'using'). The SEPARATOR is determined programatically and might be "to" or a "/" symbol.
The LOINC Long Common Name is specified as the Preferred Term and the LOINC Short Common Name is also included unchanged as an acceptable synonym. Finally a terse form of the LOINC Parts is added, with all part names specified, separated by colons.
In the case of the example below, this results in the following terms:
LOINC Term 104656-4
Part Type | LOINC Part Name | LOINC Part Num | Mapped to Attribute Type / Value |
---|---|---|---|
Component | Titanium | LP16839-0 | 246093002 |Component (attribute)| -> 1166006 |Titanium (substance)| |
Divisors | Creatinine | LP32035-5 | 704325000 |Relative to (attribute)| -> 15373003 |Creatinine (substance)| |
Property | MRto | LP6834-8 | 370130000 |Property (attribute)| -> 118545004 |Mass ratio (property) (qualifier value)| |
Time | Pt | LP6960-1 | 370134009 |Time aspect (attribute)| -> 123029007 |Single point in time (qualifier value)| |
System | Urine | LP7681-2 | 704327008 |Direct site (attribute)| -> 122575003 |Urine specimen (specimen)| |
Scale | Qn | LP7753-9 | 370132008 |Scale type (attribute)| -> 30766002 |Quantitative (qualifier value)| |