This page is part of the International Patient Summary Implementation Guide (v1.1.0: STU 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 2 |
TTL representation of the Ratio-uv-ips 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:Resource.id [ fhir:value "Ratio-uv-ips"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "extensions" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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=\"http://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=\"http://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=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://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=\"http://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=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" 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-uv-ips-definitions.html#Ratio\">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=\"http://hl7.org/fhir/R4/datatypes.html#Ratio\">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\"><span style=\"opacity: 0.5\">A ratio of two Quantity values - a numerator and a denominator</span></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_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Ratio-uv-ips-definitions.html#Ratio.numerator\">numerator</a><a name=\"Ratio.numerator\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></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\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></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=\"StructureDefinition-Quantity-uv-ips.html\" title=\"Quantity\">QuantityIPS</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\">A measured amount using UCUM</span></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_bck00.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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Ratio-uv-ips-definitions.html#Ratio.denominator\">denominator</a><a name=\"Ratio.denominator\"> </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=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></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\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</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=\"StructureDefinition-Quantity-uv-ips.html\" title=\"Quantity\">QuantityIPS</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\">A measured amount using UCUM</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
fhir:Extension.valueInteger [
fhir:value "2"^^xsd:integer;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ];
fhir:Extension.valueCanonical [
fhir:value "http://hl7.org/fhir/uv/ips/ImplementationGuide/ig-uv-ips";
fhir:link <http://hl7.org/fhir/uv/ips/ImplementationGuide/ig-uv-ips> ] ] ]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
fhir:Extension.valueCode [
fhir:value "trial-use";
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ];
fhir:Extension.valueCanonical [
fhir:value "http://hl7.org/fhir/uv/ips/ImplementationGuide/ig-uv-ips";
fhir:link <http://hl7.org/fhir/uv/ips/ImplementationGuide/ig-uv-ips> ] ] ]
];
fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips"];
fhir:StructureDefinition.version [ fhir:value "1.1.0"];
fhir:StructureDefinition.name [ fhir:value "RatioIPS"];
fhir:StructureDefinition.title [ fhir:value "Ratio (IPS)"];
fhir:StructureDefinition.status [ fhir:value "active"];
fhir:StructureDefinition.date [ fhir:value "2022-11-22T03:24:39+00:00"^^xsd:dateTime];
fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven International - Patient Care Work Group"];
fhir:StructureDefinition.contact [
fhir:index 0;
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/patientcare" ] ]
];
fhir:StructureDefinition.description [ fhir:value "Ratio data type, constrained to use UCUM as the code system for units."];
fhir:StructureDefinition.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
fhir:Coding.code [ fhir:value "001" ] ]
];
fhir:StructureDefinition.purpose [ fhir:value "Allow only UCUM as the code system for units."];
fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
fhir:StructureDefinition.mapping [
fhir:index 0;
fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
], [
fhir:index 1;
fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
];
fhir:StructureDefinition.kind [ fhir:value "complex-type"];
fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
fhir:StructureDefinition.type [ fhir:value "Ratio"];
fhir:StructureDefinition.baseDefinition [
fhir:value "http://hl7.org/fhir/StructureDefinition/Ratio";
fhir:link <http://hl7.org/fhir/StructureDefinition/Ratio>
];
fhir:StructureDefinition.derivation [ fhir:value "constraint"];
fhir:StructureDefinition.snapshot [
fhir:StructureDefinition.snapshot.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Ratio" ];
fhir:ElementDefinition.path [ fhir:value "Ratio" ];
fhir:ElementDefinition.short [ fhir:value "A ratio of two Quantity values - a numerator and a denominator" ];
fhir:ElementDefinition.definition [ fhir:value "A relationship of two Quantity values - expressed as a numerator and a denominator." ];
fhir:ElementDefinition.comment [ fhir:value "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:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Ratio" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "rat-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "(numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Ratio";
fhir:link <http://hl7.org/fhir/StructureDefinition/Ratio> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "RTO" ] ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "Ratio.id" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.id" ];
fhir:ElementDefinition.representation [
fhir:value "xmlAttr";
fhir:index 0 ];
fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
fhir:Extension.valueUrl [ fhir:value "string" ] ];
fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "Ratio.extension" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.extension" ];
fhir:ElementDefinition.slicing [
fhir:ElementDefinition.slicing.discriminator [
fhir:index 0;
fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ];
fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ];
fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "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:ElementDefinition.alias [
fhir:value "extensions";
fhir:index 0 ], [
fhir:value "user content";
fhir:index 1 ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "*" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Extension";
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [
fhir:index 3;
fhir:Element.id [ fhir:value "Ratio.numerator" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.numerator" ];
fhir:ElementDefinition.short [ fhir:value "A measured amount using UCUM" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "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:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Ratio.numerator" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips";
fhir:index 0;
fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "qty-3" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a code for the unit is present, the system SHALL also be present" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "code.empty() or system.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:code)) or exists(f:system)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Quantity";
fhir:link <http://hl7.org/fhir/StructureDefinition/Quantity> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "SN (see also Range) or CQ" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PQ, IVL<PQ>, MO, CO, depending on the values" ] ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "Ratio.denominator" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.denominator" ];
fhir:ElementDefinition.short [ fhir:value "A measured amount using UCUM" ];
fhir:ElementDefinition.definition [ fhir:value "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:ElementDefinition.comment [ fhir:value "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:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Ratio.denominator" ];
fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.base.max [ fhir:value "1" ] ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips";
fhir:index 0;
fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ];
fhir:ElementDefinition.condition [
fhir:value "ele-1";
fhir:index 0 ];
fhir:ElementDefinition.constraint [
fhir:index 0;
fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Element";
fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [
fhir:index 1;
fhir:ElementDefinition.constraint.key [ fhir:value "qty-3" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "If a code for the unit is present, the system SHALL also be present" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "code.empty() or system.exists()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:code)) or exists(f:system)" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/Quantity";
fhir:link <http://hl7.org/fhir/StructureDefinition/Quantity> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "SN (see also Range) or CQ" ] ], [
fhir:index 2;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PQ, IVL<PQ>, MO, CO, depending on the values" ] ] ]
];
fhir:StructureDefinition.differential [
fhir:StructureDefinition.differential.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Ratio" ];
fhir:ElementDefinition.path [ fhir:value "Ratio" ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "Ratio.numerator" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.numerator" ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips";
fhir:index 0;
fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "Ratio.denominator" ];
fhir:ElementDefinition.path [ fhir:value "Ratio.denominator" ];
fhir:ElementDefinition.type [
fhir:index 0;
fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
fhir:ElementDefinition.type.profile [
fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips";
fhir:index 0;
fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips> ] ];
fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.
IG © 2020+ Health Level Seven International - Patient Care Work Group. Package hl7.fhir.uv.ips#1.1.0 based on FHIR 4.0.1. Generated 2022-11-22
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change