eHealth Infrastructure (v2020.8)


{
  "resourceType" : "StructureDefinition",
  "id" : "ehealth-media",
  "text" : {
    "status" : "extensions",
    "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/STU3/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/STU3/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/STU3/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/STU3/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/STU3/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/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\"/> Media<a name=\"Media\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/media.html\">Media</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">A photo, video, or audio recording acquired or used in healthcare.</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\"/> extension<a name=\"Media.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/STU3/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_bck14.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\"/> <span title=\"Extension URL = http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality\">ehealth-quality</span><a name=\"Media.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\"/><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\">(Complex)</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\">Minimum requirements for qualities</span><br/><span style=\"font-weight:bold\">URL: </span><a href=\"http://hl7.org/fhir/STU3/StructureDefinition-ehealth-quality.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> basedOn<a name=\"Media.basedOn\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-ehealth-procedurerequest.html\">eHealth ProcedureRequest</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</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\">Procedure that caused this media to be created</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_bck11.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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> subject<a name=\"Media.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-ehealth-patient.html\">eHealth Patient</a> | <a href=\"StructureDefinition-ehealth-practitioner.html\">eHealth Practitioner</a> | <a href=\"http://hl7.org/fhir/STU3/group.html\">Group</a> | <a href=\"StructureDefinition-ehealth-device.html\">eHealth Device</a> | <a href=\"http://hl7.org/fhir/STU3/specimen.html\">Specimen</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</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\">Who/What this Media is a record of</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_bck100.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.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\"/> reference<a name=\"Media.subject.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/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\">Literal reference, Relative, internal or absolute URL</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> context<a name=\"Media.context\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/STU3/encounter.html\">Encounter</a> | <a href=\"StructureDefinition-ehealth-episodeofcare.html\">eHealth EpisodeOfCare</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</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\">Encounter / Episode associated with media</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> occurrence[x]<a name=\"Media.occurrence_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\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#dateTime\">dateTime</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Period\">Period</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\">When Media was collected</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> operator<a name=\"Media.operator\"> </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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-ehealth-practitioner.html\">eHealth Practitioner</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</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\">The person who generated the image</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> device<a name=\"Media.device\"> </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\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"StructureDefinition-ehealth-device.html\">eHealth Device</a> | <a href=\"StructureDefinition-ehealth-devicemetric.html\">eHealth DeviceMetric</a>)<a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\"> {</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\" title=\"The reference to a resource that has to be resolved externally to the resource that includes the reference.\">r</a><a href=\"http://hl7.org/fhir/STU3/valueset-resource-aggregation-mode.html\">}</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\">Observing Device</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_bck01.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\"/> note<a name=\"Media.note\"> </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\"/><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\"/></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_bck001.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_choice.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\"/> author[x]<a name=\"Media.note.author_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=\"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\"/><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\">Individual responsible for the annotation</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_bck0010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> authorReference</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\"></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html#Reference\">Reference</a>(<a href=\"StructureDefinition-ehealth-practitioner.html\">eHealth Practitioner</a> | <a href=\"StructureDefinition-ehealth-patient.html\">eHealth Patient</a> | <a href=\"StructureDefinition-ehealth-relatedperson.html\">eHealth RelatedPerson</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; 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: #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_bck0000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <span title=\"Base StructureDefinition for string Type: A sequence of Unicode characters\">authorString</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\"></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/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\"/></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://hl7.org/fhir/STU3/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media",
  "name" : "ehealth-media",
  "title" : "eHealth Media",
  "status" : "draft",
  "date" : "2021-01-07T13:26:31+00:00",
  "publisher" : "ehealth.sundhed.dk",
  "fhirVersion" : "3.0.2",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "dicom",
      "uri" : "http://nema.org/dicom",
      "name" : "DICOM Tag Mapping"
    },
    {
      "identity" : "sct-concept",
      "uri" : "http://snomed.info/conceptdomain",
      "name" : "SNOMED CT Concept Domain Binding"
    },
    {
      "identity" : "sct-attr",
      "uri" : "http://snomed.info/sct",
      "name" : "SNOMED CT Attribute Binding"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Media",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Media",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "Media",
        "path" : "Media",
        "short" : "A photo, video, or audio recording acquired or used in healthcare.",
        "definition" : "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Media",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-1",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression" : "contained.text.empty()",
            "xpath" : "not(parent::f:contained and f:text)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "mda-1",
            "severity" : "error",
            "human" : "Height can only be used for a photo or video",
            "expression" : "height.empty() or type != 'audio'",
            "xpath" : "not(f:type/@value='audio') or not(f:height)",
            "source" : "http://hl7.org/fhir/StructureDefinition/Media"
          },
          {
            "key" : "mda-2",
            "severity" : "error",
            "human" : "Width can only be used for a photo or video",
            "expression" : "width.empty() or type != 'audio'",
            "xpath" : "not(f:type/@value='audio') or not(f:width)",
            "source" : "http://hl7.org/fhir/StructureDefinition/Media"
          },
          {
            "key" : "mda-3",
            "severity" : "error",
            "human" : "Frames can only be used for a photo",
            "expression" : "frames.empty() or type = 'photo'",
            "xpath" : "(f:type/@value='photo') or not(f:frames)",
            "source" : "http://hl7.org/fhir/StructureDefinition/Media"
          },
          {
            "key" : "mda-4",
            "severity" : "error",
            "human" : "Duration can only be used for an audio or a video",
            "expression" : "duration.empty() or type != 'photo'",
            "xpath" : "not(f:type/@value='photo') or not(f:duration)",
            "source" : "http://hl7.org/fhir/StructureDefinition/Media"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "rim",
            "map" : "Act[classCode=\"DGIMG\", moodCode=\"EVN\"]"
          },
          {
            "identity" : "w5",
            "map" : "infrastructure.structure"
          }
        ]
      },
      {
        "id" : "Media.id",
        "path" : "Media.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Media.meta",
        "path" : "Media.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Media.implicitRules",
        "path" : "Media.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comment" : "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Media.language",
        "path" : "Media.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "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).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "Media.text",
        "path" : "Media.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may 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.",
        "comment" : "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 in formation is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "dom-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Media.contained",
        "path" : "Media.contained",
        "short" : "Contained, inline Resources",
        "definition" : "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.",
        "comment" : "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.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Media.extension",
        "path" : "Media.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ]
      },
      {
        "id" : "Media.extension:quality",
        "path" : "Media.extension",
        "sliceName" : "quality",
        "short" : "Minimum requirements for qualities",
        "definition" : "The minimum requirements for qualities",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ]
      },
      {
        "id" : "Media.modifierExtension",
        "path" : "Media.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "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. Usually modifier elements provide negation or qualification. In order 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.",
        "comment" : "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.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Media.identifier",
        "path" : "Media.identifier",
        "short" : "Identifier(s) for the image",
        "definition" : "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.",
        "comment" : "The identifier label and use can be used to determine what kind of identifier it is.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Media.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "dicom",
            "map" : "0008,0018 | ~0008,0050 | 0020,000D | 0020,000E"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Media.basedOn",
        "path" : "Media.basedOn",
        "short" : "Procedure that caused this media to be created",
        "definition" : "A procedure that is fulfilled in whole or in part by the creation of this media.",
        "requirements" : "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
        "alias" : [
          "fulfills"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.basedOn",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=FLFS].target"
          }
        ]
      },
      {
        "id" : "Media.type",
        "path" : "Media.type",
        "short" : "photo | video | audio",
        "definition" : "Whether the media is a photo (still image), an audio recording, or a video recording.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.type",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DigitalMediaType"
            }
          ],
          "strength" : "required",
          "description" : "Whether the media is a photo, video, or audio",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/digital-media-type"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "Media.subtype",
        "path" : "Media.subtype",
        "short" : "The type of acquisition equipment/process",
        "definition" : "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.subtype",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DigitalMediaSubtype"
            }
          ],
          "strength" : "example",
          "description" : "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/digital-media-subtype"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code"
          },
          {
            "identity" : "dicom",
            "map" : "0008,0060 | 0008,1032"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "Media.view",
        "path" : "Media.view",
        "short" : "Imaging view, e.g. Lateral or Antero-posterior",
        "definition" : "The name of the imaging view e.g. Lateral or Antero-posterior (AP).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.view",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MediaView"
            }
          ],
          "strength" : "example",
          "description" : "Imaging view (projection) used when collecting an image",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/media-view"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "DiagnosticImage.subjectOrientationCode"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "Media.subject",
        "path" : "Media.subject",
        "short" : "Who/What this Media is a record of",
        "definition" : "Who/What this Media is a record of.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.subject",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Specimen"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=\"SUBJ\"]???"
          },
          {
            "identity" : "dicom",
            "map" : "~0010,0020"
          },
          {
            "identity" : "w5",
            "map" : "who.focus"
          }
        ]
      },
      {
        "id" : "Media.subject.id",
        "path" : "Media.subject.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Media.subject.extension",
        "path" : "Media.subject.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comment" : "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.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Media.subject.reference",
        "path" : "Media.subject.reference",
        "short" : "Literal reference, Relative, internal or absolute URL",
        "definition" : "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment" : "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Reference.reference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ref-1"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Media.subject.identifier",
        "path" : "Media.subject.identifier",
        "short" : "Logical reference, when literal reference is not known",
        "definition" : "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment" : "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.identifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".identifier"
          }
        ]
      },
      {
        "id" : "Media.subject.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "Media.subject.display",
        "short" : "Text alternative for the resource",
        "definition" : "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment" : "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Media.context",
        "path" : "Media.context",
        "short" : "Encounter / Episode associated with media",
        "definition" : "The encounter or episode of care that establishes the context for this media.",
        "comment" : "This will typically be the encounter the media occurred within.",
        "requirements" : "Links the media to the Encounter context.",
        "alias" : [
          "encounter"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.context",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "Media.occurrence[x]",
        "path" : "Media.occurrence[x]",
        "short" : "When Media was collected",
        "definition" : "The date and time(s) at which the media was collected.",
        "alias" : [
          "timing"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.occurrence[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "Media.operator",
        "path" : "Media.operator",
        "short" : "The person who generated the image",
        "definition" : "The person who administered the collection of the image.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.operator",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=\"PERF\"]???"
          },
          {
            "identity" : "dicom",
            "map" : "0008,1060?"
          },
          {
            "identity" : "w5",
            "map" : "who.actor"
          }
        ]
      },
      {
        "id" : "Media.reasonCode",
        "path" : "Media.reasonCode",
        "short" : "Why was event performed?",
        "definition" : "Describes why the event occurred in coded or textual form.",
        "comment" : "Textual reasons can be caprued using reasonCode.text.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Media.reasonCode",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MediaReason"
            }
          ],
          "strength" : "example",
          "description" : "The reason for the media",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/procedure-reason"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".reasonCode"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "Media.bodySite",
        "path" : "Media.bodySite",
        "short" : "Body part in media",
        "definition" : "Indicates the site on the subject's body where the media was collected (i.e. the target site).",
        "comment" : "If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](http://hl7.org/fhir/STU3/extension-body-site-instance.html).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.bodySite",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "BodySite"
            }
          ],
          "strength" : "example",
          "description" : "Codes describing anatomical locations. May include laterality.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 123037004 |Body structure|"
          },
          {
            "identity" : "rim",
            "map" : "targetSiteCode"
          },
          {
            "identity" : "sct-attr",
            "map" : "718497002 |Inherent location|"
          }
        ]
      },
      {
        "id" : "Media.device",
        "path" : "Media.device",
        "short" : "Observing Device",
        "definition" : "The device used to collect the media.",
        "comment" : "An extension should be used if further typing of the device is needed.  Scondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.device",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 49062001 |Device|"
          },
          {
            "identity" : "rim",
            "map" : "participation[typeCode=DEV]"
          },
          {
            "identity" : "sct-attr",
            "map" : "424226004 |Using device|"
          }
        ]
      },
      {
        "id" : "Media.height",
        "path" : "Media.height",
        "short" : "Height of the image in pixels (photo/video)",
        "definition" : "Height of the image in pixels (photo/video).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.height",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "positiveInt"
          }
        ],
        "condition" : [
          "mda-1"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
          },
          {
            "identity" : "dicom",
            "map" : "0028,0010"
          }
        ]
      },
      {
        "id" : "Media.width",
        "path" : "Media.width",
        "short" : "Width of the image in pixels (photo/video)",
        "definition" : "Width of the image in pixels (photo/video).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.width",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "positiveInt"
          }
        ],
        "condition" : [
          "mda-2"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
          },
          {
            "identity" : "dicom",
            "map" : "0028,0011"
          }
        ]
      },
      {
        "id" : "Media.frames",
        "path" : "Media.frames",
        "short" : "Number of frames if > 1 (photo)",
        "definition" : "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.frames",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "positiveInt"
          }
        ],
        "defaultValuePositiveInt" : 1,
        "condition" : [
          "mda-3"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
          }
        ]
      },
      {
        "id" : "Media.duration",
        "path" : "Media.duration",
        "short" : "Length in seconds (audio / video)",
        "definition" : "The duration of the recording in seconds - for audio and video.",
        "comment" : "The duration might differ from occurrencePeriod if recording was paused.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Media.duration",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "unsignedInt"
          }
        ],
        "condition" : [
          "mda-4"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value"
          },
          {
            "identity" : "dicom",
            "map" : "~0028,0002"
          }
        ]
      },
      {
        "id" : "Media.content",
        "path" : "Media.content",
        "short" : "Actual Media - reference or data",
        "definition" : "The actual content of the media - inline or by direct reference to the media source file.",
        "comment" : "Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter.  For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Media.content",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Attachment"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".text"
          }
        ]
      },
      {
        "id" : "Media.note",
        "path" : "Media.note",
        "short" : "Comments made about the media",
        "definition" : "Comments made about the media by the performer, subject or other participants.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Media.note",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]"
          }
        ]
      },
      {
        "id" : "Media.note.id",
        "path" : "Media.note.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Media.note.extension",
        "path" : "Media.note.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
        "comment" : "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.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Media.note.author[x]",
        "path" : "Media.note.author[x]",
        "short" : "Individual responsible for the annotation",
        "definition" : "The individual responsible for making the annotation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Annotation.author[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"
          },
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.participant[typeCode=AUT].role"
          }
        ]
      },
      {
        "id" : "Media.note.time",
        "path" : "Media.note.time",
        "short" : "When the annotation was made",
        "definition" : "Indicates when this particular annotation was made.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Annotation.time",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.effectiveTime"
          }
        ]
      },
      {
        "id" : "Media.note.text",
        "path" : "Media.note.text",
        "short" : "The annotation  - text content",
        "definition" : "The text of the annotation.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Annotation.text",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.text"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "Media",
        "path" : "Media",
        "short" : "A photo, video, or audio recording acquired or used in healthcare."
      },
      {
        "id" : "Media.extension",
        "path" : "Media.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "rules" : "open"
        }
      },
      {
        "id" : "Media.extension:quality",
        "path" : "Media.extension",
        "sliceName" : "quality",
        "type" : [
          {
            "code" : "Extension",
            "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality"
          }
        ]
      },
      {
        "id" : "Media.basedOn",
        "path" : "Media.basedOn",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-procedurerequest"
          }
        ]
      },
      {
        "id" : "Media.subject",
        "path" : "Media.subject",
        "min" : 1,
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Specimen"
          }
        ]
      },
      {
        "id" : "Media.subject.reference",
        "path" : "Media.subject.reference",
        "min" : 1
      },
      {
        "id" : "Media.context",
        "path" : "Media.context",
        "min" : 1,
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare"
          }
        ]
      },
      {
        "id" : "Media.occurrence[x]",
        "path" : "Media.occurrence[x]",
        "min" : 1
      },
      {
        "id" : "Media.operator",
        "path" : "Media.operator",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          }
        ]
      },
      {
        "id" : "Media.device",
        "path" : "Media.device",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric"
          }
        ]
      },
      {
        "id" : "Media.note.author[x]",
        "path" : "Media.note.author[x]",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson"
          },
          {
            "code" : "string"
          }
        ]
      }
    ]
  }
}