OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/openehr-fhir/base-spec/ and changes regularly. See the Directory of published versions

Logical Model: DV_PROPORTION - TTL Profile

Page standards status: Informative Maturity Level: 3

TTL representation of the DV-PROPORTION logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 "DV-PROPORTION"] ; # 
  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 DV-PROPORTION</b></p><a name=\"DV-PROPORTION\"> </a><a name=\"hcDV-PROPORTION\"> </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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; 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 : var(--ig-left,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-DV-PROPORTION-definitions.html#DV_PROPORTION\" title=\"Models a ratio of values, i.e. where the numerator and denominator are both pure numbers. The `_valid_proportion_kind_` property of the `PROPORTION_KIND` class is used to control the type attribute to be one of a defined set.#xA;#xA;Used for recording titers (e.g. 1:128), concentration ratios, e.g. Na:K (unitary denominator), albumin:creatinine ratio, and percentages, e.g. red cell distirbution width (RDW). #xA; #xA;Misuse: Should not be used to represent things like blood pressure which are often written using a  '/' character, giving the misleading impression that the item is a ratio, when in fact it is a structured value. Similarly, visual acuity, often written as (e.g.) &quot;6/24&quot; in clinical notes is not a ratio but an ordinal (which includes non-numeric symbols like CF = count fingers etc). Should not be used for formulations. \">DV_PROPORTION</a><a name=\"DV_PROPORTION\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R5/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( Type_validity, Precision_validity, Is_integral_validity, Fraction_validity, Unitary_validity, Percent_validity, Valid_denominator )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-PROPORTION-KIND.html\">PROPORTION_KIND</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Models a ratio of values, i.<br/><br/>Elements defined in Ancestors:<a href=\"http://hl7.org/fhir/R5/types.html#Element\" title=\"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.\">@id</a>, <a href=\"http://hl7.org/fhir/R5/types.html#Element\" title=\"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 managable, 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.\">extension</a>, <a href=\"http://hl7.org/fhir/R5/datatypes.html#string\" title=\"Primitive value for string\">@value</a>, <a href=\"http://hl7.org/fhir/R5/datatypes.html#code\" title=\"Primitive value for code\">@value</a><br/><span style=\"font-weight:bold\">Instances of this logical model are not marked to be the target of a Reference</span><br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Type validity\" class=\"constraint\">Type_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Precision validity must satisfy conditional constraints\" class=\"constraint\">Precision_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Is integral validity must satisfy conditional constraints\" class=\"constraint\">Is_integral_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Fraction validity must satisfy conditional constraints\" class=\"constraint\">Fraction_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Unitary validity must satisfy conditional constraints\" class=\"constraint\">Unitary_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Percent validity must satisfy conditional constraints\" class=\"constraint\">Percent_validity</span><span title=\"null\" class=\"constraint\">, </span><span style=\"font-weight:bold\" title=\"Valid denominator\" class=\"constraint\">Valid_denominator</span><br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.numerator\" title=\"Numerator of ratio\">numerator</a><a name=\"DV_PROPORTION.numerator\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Numerator of ratio</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.denominator\" title=\"Denominator of ratio.\">denominator</a><a name=\"DV_PROPORTION.denominator\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Denominator of ratio.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.type\" title=\"Indicates semantic type of proportion, including percent, unitary etc.\">type</a><a name=\"DV_PROPORTION.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Indicates semantic type of proportion, including percent, unitary etc.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.precision\" title=\"Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places. The value 0 implies an integral quantity. The value -1 implies no limit, i.e. any number of decimal places. \">precision</a><a name=\"DV_PROPORTION.precision\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.normal-range\" title=\"Optional normal range. \">normal_range</a><a name=\"DV_PROPORTION.normal_range\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-DV-INTERVAL.html\">DV_INTERVAL</a>&lt;<a href=\"StructureDefinition-DV-PROPORTION.html\">DV_PROPORTION</a>&gt;</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Optional normal range.</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-DV-PROPORTION-definitions.html#DV_PROPORTION.other-reference-ranges\" title=\"Optional tagged other reference ranges for this value in its particular measurement context.\">other_reference_ranges</a><a name=\"DV_PROPORTION.other_reference_ranges\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-REFERENCE-RANGE.html\">REFERENCE_RANGE</a>&lt;<a href=\"StructureDefinition-DV-PROPORTION.html\">DV_PROPORTION</a>&gt;</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Optional tagged other reference ranges for this value in its particular measurement context.<br/></td></tr>#xD;\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>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "magnitude" ] ;
fhir:name [ fhir:v "magnitude" ] ;
fhir:title [ fhir:v "magnitude" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Effective magnitude represented by ratio." ] ;
fhir:code [ fhir:v "magnitude" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "is_integral" ] ;
fhir:name [ fhir:v "is_integral" ] ;
fhir:title [ fhir:v "is_integral" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "True if the `_numerator_` and `_denominator_` values are integers, i.e. if `_precision_` is 0." ] ;
fhir:code [ fhir:v "is_integral" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "add" ] ;
fhir:name [ fhir:v "add" ] ;
fhir:title [ fhir:v "add" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Sum of two strictly comparable proportions." ] ;
fhir:code [ fhir:v "add" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "other" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "subtract" ] ;
fhir:name [ fhir:v "subtract" ] ;
fhir:title [ fhir:v "subtract" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Difference between two strictly comparable proportions." ] ;
fhir:code [ fhir:v "subtract" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "other" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "is_equal" ] ;
fhir:name [ fhir:v "is_equal" ] ;
fhir:title [ fhir:v "is_equal" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Return True if this `DV_AMOUNT` is considered equal to `_other_`." ] ;
fhir:code [ fhir:v "is_equal" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "other" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "multiply" ] ;
fhir:name [ fhir:v "multiply" ] ;
fhir:title [ fhir:v "multiply" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Product of this Proportion and `_factor_`." ] ;
fhir:code [ fhir:v "multiply" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "factor" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "less_than" ] ;
fhir:name [ fhir:v "less_than" ] ;
fhir:title [ fhir:v "less_than" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "True if this Proportion is less than  `_other_`. Only valid if `_is_strictly_comparable_to()_` is True." ] ;
fhir:code [ fhir:v "less_than" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "other" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "decimal" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] )
  ] [
a fhir:OperationDefinition ;
fhir:id [ fhir:v "is_strictly_comparable_to" ] ;
fhir:name [ fhir:v "is_strictly_comparable_to" ] ;
fhir:title [ fhir:v "is_strictly_comparable_to" ] ;
fhir:status [ fhir:v "active" ] ;
fhir:kind [ fhir:v "operation" ] ;
fhir:description [ fhir:v "Return True if the `_type_` of this proportion is the same as the `_type_` of `_other_`." ] ;
fhir:code [ fhir:v "is_strictly_comparable_to" ] ;
fhir:system [ fhir:v false ] ;
fhir:instance [ fhir:v true ] ;
    ( fhir:parameter [
fhir:name [ fhir:v "other" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Parameters" ]     ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "boolean" ]     ] )
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/web-source"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_types.html#_dv_proportion_class"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#magnitude"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#is_integral"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#add"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#subtract"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#is_equal"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#multiply"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#less_than"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-operation"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "#is_strictly_comparable_to"^^xsd:anyURI     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "fhir"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "can-bind"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 3 ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base>         ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "informative" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://openehr.org/fhir/ImplementationGuide/openehr.base"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/ImplementationGuide/openehr.base>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-PROPORTION"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "DV_PROPORTION"] ; # 
  fhir:title [ fhir:v "DV_PROPORTION"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-06T15:35:39+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "openEHR + HL7"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.openehr.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Models a ratio of values, i.e. where the numerator and denominator are both pure numbers. The `_valid_proportion_kind_` property of the `PROPORTION_KIND` class is used to control the type attribute to be one of a defined set.\n\nUsed for recording titers (e.g. 1:128), concentration ratios, e.g. Na:K (unitary denominator), albumin:creatinine ratio, and percentages, e.g. red cell distirbution width (RDW). \n \nMisuse: Should not be used to represent things like blood pressure which are often written using a  '/' character, giving the misleading impression that the item is a ratio, when in fact it is a structured value. Similarly, visual acuity, often written as (e.g.) \"6/24\" in clinical notes is not a ratio but an ordinal (which includes non-numeric symbols like CF = count fingers etc). Should not be used for formulations. "] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:type [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV_PROPORTION"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://openehr.org/fhir/StructureDefinition/PROPORTION-KIND"^^xsd:anyURI ;
fhir:link <http://openehr.org/fhir/StructureDefinition/PROPORTION-KIND>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "0.1.0"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "DV_PROPORTION" ] ;
fhir:path [ fhir:v "DV_PROPORTION" ] ;
fhir:short [ fhir:v "Models a ratio of values, i." ] ;
fhir:definition [ fhir:v "Models a ratio of values, i.e. where the numerator and denominator are both pure numbers. The `_valid_proportion_kind_` property of the `PROPORTION_KIND` class is used to control the type attribute to be one of a defined set.\n\nUsed for recording titers (e.g. 1:128), concentration ratios, e.g. Na:K (unitary denominator), albumin:creatinine ratio, and percentages, e.g. red cell distirbution width (RDW). \n \nMisuse: Should not be used to represent things like blood pressure which are often written using a  '/' character, giving the misleading impression that the item is a ratio, when in fact it is a structured value. Similarly, visual acuity, often written as (e.g.) \"6/24\" in clinical notes is not a ratio but an ordinal (which includes non-numeric symbols like CF = count fingers etc). Should not be used for formulations. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( 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:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "Type_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Type validity" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Precision_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Precision validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "precision = 0 implies is_integral()" ]       ] [
fhir:key [ fhir:v "Is_integral_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Is integral validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "is_integral() implies (numerator.floor = numerator and denominator.floor = denominator)" ]       ] [
fhir:key [ fhir:v "Fraction_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Fraction validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "(type = pk_fraction or type = pk_integer_fraction) implies is_integral()" ]       ] [
fhir:key [ fhir:v "Unitary_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Unitary validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Percent_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Percent validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Valid_denominator" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Valid denominator" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.id" ] ;
fhir:path [ fhir:v "DV_PROPORTION.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "xml:id (or equivalent in JSON)" ] ;
fhir:definition [ fhir:v "unique id for the element within a resource (for internal references)" ] ;
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 [
a fhir:url ;
fhir:v "string"^^xsd:anyURI           ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.extension" ] ;
fhir:path [ fhir:v "DV_PROPORTION.extension" ] ;
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 resource. To make the use of extensions safe and managable, 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: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:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.value" ] ;
fhir:path [ fhir:v "DV_PROPORTION.value" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Primitive value for code" ] ;
fhir:definition [ fhir:v "Primitive value for code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "string.value" ] ;
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 [
a fhir:url ;
fhir:v "code"^^xsd:anyURI           ]         ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/regex"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "[^\\s]+( [^\\s]+)*"           ]         ] ) ;
fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.numerator" ] ;
fhir:path [ fhir:v "DV_PROPORTION.numerator" ] ;
fhir:short [ fhir:v "Numerator of ratio" ] ;
fhir:definition [ fhir:v "Numerator of ratio" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.numerator" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.denominator" ] ;
fhir:path [ fhir:v "DV_PROPORTION.denominator" ] ;
fhir:short [ fhir:v "Denominator of ratio." ] ;
fhir:definition [ fhir:v "Denominator of ratio." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.denominator" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.type" ] ;
fhir:path [ fhir:v "DV_PROPORTION.type" ] ;
fhir:short [ fhir:v "Indicates semantic type of proportion, including percent, unitary etc." ] ;
fhir:definition [ fhir:v "Indicates semantic type of proportion, including percent, unitary etc." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.type" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.precision" ] ;
fhir:path [ fhir:v "DV_PROPORTION.precision" ] ;
fhir:short [ fhir:v "Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places." ] ;
fhir:definition [ fhir:v "Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places. The value 0 implies an integral quantity. The value -1 implies no limit, i.e. any number of decimal places." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.precision" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.normal-range" ] ;
fhir:path [ fhir:v "DV_PROPORTION.normal_range" ] ;
fhir:short [ fhir:v "Optional normal range." ] ;
fhir:definition [ fhir:v "Optional normal range." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.normal_range" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "T"             ]           ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "http://openehr.org/fhir/StructureDefinition/DV-PROPORTION"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-INTERVAL"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.other-reference-ranges" ] ;
fhir:path [ fhir:v "DV_PROPORTION.other_reference_ranges" ] ;
fhir:short [ fhir:v "Optional tagged other reference ranges for this value in its particular measurement context." ] ;
fhir:definition [ fhir:v "Optional tagged other reference ranges for this value in its particular measurement context." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "DV_PROPORTION.other_reference_ranges" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "T"             ]           ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "http://openehr.org/fhir/StructureDefinition/DV-PROPORTION"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "DV_PROPORTION" ] ;
fhir:path [ fhir:v "DV_PROPORTION" ] ;
fhir:short [ fhir:v "Models a ratio of values, i." ] ;
fhir:definition [ fhir:v "Models a ratio of values, i.e. where the numerator and denominator are both pure numbers. The `_valid_proportion_kind_` property of the `PROPORTION_KIND` class is used to control the type attribute to be one of a defined set.\n\nUsed for recording titers (e.g. 1:128), concentration ratios, e.g. Na:K (unitary denominator), albumin:creatinine ratio, and percentages, e.g. red cell distirbution width (RDW). \n \nMisuse: Should not be used to represent things like blood pressure which are often written using a  '/' character, giving the misleading impression that the item is a ratio, when in fact it is a structured value. Similarly, visual acuity, often written as (e.g.) \"6/24\" in clinical notes is not a ratio but an ordinal (which includes non-numeric symbols like CF = count fingers etc). Should not be used for formulations. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "Type_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Type validity" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Precision_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Precision validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "precision = 0 implies is_integral()" ]       ] [
fhir:key [ fhir:v "Is_integral_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Is integral validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "is_integral() implies (numerator.floor = numerator and denominator.floor = denominator)" ]       ] [
fhir:key [ fhir:v "Fraction_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Fraction validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "(type = pk_fraction or type = pk_integer_fraction) implies is_integral()" ]       ] [
fhir:key [ fhir:v "Unitary_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Unitary validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Percent_validity" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Percent validity must satisfy conditional constraints" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] [
fhir:key [ fhir:v "Valid_denominator" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Valid denominator" ] ;
fhir:expression [ fhir:v "null # TODO: manual translation needed" ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.numerator" ] ;
fhir:path [ fhir:v "DV_PROPORTION.numerator" ] ;
fhir:short [ fhir:v "Numerator of ratio" ] ;
fhir:definition [ fhir:v "Numerator of ratio" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.denominator" ] ;
fhir:path [ fhir:v "DV_PROPORTION.denominator" ] ;
fhir:short [ fhir:v "Denominator of ratio." ] ;
fhir:definition [ fhir:v "Denominator of ratio." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "decimal"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.type" ] ;
fhir:path [ fhir:v "DV_PROPORTION.type" ] ;
fhir:short [ fhir:v "Indicates semantic type of proportion, including percent, unitary etc." ] ;
fhir:definition [ fhir:v "Indicates semantic type of proportion, including percent, unitary etc." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.precision" ] ;
fhir:path [ fhir:v "DV_PROPORTION.precision" ] ;
fhir:short [ fhir:v "Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places." ] ;
fhir:definition [ fhir:v "Precision  to  which  the  `_numerator_` and `_denominator_` values of  the  proportion are expressed, in terms of number  of decimal places. The value 0 implies an integral quantity. The value -1 implies no limit, i.e. any number of decimal places. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.normal-range" ] ;
fhir:path [ fhir:v "DV_PROPORTION.normal_range" ] ;
fhir:short [ fhir:v "Optional normal range." ] ;
fhir:definition [ fhir:v "Optional normal range. " ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "T"             ]           ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "http://openehr.org/fhir/StructureDefinition/DV-PROPORTION"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/DV-INTERVAL"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "DV_PROPORTION.other-reference-ranges" ] ;
fhir:path [ fhir:v "DV_PROPORTION.other_reference_ranges" ] ;
fhir:short [ fhir:v "Optional tagged other reference ranges for this value in its particular measurement context." ] ;
fhir:definition [ fhir:v "Optional tagged other reference ranges for this value in its particular measurement context." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "T"             ]           ] [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "http://openehr.org/fhir/StructureDefinition/DV-PROPORTION"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE"^^xsd:anyURI ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] )
  ] . #