Mongolian HDIT Implementation guide
1.0.0 - Review
Mongolian HDIT Implementation guide - Local Development build (v1.0.0). See the Directory of published versions
Source view
@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 "mng-past-condition"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; 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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mng-past-condition-definitions.html#Condition\">Condition</a><a name=\"Condition\"> </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=\"StructureDefinition-mng-condition.html\">ConditionMn</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\">Detailed information about conditions, problems or diagnoses</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_bck12.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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mng-past-condition-definitions.html#Condition.extension\">extension</a><a name=\"Condition.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span><br/><span style=\"font-weight:bold\">Slice: </span>Unordered, Open by value:url</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_bck15.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_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mng-past-condition-definitions.html#Condition.extension:resolution\" title=\"Slice resolution\">extension:resolution</a><a name=\"Condition.extension\"> </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\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</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\">Extension</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_bck150.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <span style=\"text-decoration:line-through\">extension</span><a name=\"Condition.extension.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"text-decoration:line-through\"/><span style=\"text-decoration:line-through\">0</span><span style=\"text-decoration:line-through\">..</span><span style=\"text-decoration:line-through\">0</span></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\"/></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_bck150.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.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-mng-past-condition-definitions.html#Condition.extension:resolution.url\">url</a><a name=\"Condition.extension.url\"> </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\">1</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 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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"color: darkgreen\">"resolution"</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_bck152.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-mng-past-condition-definitions.html#Condition.extension:resolution.value[x]\">value[x]</a><a name=\"Condition.extension.value_x_\"> </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\"><span style=\"font-style: italic\"/><span style=\"font-style: italic\">1</span><span style=\"font-style: italic\">..</span><span style=\"font-style: italic\">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=\"font-style: italic\" href=\"http://hl7.org/fhir/R4/profiling.html#slicing\">(Slice Definition)</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; font-style: italic\">Value of extension</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by type:$this</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_bck140.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.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-mng-past-condition-definitions.html#Condition.extension:resolution.valueCodeableConcept\">valueCodeableConcept</a><a name=\"Condition.extension.valueCodeableConcept\"> </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\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</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\">Value of extension</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/sid/icd-9\">http://hl7.org/fhir/sid/icd-9</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</td></tr>\r\n<tr 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-mng-past-condition-definitions.html#Condition.onset[x]\">onset[x]</a><a name=\"Condition.onset_x_\"> </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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Age\">Age</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Range\">Range</a><span style=\"opacity: 0.5\">, </span><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: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Estimated or actual date, date-time, or age</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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-mng-past-condition-definitions.html#Condition.abatement[x]\">abatement[x]</a><a name=\"Condition.abatement_x_\"> </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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Age\">Age</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Range\">Range</a><span style=\"opacity: 0.5\">, </span><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\">When in resolution/remission</span></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.mn/StructureDefinition/mng-past-condition"]; fhir:StructureDefinition.version [ fhir:value "1.0.0"]; fhir:StructureDefinition.name [ fhir:value "PastConditionMn"]; fhir:StructureDefinition.title [ fhir:value "ConditionMn"]; fhir:StructureDefinition.status [ fhir:value "active"]; fhir:StructureDefinition.date [ fhir:value "2021-10-12T23:24:32+02:00"^^xsd:dateTime]; fhir:StructureDefinition.publisher [ fhir:value "http://fhir.mn"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.name [ fhir:value "Pétur Þór Valdimarsson" ]; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://fhir.mn" ] ], [ fhir:index 1; fhir:ContactPoint.system [ fhir:value "email" ]; fhir:ContactPoint.value [ fhir:value "petur.valdimarsson@chorus.se" ] ] ]; fhir:StructureDefinition.description [ fhir:value "Resource for tracking past, resolved, conditions."]; fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ]; fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ] ], [ fhir:index 1; fhir:StructureDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://snomed.info/conceptdomain" ]; fhir:StructureDefinition.mapping.name [ fhir:value "SNOMED CT Concept Domain Binding" ] ], [ fhir:index 2; 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 3; 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:index 4; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ]; fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ] ], [ fhir:index 5; fhir:StructureDefinition.mapping.identity [ fhir:value "sct-attr" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://snomed.org/attributebinding" ]; fhir:StructureDefinition.mapping.name [ fhir:value "SNOMED CT Attribute Binding" ] ]; fhir:StructureDefinition.kind [ fhir:value "resource"]; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "Condition"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://fhir.mn/StructureDefinition/mng-condition"; fhir:link <http://fhir.mn/StructureDefinition/mng-condition> ]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.snapshot.element [ fhir:index 0; fhir:Element.id [ fhir:value "Condition" ]; fhir:ElementDefinition.path [ fhir:value "Condition" ]; fhir:ElementDefinition.short [ fhir:value "Detailed information about conditions, problems or diagnoses" ]; fhir:ElementDefinition.definition [ fhir:value "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ]; fhir:Extension.valueMarkdown [ fhir:value "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis." ] ]; fhir:ElementDefinition.constraint.key [ fhir:value "con-3" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition"; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "con-4" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition"; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ], [ fhir:index 2; fhir:ElementDefinition.constraint.key [ fhir:value "con-5" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Condition"; fhir:link <http://hl7.org/fhir/StructureDefinition/Condition> ] ], [ fhir:index 3; fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 4; fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 5; fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 6; fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 7; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ]; fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ]; fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ]; fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource"; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ]; 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 "Entity. Role, or Act" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PPR message" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Condition.id" ]; fhir:ElementDefinition.path [ fhir:value "Condition.id" ]; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ]; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ]; fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.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 "true"^^xsd:boolean ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Condition.meta" ]; fhir:ElementDefinition.path [ fhir:value "Condition.meta" ]; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ]; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ]; 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 "Meta" ] ]; 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:index 3; fhir:Element.id [ fhir:value "Condition.implicitRules" ]; fhir:ElementDefinition.path [ fhir:value "Condition.implicitRules" ]; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ]; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ]; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ]; 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.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 element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Condition.language" ]; fhir:ElementDefinition.path [ fhir:value "Condition.language" ]; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ]; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ]; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ]; 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 "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ]; fhir:Extension.valueCanonical [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages"; fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "Language" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages"; fhir:link <http://hl7.org/fhir/ValueSet/languages> ] ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Condition.text" ]; fhir:ElementDefinition.path [ fhir:value "Condition.text" ]; fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ]; fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ]; fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ]; fhir:ElementDefinition.alias [ fhir:value "narrative"; fhir:index 0 ], [ fhir:value "html"; fhir:index 1 ], [ fhir:value "xhtml"; fhir:index 2 ], [ fhir:value "display"; fhir:index 3 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ]; 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 "Narrative" ] ]; 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 "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Condition.contained" ]; fhir:ElementDefinition.path [ fhir:value "Condition.contained" ]; fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ]; fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ]; fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ]; fhir:ElementDefinition.alias [ fhir:value "inline resources"; fhir:index 0 ], [ fhir:value "anonymous resources"; fhir:index 1 ], [ fhir:value "contained resources"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ]; 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 "Resource" ] ]; 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 7; fhir:Element.id [ fhir:value "Condition.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.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.ordered [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ]; fhir:ElementDefinition.short [ fhir:value "Extension" ]; fhir:ElementDefinition.definition [ fhir:value "An Extension" ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.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:index 8; fhir:Element.id [ fhir:value "Condition.extension:resolution" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension" ]; fhir:ElementDefinition.sliceName [ fhir:value "resolution" ]; fhir:ElementDefinition.short [ fhir:value "Extension" ]; fhir:ElementDefinition.definition [ fhir:value "An Extension" ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.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.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ], [ fhir:index 9; fhir:Element.id [ fhir:value "Condition.extension:resolution.id" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.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 10; fhir:Element.id [ fhir:value "Condition.extension:resolution.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.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 "Extension" ]; fhir:ElementDefinition.definition [ fhir:value "An Extension" ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "0" ]; 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:index 11; fhir:Element.id [ fhir:value "Condition.extension:resolution.url" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.url" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ]; fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ]; fhir:ElementDefinition.comment [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Extension.url" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^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 "uri" ] ]; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.fixedUri [ fhir:value "resolution" ]; 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 12; fhir:Element.id [ fhir:value "Condition.extension:resolution.value[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.value[x]" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ]; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ]; fhir:ElementDefinition.short [ fhir:value "Value of extension" ]; fhir:ElementDefinition.definition [ fhir:value "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Extension.value[x]" ]; 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 "CodeableConcept" ] ]; 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 "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 13; fhir:Element.id [ fhir:value "Condition.extension:resolution.value[x]:valueCodeableConcept" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.value[x]" ]; fhir:ElementDefinition.sliceName [ fhir:value "valueCodeableConcept" ]; fhir:ElementDefinition.short [ fhir:value "Value of extension" ]; fhir:ElementDefinition.definition [ fhir:value "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Extension.value[x]" ]; 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 "CodeableConcept" ] ]; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/sid/icd-9"; fhir:link <http://hl7.org/fhir/sid/icd-9> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 14; fhir:Element.id [ fhir:value "Condition.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; 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 "DomainResource.modifierExtension" ]; 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 "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ]; 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 15; fhir:Element.id [ fhir:value "Condition.identifier" ]; fhir:ElementDefinition.path [ fhir:value "Condition.identifier" ]; fhir:ElementDefinition.short [ fhir:value "External Ids for this condition" ]; fhir:ElementDefinition.definition [ fhir:value "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server." ]; fhir:ElementDefinition.comment [ fhir:value "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number." ]; fhir:ElementDefinition.requirements [ fhir:value "Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.identifier" ]; 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 "Identifier" ] ]; 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 "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.identifier" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 16; fhir:Element.id [ fhir:value "Condition.clinicalStatus" ]; fhir:ElementDefinition.path [ fhir:value "Condition.clinicalStatus" ]; fhir:ElementDefinition.short [ fhir:value "active | recurrence | relapse | inactive | remission | resolved" ]; fhir:ElementDefinition.definition [ fhir:value "The clinical status of the condition." ]; fhir:ElementDefinition.comment [ fhir:value "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.clinicalStatus" ]; 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 "CodeableConcept" ] ]; fhir:ElementDefinition.condition [ fhir:value "con-3"; fhir:index 0 ], [ fhir:value "con-4"; fhir:index 1 ], [ fhir:value "con-5"; fhir:index 2 ]; 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 element is labeled as a modifier because the status contains codes that mark the condition as no longer active." ]; 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 "ConditionClinicalStatus" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "The clinical status of the condition or diagnosis." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1"; fhir:link <http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.status" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 303105007 |Disease phases|" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-14" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" ] ] ], [ fhir:index 17; fhir:Element.id [ fhir:value "Condition.verificationStatus" ]; fhir:ElementDefinition.path [ fhir:value "Condition.verificationStatus" ]; fhir:ElementDefinition.short [ fhir:value "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error" ]; fhir:ElementDefinition.definition [ fhir:value "The verification status to support the clinical status of the condition." ]; fhir:ElementDefinition.comment [ fhir:value "verificationStatus is not required. For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.verificationStatus" ]; 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 "CodeableConcept" ] ]; fhir:ElementDefinition.condition [ fhir:value "con-3"; fhir:index 0 ], [ fhir:value "con-5"; fhir:index 1 ]; 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 element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid." ]; 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 "ConditionVerificationStatus" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "The verification status to support or decline the clinical status of the condition or diagnosis." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1"; fhir:link <http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.status" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 410514004 |Finding context value|" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-13" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" ] ], [ fhir:index 5; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ]; fhir:ElementDefinition.mapping.map [ fhir:value "408729009" ] ] ], [ fhir:index 18; fhir:Element.id [ fhir:value "Condition.category" ]; fhir:ElementDefinition.path [ fhir:value "Condition.category" ]; fhir:ElementDefinition.short [ fhir:value "problem-list-item | encounter-diagnosis" ]; fhir:ElementDefinition.definition [ fhir:value "A category assigned to the condition." ]; fhir:ElementDefinition.comment [ fhir:value "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.category" ]; 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 "CodeableConcept" ] ]; 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 "false"^^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 "ConditionCategory" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ]; fhir:ElementDefinition.binding.description [ fhir:value "A category assigned to the condition." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-category"; fhir:link <http://hl7.org/fhir/ValueSet/condition-category> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 404684003 |Clinical finding|" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 19; fhir:Element.id [ fhir:value "Condition.severity" ]; fhir:ElementDefinition.path [ fhir:value "Condition.severity" ]; fhir:ElementDefinition.short [ fhir:value "Subjective severity of condition" ]; fhir:ElementDefinition.definition [ fhir:value "A subjective assessment of the severity of the condition as evaluated by the clinician." ]; fhir:ElementDefinition.comment [ fhir:value "Coding of the severity with a terminology is preferred, where possible." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.severity" ]; 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 "CodeableConcept" ] ]; 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 "false"^^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 "ConditionSeverity" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ]; fhir:ElementDefinition.binding.description [ fhir:value "A subjective assessment of the severity of the condition as evaluated by the clinician." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-severity"; fhir:link <http://hl7.org/fhir/ValueSet/condition-severity> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.grade" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 272141005 |Severities|" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-26 / ABS-3" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Can be pre/post-coordinated into value. Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ]; fhir:ElementDefinition.mapping.map [ fhir:value "246112005" ] ] ], [ fhir:index 20; fhir:Element.id [ fhir:value "Condition.code" ]; fhir:ElementDefinition.path [ fhir:value "Condition.code" ]; fhir:ElementDefinition.short [ fhir:value "Identification of the condition, problem or diagnosis" ]; fhir:ElementDefinition.definition [ fhir:value "Identification of the condition, problem or diagnosis." ]; fhir:ElementDefinition.requirements [ fhir:value "0..1 to account for primarily narrative only resources." ]; fhir:ElementDefinition.alias [ fhir:value "type"; fhir:index 0 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.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 "CodeableConcept" ] ]; 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:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "ConditionKind" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "Identification of the condition or diagnosis." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-code"; fhir:link <http://hl7.org/fhir/ValueSet/condition-code> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.code" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.what[x]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-3" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".value" ] ], [ fhir:index 5; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ]; fhir:ElementDefinition.mapping.map [ fhir:value "246090004" ] ] ], [ fhir:index 21; fhir:Element.id [ fhir:value "Condition.bodySite" ]; fhir:ElementDefinition.path [ fhir:value "Condition.bodySite" ]; fhir:ElementDefinition.short [ fhir:value "Anatomical location, if relevant" ]; fhir:ElementDefinition.definition [ fhir:value "The anatomical location where this condition manifests itself." ]; fhir:ElementDefinition.comment [ fhir:value "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.bodySite" ]; 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 "CodeableConcept" ] ]; 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:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "BodySite" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "Codes describing anatomical locations. May include laterality." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/body-site"; fhir:link <http://hl7.org/fhir/ValueSet/body-site> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 442083009 |Anatomical or acquired body structure|" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".targetBodySiteCode" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ]; fhir:ElementDefinition.mapping.map [ fhir:value "363698007" ] ] ], [ fhir:index 22; fhir:Element.id [ fhir:value "Condition.subject" ]; fhir:ElementDefinition.path [ fhir:value "Condition.subject" ]; fhir:ElementDefinition.short [ fhir:value "Who has the condition?" ]; fhir:ElementDefinition.definition [ fhir:value "Indicates the patient or group who the condition record is associated with." ]; fhir:ElementDefinition.requirements [ fhir:value "Group is typically used for veterinary or public health use cases." ]; fhir:ElementDefinition.alias [ fhir:value "patient"; fhir:index 0 ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.subject" ]; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-patient"; fhir:index 0; fhir:link <http://fhir.mn/StructureDefinition/mng-core-patient> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Group"; fhir:index 1; fhir:link <http://hl7.org/fhir/StructureDefinition/Group> ] ]; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; 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 "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.subject" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PID-3" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].role[classCode=PAT]" ] ], [ fhir:index 4; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ] ] ], [ fhir:index 23; fhir:Element.id [ fhir:value "Condition.encounter" ]; fhir:ElementDefinition.path [ fhir:value "Condition.encounter" ]; fhir:ElementDefinition.short [ fhir:value "Encounter created as part of" ]; fhir:ElementDefinition.definition [ fhir:value "The Encounter during which this Condition was created or to which the creation of this record is tightly associated." ]; fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with. In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\"." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.encounter" ]; 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 "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter> ] ]; 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 "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.context" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PV1-19 (+PV1-54)" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ] ] ], [ fhir:index 24; fhir:Element.id [ fhir:value "Condition.onset[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.onset[x]" ]; fhir:ElementDefinition.short [ fhir:value "Estimated or actual date, date-time, or age" ]; fhir:ElementDefinition.definition [ fhir:value "Estimated or actual date or date-time the condition began, in the opinion of the clinician." ]; fhir:ElementDefinition.comment [ fhir:value "Age is generally used when the patient reports an age at which the Condition began to occur." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.onset[x]" ]; 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 "dateTime" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Age" ] ], [ fhir:index 2; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ], [ fhir:index 3; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 4; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; 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 "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.occurrence[x]" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.init" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-16" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value" ] ] ], [ fhir:index 25; fhir:Element.id [ fhir:value "Condition.abatement[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.abatement[x]" ]; fhir:ElementDefinition.short [ fhir:value "When in resolution/remission" ]; fhir:ElementDefinition.definition [ fhir:value "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate." ]; fhir:ElementDefinition.comment [ fhir:value "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated. If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid. When abatementString exists, it implies the condition is abated." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.abatement[x]" ]; 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 "dateTime" ] ], [ fhir:index 1; fhir:ElementDefinition.type.code [ fhir:value "Age" ] ], [ fhir:index 2; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ], [ fhir:index 3; fhir:ElementDefinition.type.code [ fhir:value "Range" ] ], [ fhir:index 4; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.condition [ fhir:value "con-4"; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; 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 "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed" ] ] ], [ fhir:index 26; fhir:Element.id [ fhir:value "Condition.recordedDate" ]; fhir:ElementDefinition.path [ fhir:value "Condition.recordedDate" ]; fhir:ElementDefinition.short [ fhir:value "Date record was first recorded" ]; fhir:ElementDefinition.definition [ fhir:value "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.recordedDate" ]; 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 "dateTime" ] ]; 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 "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.recorded" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "REL-11" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].time" ] ] ], [ fhir:index 27; fhir:Element.id [ fhir:value "Condition.recorder" ]; fhir:ElementDefinition.path [ fhir:value "Condition.recorder" ]; fhir:ElementDefinition.short [ fhir:value "Who recorded the condition" ]; fhir:ElementDefinition.definition [ fhir:value "Individual who recorded the record and takes responsibility for its content." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.recorder" ]; 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 "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-practitioner"; fhir:index 0; fhir:link <http://fhir.mn/StructureDefinition/mng-core-practitioner> ], [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-practitioner-role"; fhir:index 1; fhir:link <http://fhir.mn/StructureDefinition/mng-core-practitioner-role> ], [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-patient"; fhir:index 2; fhir:link <http://fhir.mn/StructureDefinition/mng-core-patient> ] ]; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; 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 "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.author" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ] ] ], [ fhir:index 28; fhir:Element.id [ fhir:value "Condition.asserter" ]; fhir:ElementDefinition.path [ fhir:value "Condition.asserter" ]; fhir:ElementDefinition.short [ fhir:value "Person who asserts this condition" ]; fhir:ElementDefinition.definition [ fhir:value "Individual who is making the condition statement." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.asserter" ]; 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 "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-practitioner"; fhir:index 0; fhir:link <http://fhir.mn/StructureDefinition/mng-core-practitioner> ], [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-practitioner-role"; fhir:index 1; fhir:link <http://fhir.mn/StructureDefinition/mng-core-practitioner-role> ], [ fhir:value "http://fhir.mn/StructureDefinition/mng-core-patient"; fhir:index 2; fhir:link <http://fhir.mn/StructureDefinition/mng-core-patient> ] ]; 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.mustSupport [ fhir:value "true"^^xsd:boolean ]; 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 "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.source" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "REL-7.1 identifier + REL-7.12 type code" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=INF].role" ] ] ], [ fhir:index 29; fhir:Element.id [ fhir:value "Condition.stage" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage" ]; fhir:ElementDefinition.short [ fhir:value "Stage/grade, usually assessed formally" ]; fhir:ElementDefinition.definition [ fhir:value "Clinical stage or grade of a condition. May include formal severity assessments." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.stage" ]; 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 "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "con-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Stage SHALL have summary or assessment" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "summary.exists() or assessment.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:summary) or exists(f:assessment)" ] ], [ fhir:index 1; 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 "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" ] ] ], [ fhir:index 30; fhir:Element.id [ fhir:value "Condition.stage.id" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.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 31; fhir:Element.id [ fhir:value "Condition.stage.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.extension" ]; 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 32; fhir:Element.id [ fhir:value "Condition.stage.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ], [ fhir:value "modifiers"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; 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 "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^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 33; fhir:Element.id [ fhir:value "Condition.stage.summary" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.summary" ]; fhir:ElementDefinition.short [ fhir:value "Simple summary (disease specific)" ]; fhir:ElementDefinition.definition [ fhir:value "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.stage.summary" ]; 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 "CodeableConcept" ] ]; fhir:ElementDefinition.condition [ fhir:value "con-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:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^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 "ConditionStage" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "Codes describing condition stages (e.g. Cancer stages)." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-stage"; fhir:link <http://hl7.org/fhir/ValueSet/condition-stage> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 254291000 |Staging and scales|" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "PRB-14" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".value" ] ] ], [ fhir:index 34; fhir:Element.id [ fhir:value "Condition.stage.assessment" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.assessment" ]; fhir:ElementDefinition.short [ fhir:value "Formal record of assessment" ]; fhir:ElementDefinition.definition [ fhir:value "Reference to a formal record of the evidence on which the staging assessment is based." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.stage.assessment" ]; 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 "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/ClinicalImpression> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"; fhir:index 1; fhir:link <http://hl7.org/fhir/StructureDefinition/DiagnosticReport> ], [ fhir:value "http://hl7.org/fhir/StructureDefinition/Observation"; fhir:index 2; fhir:link <http://hl7.org/fhir/StructureDefinition/Observation> ] ]; fhir:ElementDefinition.condition [ fhir:value "con-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: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 ".self" ] ] ], [ fhir:index 35; fhir:Element.id [ fhir:value "Condition.stage.type" ]; fhir:ElementDefinition.path [ fhir:value "Condition.stage.type" ]; fhir:ElementDefinition.short [ fhir:value "Kind of staging" ]; fhir:ElementDefinition.definition [ fhir:value "The kind of staging, such as pathological or clinical staging." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.stage.type" ]; 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 "CodeableConcept" ] ]; 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 "false"^^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 "ConditionStageType" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "Codes describing the kind of condition staging (e.g. clinical or pathological)." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/condition-stage-type"; fhir:link <http://hl7.org/fhir/ValueSet/condition-stage-type> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]" ] ] ], [ fhir:index 36; fhir:Element.id [ fhir:value "Condition.evidence" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence" ]; fhir:ElementDefinition.short [ fhir:value "Supporting evidence" ]; fhir:ElementDefinition.definition [ fhir:value "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition." ]; fhir:ElementDefinition.comment [ fhir:value "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence" ]; 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 "BackboneElement" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "con-2" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "evidence SHALL have code or details" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "code.exists() or detail.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:code) or exists(f:detail)" ] ], [ fhir:index 1; 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 "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" ] ] ], [ fhir:index 37; fhir:Element.id [ fhir:value "Condition.evidence.id" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence.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 38; fhir:Element.id [ fhir:value "Condition.evidence.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence.extension" ]; 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 39; fhir:Element.id [ fhir:value "Condition.evidence.modifierExtension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence.modifierExtension" ]; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ]; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ]; 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.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ], [ fhir:value "modifiers"; fhir:index 2 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ]; 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 "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^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 40; fhir:Element.id [ fhir:value "Condition.evidence.code" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence.code" ]; fhir:ElementDefinition.short [ fhir:value "Manifestation/symptom" ]; fhir:ElementDefinition.definition [ fhir:value "A manifestation or symptom that led to the recording of this condition." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence.code" ]; 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 "CodeableConcept" ] ]; fhir:ElementDefinition.condition [ fhir:value "con-2"; 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.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "ManifestationOrSymptom" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "example" ]; fhir:ElementDefinition.binding.description [ fhir:value "Codes that describe the manifestation or symptoms of a condition." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"; fhir:link <http://hl7.org/fhir/ValueSet/manifestation-or-symptom> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.reasonCode" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ]; fhir:ElementDefinition.mapping.map [ fhir:value "< 404684003 |Clinical finding|" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "[code=\"diagnosis\"].value" ] ] ], [ fhir:index 41; fhir:Element.id [ fhir:value "Condition.evidence.detail" ]; fhir:ElementDefinition.path [ fhir:value "Condition.evidence.detail" ]; fhir:ElementDefinition.short [ fhir:value "Supporting information found elsewhere" ]; fhir:ElementDefinition.definition [ fhir:value "Links to other relevant information, including pathology reports." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence.detail" ]; 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 "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource> ] ]; fhir:ElementDefinition.condition [ fhir:value "con-2"; 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 "w5" ]; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".self" ] ] ], [ fhir:index 42; fhir:Element.id [ fhir:value "Condition.note" ]; fhir:ElementDefinition.path [ fhir:value "Condition.note" ]; fhir:ElementDefinition.short [ fhir:value "Additional information about the Condition" ]; fhir:ElementDefinition.definition [ fhir:value "Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Condition.note" ]; 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 "Annotation" ] ]; 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 "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Event.note" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "NTE child of PRB" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "Condition" ]; fhir:ElementDefinition.path [ fhir:value "Condition" ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Condition.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.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.ordered [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Condition.extension:resolution" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension" ]; fhir:ElementDefinition.sliceName [ fhir:value "resolution" ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Condition.extension:resolution.extension" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.extension" ]; fhir:ElementDefinition.max [ fhir:value "0" ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Condition.extension:resolution.url" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.url" ]; fhir:ElementDefinition.fixedUri [ fhir:value "resolution" ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Condition.extension:resolution.value[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.value[x]" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ]; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Condition.extension:resolution.valueCodeableConcept" ]; fhir:ElementDefinition.path [ fhir:value "Condition.extension.valueCodeableConcept" ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/sid/icd-9"; fhir:link <http://hl7.org/fhir/sid/icd-9> ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Condition.onset[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.onset[x]" ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "Condition.abatement[x]" ]; fhir:ElementDefinition.path [ fhir:value "Condition.abatement[x]" ]; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ] ]. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.