CH EMED (R4)
2.0.0 - STU 2
This page is part of the CH EMED (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
TTL representation of the ch-emed-quantity 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 "ch-emed-quantity"];
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://hl7.org/fhir/R4/formats.html#table\" 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://hl7.org/fhir/R4/formats.html#table\" 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://hl7.org/fhir/R4/formats.html#table\" 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://hl7.org/fhir/R4/formats.html#table\" 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://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description & Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" 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-ch-emed-quantity-definitions.html#Quantity\">Quantity</a><a name=\"Quantity\"> </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..*</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#SimpleQuantity\">SimpleQuantity</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 fixed quantity (no comparator)</span><br/></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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ch-emed-quantity-definitions.html#Quantity.value\">value</a><a name=\"Quantity.value\"> </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\">1..<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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</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\">Numerical value (with implicit precision)</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_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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ch-emed-quantity-definitions.html#Quantity.unit\">unit</a><a name=\"Quantity.unit\"> </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\">1..<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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</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\">Unit representation</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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ch-emed-quantity-definitions.html#Quantity.system\">system</a><a name=\"Quantity.system\"> </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\">1..<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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">System of the code from Units of Presentation</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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ch-emed-quantity-definitions.html#Quantity.code\" title=\"Units of Presentation\">code</a><a name=\"Quantity.code\"> </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\">1..<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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</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\">Coded form of the unit</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-UnitCode.html\">UnitCode</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>): The coded unit used describing the quantity.<br/><br/></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/R4/formats.html#table\" 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:StructureDefinition.url [ fhir:value "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-quantity"];
fhir:StructureDefinition.version [ fhir:value "2.0.0"];
fhir:StructureDefinition.name [ fhir:value "CHEMEDQuantityWithEmedUnits"];
fhir:StructureDefinition.title [ fhir:value "CH EMED Quantity with units"];
fhir:StructureDefinition.status [ fhir:value "active"];
fhir:StructureDefinition.date [ fhir:value "2021-02-11"^^xsd:date];
fhir:StructureDefinition.publisher [ fhir:value "HL7 Switzerland"];
fhir:StructureDefinition.contact [
fhir:index 0;
fhir:ContactDetail.name [ fhir:value "HL7 Switzerland" ];
fhir:ContactDetail.telecom [
fhir:index 0;
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "https://www.hl7.ch/" ] ]
];
fhir:StructureDefinition.description [ fhir:value "A quantity with defined units"];
fhir:StructureDefinition.jurisdiction [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
fhir:Coding.code [ fhir:value "CH" ] ]
];
fhir:StructureDefinition.copyright [ fhir:value "CC-BY-SA-4.0"];
fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
fhir:StructureDefinition.mapping [
fhir:index 0;
fhir:StructureDefinition.mapping.identity [ fhir:value "cda" ];
fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3/cda" ];
fhir:StructureDefinition.mapping.name [ fhir:value "CDA (R2)" ]
], [
fhir:index 1;
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 2;
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 "Quantity"];
fhir:StructureDefinition.baseDefinition [
fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>
];
fhir:StructureDefinition.derivation [ fhir:value "constraint"];
fhir:StructureDefinition.snapshot [
fhir:StructureDefinition.snapshot.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Quantity" ];
fhir:ElementDefinition.path [ fhir:value "Quantity" ];
fhir:ElementDefinition.short [ fhir:value "A fixed quantity (no comparator)" ];
fhir:ElementDefinition.definition [ fhir:value "The comparator is not used on a SimpleQuantity" ];
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 "*" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity" ];
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 "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:index 2;
fhir:ElementDefinition.constraint.key [ fhir:value "sqty-1" ];
fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
fhir:ElementDefinition.constraint.human [ fhir:value "The comparator is not used on a SimpleQuantity" ];
fhir:ElementDefinition.constraint.expression [ fhir:value "comparator.empty()" ];
fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:comparator))" ];
fhir:ElementDefinition.constraint.source [
fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity> ] ];
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 1;
fhir:Element.id [ fhir:value "Quantity.id" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.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 "Quantity.extension" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.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 "Quantity.value" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.value" ];
fhir:ElementDefinition.short [ fhir:value "Numerical value (with implicit precision)" ];
fhir:ElementDefinition.definition [ fhir:value "The value of the measured amount. The value includes an implicit precision in the presentation of the value." ];
fhir:ElementDefinition.comment [ fhir:value "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." ];
fhir:ElementDefinition.requirements [ fhir:value "Precision is handled implicitly in almost all cases of measurement." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity.value" ];
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 "decimal" ] ];
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:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "SN.2 / CQ - N/A" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" ] ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "Quantity.comparator" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.comparator" ];
fhir:ElementDefinition.short [ fhir:value "< | <= | >= | > - how to understand the value" ];
fhir:ElementDefinition.definition [ fhir:value "Not allowed to be used in this context" ];
fhir:ElementDefinition.requirements [ fhir:value "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "0" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity.comparator" ];
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 "code" ] ];
fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If there is no comparator, then there is no modification of the value" ];
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:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.isModifierReason [ fhir:value "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value" ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
fhir:Extension.valueString [ fhir:value "QuantityComparator" ] ];
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "How the Quantity should be understood and represented." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1";
fhir:link <http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "SN.1 / CQ.1" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "IVL properties" ] ] ], [
fhir:index 5;
fhir:Element.id [ fhir:value "Quantity.unit" ];
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ];
fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ];
fhir:ElementDefinition.path [ fhir:value "Quantity.unit" ];
fhir:ElementDefinition.short [ fhir:value "Unit representation" ];
fhir:ElementDefinition.definition [ fhir:value "A human-readable form of the unit." ];
fhir:ElementDefinition.requirements [ fhir:value "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity.unit" ];
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 "string" ] ];
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:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "(see OBX.6 etc.) / CQ.2" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PQ.unit" ] ] ], [
fhir:index 6;
fhir:Element.id [ fhir:value "Quantity.system" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.system" ];
fhir:ElementDefinition.short [ fhir:value "System of the code from Units of Presentation" ];
fhir:ElementDefinition.definition [ fhir:value "The identification of the system that provides the coded form of the unit." ];
fhir:ElementDefinition.requirements [ fhir:value "Need to know the system that defines the coded form of the unit." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity.system" ];
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 "uri" ] ];
fhir:ElementDefinition.condition [
fhir:value "qty-3";
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:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "(see OBX.6 etc.) / CQ.2" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "CO.codeSystem, PQ.translation.codeSystem" ] ] ], [
fhir:index 7;
fhir:Element.id [ fhir:value "Quantity.code" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.code" ];
fhir:ElementDefinition.short [ fhir:value "Coded form of the unit" ];
fhir:ElementDefinition.definition [ fhir:value "Units of Presentation" ];
fhir:ElementDefinition.comment [ fhir:value "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system." ];
fhir:ElementDefinition.requirements [ fhir:value "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "1" ];
fhir:ElementDefinition.base [
fhir:ElementDefinition.base.path [ fhir:value "Quantity.code" ];
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 "code" ] ];
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:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "The coded unit used describing the quantity." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://fhir.ch/ig/ch-emed/ValueSet/UnitCode";
fhir:link <http://fhir.ch/ig/ch-emed/ValueSet/UnitCode> ] ];
fhir:ElementDefinition.mapping [
fhir:index 0;
fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
fhir:ElementDefinition.mapping.map [ fhir:value "(see OBX.6 etc.) / CQ.2" ] ], [
fhir:index 1;
fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
fhir:ElementDefinition.mapping.map [ fhir:value "PQ.code, MO.currency, PQ.translation.code" ] ] ]
];
fhir:StructureDefinition.differential [
fhir:StructureDefinition.differential.element [
fhir:index 0;
fhir:Element.id [ fhir:value "Quantity" ];
fhir:ElementDefinition.path [ fhir:value "Quantity" ];
fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.max [ fhir:value "*" ];
fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ], [
fhir:index 1;
fhir:Element.id [ fhir:value "Quantity.value" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.value" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 2;
fhir:Element.id [ fhir:value "Quantity.unit" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.unit" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 3;
fhir:Element.id [ fhir:value "Quantity.system" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.system" ];
fhir:ElementDefinition.short [ fhir:value "System of the code from Units of Presentation" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [
fhir:index 4;
fhir:Element.id [ fhir:value "Quantity.code" ];
fhir:ElementDefinition.path [ fhir:value "Quantity.code" ];
fhir:ElementDefinition.definition [ fhir:value "Units of Presentation" ];
fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
fhir:ElementDefinition.binding [
fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
fhir:ElementDefinition.binding.description [ fhir:value "The coded unit used describing the quantity." ];
fhir:ElementDefinition.binding.valueSet [
fhir:value "http://fhir.ch/ig/ch-emed/ValueSet/UnitCode";
fhir:link <http://fhir.ch/ig/ch-emed/ValueSet/UnitCode> ] ] ]
].
# - ontology header ------------------------------------------------------------
a owl:Ontology;
owl:imports fhir:fhir.ttl.