HL7 Europe Laboratory Report, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 0.2.0-ci built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/laboratory/ and changes regularly. See the Directory of published versions
Draft as of 2024-10-14 |
TTL representation of the Ratio-eu-lab data type profile.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "Ratio-eu-lab"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition Ratio-eu-lab</b></p><a name=\"Ratio-eu-lab\"> </a><a name=\"hcRatio-eu-lab\"> </a><a name=\"Ratio-eu-lab-en-US\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description & Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Ratio-eu-lab-definitions.html#Ratio\" title=\"A measured ratio (or a ratio that can potentially be measured) and uncertainty of the measurement. This profile imposes that the code system for units be UCUM.\">Ratio</a><a name=\"Ratio\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/HL7/fhir-ips/StructureDefinition-Ratio-uv-ips.html\">RatioIPS</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A measured ratio using UCUM</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for extension<a name=\"Ratio.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck034.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Ratio-eu-lab-definitions.html#Ratio.extension:uncertainty\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty\">uncertainty</a><a name=\"Ratio.extension.2\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Standard Deviation (same units as the quantity)</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.1.0/StructureDefinition-iso21090-uncertainty.html\">http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty</a></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck024.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Ratio-eu-lab-definitions.html#Ratio.extension:uncertaintyType\" title=\"Extension URL = http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType\">uncertaintyType</a><a name=\"Ratio.extension.3\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Probability Distribution Type for uncertainty</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/extensions/5.1.0/StructureDefinition-iso21090-uncertaintyType.html\">http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType</a><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/extensions/5.1.0/ValueSet-probability-distribution-type.html\" title=\"http://hl7.org/fhir/ValueSet/probability-distribution-type\">ProbabilityDistributionType</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>" ] ; # fhir:url [ fhir:v "http://hl7.eu/fhir/laboratory/StructureDefinition/Ratio-eu-lab"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.2.0-ci"] ; # fhir:name [ fhir:v "RatioEuLab"] ; # fhir:title [ fhir:v "Ratio (Eu Lab)"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-10-14T12:48:35+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 Europe"] ; # fhir:contact ( [ fhir:name [ fhir:v "HL7 Europe" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.eu" ] ] ) ] ) ; # fhir:description [ fhir:v "This profile constrains the Ratio data type to use UCUM as the code system for units and optionally share measurement uncertainty"] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "150" ] ; fhir:display [ fhir:v "Europe" ] ] ) ] ) ; # fhir:purpose [ fhir:v "This profile of the Ratio data type imposes the usage of the UCUM as the code system for units and allows expressing uncertainty of measurement"] ; # fhir:copyright [ fhir:v "Used by permission of HL7 Europe, all rights reserved Creative Commons License"] ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ; fhir:name [ fhir:v "HL7 v2 Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] ) ; # fhir:kind [ fhir:v "complex-type"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "Ratio"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips> ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:snapshot [ ( fhir:element [ fhir:id [ fhir:v "Ratio" ] ; fhir:path [ fhir:v "Ratio" ] ; fhir:short [ fhir:v "A measured ratio using UCUM" ] ; fhir:definition [ fhir:v "A measured ratio (or a ratio that can potentially be measured) and uncertainty of the measurement. This profile imposes that the code system for units be UCUM." ] ; fhir:comment [ fhir:v "The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit. Where the denominator value is known to be fixed to \"1\", Quantity should be used instead of Ratio." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Ratio" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:condition [ fhir:v "ele-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "rat-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present" ] ; fhir:expression [ fhir:v "(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())" ] ; fhir:xpath [ fhir:v "(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Ratio"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Ratio> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "RTO" ] ] ) ] [ fhir:id [ fhir:v "Ratio.id" ] ; fhir:path [ fhir:v "Ratio.id" ] ; ( fhir:representation [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Ratio.extension" ] ; fhir:path [ fhir:v "Ratio.extension" ] ; fhir:slicing [ ( fhir:discriminator [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Ratio.extension:uncertainty" ] ; fhir:path [ fhir:v "Ratio.extension" ] ; fhir:sliceName [ fhir:v "uncertainty" ] ; fhir:short [ fhir:v "Standard Deviation (same units as the quantity)" ] ; fhir:definition [ fhir:v "The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean)." ] ; fhir:comment [ fhir:v "standardDeviation has the same units as the quantity. It is used to normalize the data for computing the distribution function. Applications that cannot deal with probability distributions can still get an idea about the confidence level by looking at standardDeviation." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "PPD.standardDeviation" ] ] ) ] [ fhir:id [ fhir:v "Ratio.extension:uncertaintyType" ] ; fhir:path [ fhir:v "Ratio.extension" ] ; fhir:sliceName [ fhir:v "uncertaintyType" ] ; fhir:short [ fhir:v "Probability Distribution Type for uncertainty" ] ; fhir:definition [ fhir:v "A code specifying the type of probability distribution for the uncertainty." ] ; fhir:comment [ fhir:v "This is only meaningful if there is also an uncertainty extension. If there is an uncertainty extension with no type, this means that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType> ] ) ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "PPD.distributionType" ] ] ) ] [ fhir:id [ fhir:v "Ratio.numerator" ] ; fhir:path [ fhir:v "Ratio.numerator" ] ; fhir:short [ fhir:v "A measured amount using UCUM" ] ; fhir:definition [ fhir:v "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.\r\nThis profile imposes that the code system for units be UCUM." ] ; fhir:comment [ fhir:v "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Ratio.numerator" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ) ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "qty-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a code for the unit is present, the system SHALL also be present" ] ; fhir:expression [ fhir:v "code.empty() or system.exists()" ] ; fhir:xpath [ fhir:v "not(exists(f:code)) or exists(f:system)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Quantity"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Quantity> ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "SN (see also Range) or CQ" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "PQ, IVL<PQ>, MO, CO, depending on the values" ] ] ) ] [ fhir:id [ fhir:v "Ratio.denominator" ] ; fhir:path [ fhir:v "Ratio.denominator" ] ; fhir:short [ fhir:v "A measured amount using UCUM" ] ; fhir:definition [ fhir:v "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.\r\nThis profile imposes that the code system for units be UCUM." ] ; fhir:comment [ fhir:v "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Ratio.denominator" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; ( fhir:type [ fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ) ] ) ; ( fhir:condition [ fhir:v "ele-1" ] ) ; ( fhir:constraint [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] [ fhir:key [ fhir:v "qty-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a code for the unit is present, the system SHALL also be present" ] ; fhir:expression [ fhir:v "code.empty() or system.exists()" ] ; fhir:xpath [ fhir:v "not(exists(f:code)) or exists(f:system)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Quantity"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Quantity> ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; ( fhir:mapping [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "SN (see also Range) or CQ" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "PQ, IVL<PQ>, MO, CO, depending on the values" ] ] ) ] ) ] ; # fhir:differential [ ( fhir:element [ fhir:id [ fhir:v "Ratio" ] ; fhir:path [ fhir:v "Ratio" ] ; fhir:short [ fhir:v "A measured ratio using UCUM" ] ; fhir:definition [ fhir:v "A measured ratio (or a ratio that can potentially be measured) and uncertainty of the measurement. This profile imposes that the code system for units be UCUM." ] ] [ fhir:id [ fhir:v "Ratio.extension:uncertainty" ] ; fhir:path [ fhir:v "Ratio.extension" ] ; fhir:sliceName [ fhir:v "uncertainty" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty> ] ) ] ) ] [ fhir:id [ fhir:v "Ratio.extension:uncertaintyType" ] ; fhir:path [ fhir:v "Ratio.extension" ] ; fhir:sliceName [ fhir:v "uncertaintyType" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; ( fhir:type [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ; ( fhir:profile [ fhir:v "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType> ] ) ] ) ] ) ] . #
IG © 2023+ HL7 Europe. Package hl7.fhir.eu.laboratory#0.2.0-ci based on FHIR 4.0.1. Generated 2024-10-14