HL7 Europe Patient Summary
1.0.0-ballot - ci-build 150

HL7 Europe Patient Summary - Downloaded Version 1.0.0-ballot See the Directory of published versions

## Resource Profile: DiagnosticReportEuEps - TTL Profile

Page standards status: Draft | Maturity Level: 1

TTL representation of the diagnosticReport-eu-eps resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "diagnosticReport-eu-eps"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition diagnosticReport-eu-eps</b></p><a name=\"diagnosticReport-eu-eps\"> </a><a name=\"hcdiagnosticReport-eu-eps\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport\">DiagnosticReport</a><a name=\"DiagnosticReport\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-diagnosticReport-eu-core.html\">DiagnosticReportEuCore</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-weight:bold\">This profile also imposes the profile </span><a style=\"font-weight:bold; font-weight:bold; font-weight:bold; font-weight:bold\" href=\"http://hl7.org/fhir/uv/ips/STU2/StructureDefinition-DiagnosticReport-uv-ips.html\">DiagnosticReport (IPS)</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.code\">code</a><a name=\"DiagnosticReport.code\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Type of Diagnostic Report</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.subject\">subject</a><a name=\"DiagnosticReport.subject\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-patient-eu-core.html\">Patient (EU core)</a> | <a href=\"http://hl7.org/fhir/R4/group.html\">Group</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who and/or what this report is about</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.subject.reference\">reference</a><a name=\"DiagnosticReport.subject.reference\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Literal reference, Relative, internal or absolute URL</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.effective[x]\">effective[x]</a><a name=\"DiagnosticReport.effective_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; 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; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Period\">Period</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Clinically relevant time/time-period for report.</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck13.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.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for effective[x]<a name=\"DiagnosticReport.effective_x_.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck124.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_slicer.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-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.effective[x]:effectiveDateTime\" title=\"Slice effectiveDateTime\">effective[x]:effectiveDateTime</a><a name=\"DiagnosticReport.effective_x_.3\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Clinically relevant time/time-period for report.</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-able-to-populate\" title=\"Obligation Codes: be able to populate\">able-to-populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.performer\">performer</a><a name=\"DiagnosticReport.performer\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-practitionerRole-eu-core.html\">PractitionerRole (EU core)</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-practitioner-eu-core.html\">Practitioner (EU core)</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-organization-eu-core.html\">Organization (EU core)</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/careteam.html\">CareTeam</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Responsible Diagnostic Service.</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.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_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.result\">Slices for result</a><a name=\"DiagnosticReport.result\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"font-style: italic; font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a><span style=\"font-style: italic\">)</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">results</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by profile:resolve()</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck024.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-diagnosticReport-eu-eps-definitions.html#DiagnosticReport.result:observation-results\" title=\"Slice observation-results\">result:observation-results</a><a name=\"DiagnosticReport.result.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.eu/fhir/base/2.0.0/StructureDefinition-medicalTestResult-eu-core.html\">Observation: Medical Test Result (EU core)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">results</span><br/><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Creator.html\">Creator (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"http://hl7.org/fhir/uv/ips/STU2/ActorDefinition-Consumer.html\">Consumer (IPS)</a></td></tr></table></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>     ] ;
    fhir:value [
    a fhir:Integer ;
    fhir:v 1     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "draft"     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile>     ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips>     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps>
      ] ; #
      fhir:version [ fhir:v "1.0.0-ballot"] ; #
      fhir:name [ fhir:v "DiagnosticReportEuEps"] ; #
      fhir:title [ fhir:v "DiagnosticReport (EPS)"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2026-06-06T08:56:20+02:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 Europe"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 Europe" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://hl7.eu" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This profile constrains the DiagnosticReport resource in the scope of the European Patient Summary."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
    fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>       ] ;
    fhir:code [ fhir:v "150" ] ;
    fhir:display [ fhir:v "Europe" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0)."] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/workflow>     ] ;
    fhir:name [ fhir:v "Workflow Pattern" ]
      ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v2"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v2>     ] ;
    fhir:name [ fhir:v "HL7 v2 Mapping" ]
      ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3>     ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/fivews>     ] ;
    fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
    fhir:v "DiagnosticReport"^^xsd:anyURI ;
    fhir:l fhir:DiagnosticReport
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/diagnosticReport-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/diagnosticReport-eu-core>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "2.0.0"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "DiagnosticReport" ] ;
    fhir:path [ fhir:v "DiagnosticReport" ] ;
    fhir:short [ fhir:v "Diagnostic Report EU core" ] ;
    fhir:definition [ fhir:v "Diagnostic Report EU core" ] ;
    fhir:comment [ fhir:v "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports.  For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing." ] ;
          ( fhir:alias [ fhir:v "Report" ] [ fhir:v "Test" ] [ fhir:v "Result" ] [ fhir:v "Results" ] [ fhir:v "Labs" ] [ fhir:v "Laboratory" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "dom-2" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
    fhir:expression [ fhir:v "contained.contained.empty()" ] ;
    fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "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:expression [ fhir:v "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:xpath [ fhir:v "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:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-4" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
    fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-5" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
    fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice>           ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation>           ] ;
    fhir:value [
    a fhir:Markdown ;
    fhir:v "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:key [ fhir:v "dom-6" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
    fhir:expression [ fhir:v "text.`div`.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "ORU -> OBR" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Observation[classCode=OBS, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.id" ] ;
    fhir:short [ fhir:v "Logical id of this artifact" ] ;
    fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
    fhir:comment [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "id"^^xsd:anyURI ;
    fhir:l fhir:id           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.meta" ] ;
    fhir:path [ fhir:v "DiagnosticReport.meta" ] ;
    fhir:short [ fhir:v "Metadata about the resource" ] ;
    fhir:definition [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.meta" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Meta"^^xsd:anyURI ;
    fhir:l fhir:Meta         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.implicitRules" ] ;
    fhir:path [ fhir:v "DiagnosticReport.implicitRules" ] ;
    fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
    fhir:definition [ fhir:v "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:comment [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.implicitRules" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "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:isSummary [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.language" ] ;
    fhir:path [ fhir:v "DiagnosticReport.language" ] ;
    fhir:short [ fhir:v "Language of the diagnostic report content" ] ;
    fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
    fhir:comment [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.language" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/all-languages>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Language"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "A human language." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/languages|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/languages?version=4.0.1>         ]       ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.text" ] ;
    fhir:path [ fhir:v "DiagnosticReport.text" ] ;
    fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
    fhir:definition [ fhir:v "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:comment [ fhir:v "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:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Narrative"^^xsd:anyURI ;
    fhir:l fhir:Narrative         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.contained" ] ;
    fhir:path [ fhir:v "DiagnosticReport.contained" ] ;
    fhir:short [ fhir:v "Contained, inline Resources" ] ;
    fhir:definition [ fhir:v "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:comment [ fhir:v "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:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.contained" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Resource"^^xsd:anyURI ;
    fhir:l fhir:Resource         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:DiagnosticReportCompositionR5" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension" ] ;
    fhir:sliceName [ fhir:v "DiagnosticReportCompositionR5" ] ;
    fhir:short [ fhir:v "Associated  Composition" ] ;
    fhir:definition [ fhir:v "This extension implements the R5 composition element. It allow to link this DiagnosticReport with the Composition documenting this Diagnostic Report." ] ;
    fhir:comment [ fhir:v "Element `DiagnosticReport.composition` has a context of DiagnosticReport based on following the parent source element upwards and mapping to `DiagnosticReport`.\nElement `DiagnosticReport.composition` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).\nThe Composition provides structure to the content of the DiagnosticReport (and only contains contents referenced in the DiagnosticReport) - e.g., to order the sections of an anatomic pathology structured report." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:DiagnosticReportCompositionR5.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:DiagnosticReportCompositionR5.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:DiagnosticReportCompositionR5.url" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.url" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
    fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
    fhir:comment [ fhir:v "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:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.url" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:fixed [
    a fhir:Uri ;
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition>       ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:DiagnosticReportCompositionR5.value[x]" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x]" ] ;
    fhir:short [ fhir:v "Reference to a Composition resource for the DiagnosticReport structure" ] ;
    fhir:definition [ fhir:v "Reference to a Composition resource instance that provides structure for organizing the contents of the DiagnosticReport." ] ;
    fhir:comment [ fhir:v "The Composition provides structure to the content of the DiagnosticReport (and only contains contents referenced in the DiagnosticReport) - e.g., to order the sections of an anatomic pathology structured report." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension" ] ;
    fhir:sliceName [ fhir:v "note" ] ;
    fhir:short [ fhir:v "R5: Comments about the diagnostic report (new)" ] ;
    fhir:definition [ fhir:v "R5: `DiagnosticReport.note` (new:Annotation)" ] ;
    fhir:comment [ fhir:v "Element `DiagnosticReport.note` has a context of DiagnosticReport based on following the parent source element upwards and mapping to `DiagnosticReport`.\nElement `DiagnosticReport.note` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).\nMay include general statements about the diagnostic report, or statements about significant, unexpected or unreliable results values contained within the diagnostic report, or information about its source when relevant to its interpretation." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.url" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.url" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
    fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
    fhir:comment [ fhir:v "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:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.url" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:fixed [
    a fhir:Uri ;
    fhir:v "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note>       ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x]" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x]" ] ;
    fhir:short [ fhir:v "Comments about the diagnostic report" ] ;
    fhir:definition [ fhir:v "Comments about the diagnostic report." ] ;
    fhir:comment [ fhir:v "May include general statements about the diagnostic report, or statements about significant, unexpected or unreliable results values contained within the diagnostic report, or information about its source when relevant to its interpretation." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Annotation"^^xsd:anyURI ;
    fhir:l fhir:Annotation         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element?version=4.0.1>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the 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:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension:annotation-type" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension" ] ;
    fhir:sliceName [ fhir:v "annotation-type" ] ;
    fhir:short [ fhir:v "The type of annotation" ] ;
    fhir:definition [ fhir:v "The type of annotation.  This extension can be used to map the v2 NTE-4 comment type field." ] ;
    fhir:comment [ fhir:v "This is used to identify the type of annotation." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/annotationType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/annotationType>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension:annotation-type.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "id"^^xsd:anyURI ;
    fhir:l fhir:id           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension:annotation-type.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Extension" ] ;
    fhir:definition [ fhir:v "An Extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "0" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension:annotation-type.url" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension.url" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
    fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
    fhir:comment [ fhir:v "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:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.url" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:fixed [
    a fhir:Uri ;
    fhir:v "http://hl7.org/fhir/StructureDefinition/annotationType"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/annotationType>       ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].extension:annotation-type.value[x]" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].extension.value[x]" ] ;
    fhir:short [ fhir:v "Type of note" ] ;
    fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Extension.value[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:condition [ fhir:v "ext-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
    fhir:strength [ fhir:v "example" ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v2-0364"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/ValueSet/v2-0364>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].author[x]" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].author[x]" ] ;
    fhir:short [ fhir:v "Individual responsible for the annotation" ] ;
    fhir:definition [ fhir:v "The individual responsible for making the annotation." ] ;
    fhir:comment [ fhir:v "Organization is used when there's no need for specific attribution as to who made the comment." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.author[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Practitioner?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/RelatedPerson?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?version=4.0.1>         ] )       ] [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.participant[typeCode=AUT].role" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].time" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].time" ] ;
    fhir:short [ fhir:v "When the annotation was made" ] ;
    fhir:definition [ fhir:v "Indicates when this particular annotation was made." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.time" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.extension:note.value[x].text" ] ;
    fhir:path [ fhir:v "DiagnosticReport.extension.value[x].text" ] ;
    fhir:short [ fhir:v "The annotation  - text content (as markdown)" ] ;
    fhir:definition [ fhir:v "The text of the annotation in markdown format." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.text" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "markdown"^^xsd:anyURI ;
    fhir:l fhir:markdown         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.modifierExtension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
    fhir:definition [ fhir:v "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:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "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:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.identifier" ] ;
    fhir:path [ fhir:v "DiagnosticReport.identifier" ] ;
    fhir:short [ fhir:v "Business identifier for report" ] ;
    fhir:definition [ fhir:v "Identifiers assigned to this report by the performer or other systems." ] ;
    fhir:comment [ fhir:v "Usually assigned by the Information System of the diagnostic service provider for facilitating the Report search. The order id can be used as one of the Report identifier if only one report is produced for that order." ] ;
    fhir:requirements [ fhir:v "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context." ] ;
          ( fhir:alias [ fhir:v "ReportID" ] [ fhir:v "Filler ID" ] [ fhir:v "Placer ID" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.identifier" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-51/ for globally unique filler ID  - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id -  OBR-2(if present)+OBR-3+OBR-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "id" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.basedOn" ] ;
    fhir:path [ fhir:v "DiagnosticReport.basedOn" ] ;
    fhir:short [ fhir:v "What was requested" ] ;
    fhir:definition [ fhir:v "Details concerning a service requested." ] ;
    fhir:comment [ fhir:v "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports." ] ;
    fhir:requirements [ fhir:v "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon." ] ;
          ( fhir:alias [ fhir:v "Request" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.basedOn" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/CarePlan|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/CarePlan?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/MedicationRequest?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/NutritionOrder?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/ServiceRequest?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.basedOn" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "ORC? OBR-2/3?" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=FLFS].target" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.status" ] ;
    fhir:path [ fhir:v "DiagnosticReport.status" ] ;
    fhir:short [ fhir:v "Status of the Report" ] ;
    fhir:definition [ fhir:v "The status of the diagnostic report." ] ;
    fhir:comment [ fhir:v "DiagnosticReport.status and Composition.status shall be aligned" ] ;
    fhir:requirements [ fhir:v "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.status" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DiagnosticReportStatus"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The status of the diagnostic report." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/diagnostic-report-status?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.status" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.status" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-25 (not 1:1 mapping)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "statusCode  Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.category" ] ;
    fhir:path [ fhir:v "DiagnosticReport.category" ] ;
    fhir:short [ fhir:v "Service category" ] ;
    fhir:definition [ fhir:v "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." ] ;
    fhir:comment [ fhir:v "Multiple categories are allowed using various categorization schemes.   The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code." ] ;
          ( fhir:alias [ fhir:v "Department" ] [ fhir:v "Sub-department" ] [ fhir:v "Service" ] [ fhir:v "Discipline" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.category" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DiagnosticServiceSection"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "Codes for diagnostic service sections." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/diagnostic-service-sections|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/diagnostic-service-sections?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.class" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-24" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.code" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.code" ] ;
    fhir:short [ fhir:v "Type of Diagnostic Report" ] ;
    fhir:definition [ fhir:v "Defines the document type, it is recommended to take this from the suggested LOINC set." ] ;
          ( fhir:alias [ fhir:v "Type" ] ) ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.code" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "DiagnosticReportCodes"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "Codes that describe Diagnostic Reports." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/report-codes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/report-codes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.code" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.what[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "code" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.subject" ] ;
    fhir:short [ fhir:v "Who and/or what this report is about" ] ;
    fhir:definition [ fhir:v "Who or what this report is about. The report can be about a human patient, a living subject, a device (e.g. a machine), a location or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure)." ] ;
    fhir:requirements [ fhir:v "SHALL know the subject context." ] ;
          ( fhir:alias [ fhir:v "Patient" ] ) ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.subject" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Group"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Group>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.subject" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.subject[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3 (no HL7 v2 mapping for Group or Device)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "participation[typeCode=SBJ]" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.subject" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.subject.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.subject.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the 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:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.reference" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.subject.reference" ] ;
    fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:condition [ fhir:v "ref-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.type" ] ;
    fhir:path [ fhir:v "DiagnosticReport.subject.type" ] ;
    fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ;
    fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
    fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "uri"^^xsd:anyURI ;
    fhir:l fhir:uri         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "FHIRResourceTypeExt"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/resource-types?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.identifier" ] ;
    fhir:path [ fhir:v "DiagnosticReport.subject.identifier" ] ;
    fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
    fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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." ] ;
    fhir:comment [ fhir:v "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.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Identifier"^^xsd:anyURI ;
    fhir:l fhir:Identifier         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".identifier" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.display" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable>         ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.subject.display" ] ;
    fhir:short [ fhir:v "Text alternative for the resource" ] ;
    fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.display" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.encounter" ] ;
    fhir:path [ fhir:v "DiagnosticReport.encounter" ] ;
    fhir:short [ fhir:v "The healthcare event which this Diagnostic Report is about (when test ordered)." ] ;
    fhir:definition [ fhir:v "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about." ] ;
    fhir:comment [ fhir:v "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)." ] ;
    fhir:requirements [ fhir:v "Links the request to the Encounter context." ] ;
          ( fhir:alias [ fhir:v "Context" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Encounter?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.encounter" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.context" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PV1-19" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.effective[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "type" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "closed" ]       ] ;
    fhir:short [ fhir:v "Clinically relevant time/time-period for report." ] ;
    fhir:definition [ fhir:v "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself." ] ;
    fhir:comment [ fhir:v "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic." ] ;
    fhir:requirements [ fhir:v "Need to know where in the patient history to file/present this report." ] ;
          ( fhir:alias [ fhir:v "Observation time" ] [ fhir:v "Effective Time" ] [ fhir:v "Occurrence" ] ) ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.occurrence[x]" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.effective[x]:effectiveDateTime" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:sliceName [ fhir:v "effectiveDateTime" ] ;
    fhir:short [ fhir:v "Clinically relevant time/time-period for report." ] ;
    fhir:definition [ fhir:v "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself." ] ;
    fhir:comment [ fhir:v "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic." ] ;
    fhir:requirements [ fhir:v "Need to know where in the patient history to file/present this report." ] ;
          ( fhir:alias [ fhir:v "Observation time" ] [ fhir:v "Effective Time" ] [ fhir:v "Occurrence" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.occurrence[x]" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.effective[x]:effectivePeriod" ] ;
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:sliceName [ fhir:v "effectivePeriod" ] ;
    fhir:short [ fhir:v "Effective period of the report" ] ;
    fhir:definition [ fhir:v "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself." ] ;
    fhir:comment [ fhir:v "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic." ] ;
    fhir:requirements [ fhir:v "Need to know where in the patient history to file/present this report." ] ;
          ( fhir:alias [ fhir:v "Observation time" ] [ fhir:v "Effective Time" ] [ fhir:v "Occurrence" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Period"^^xsd:anyURI ;
    fhir:l fhir:Period         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.occurrence[x]" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.issued" ] ;
    fhir:path [ fhir:v "DiagnosticReport.issued" ] ;
    fhir:short [ fhir:v "Date and time this report was issued" ] ;
    fhir:definition [ fhir:v "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified." ] ;
    fhir:comment [ fhir:v "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report." ] ;
    fhir:requirements [ fhir:v "Clinicians need to be able to check the date that the report was released." ] ;
          ( fhir:alias [ fhir:v "Date published" ] [ fhir:v "Date Issued" ] [ fhir:v "Date Verified" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.issued" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "instant"^^xsd:anyURI ;
    fhir:l fhir:instant         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.recorded" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-22" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "participation[typeCode=VRF or AUT].time" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.performer" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.performer" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:description [ fhir:v "Organization that delivered the report" ] ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Responsible Diagnostic Service." ] ;
    fhir:definition [ fhir:v "The diagnostic service that is responsible for issuing the report." ] ;
    fhir:comment [ fhir:v "If a DiagnosticReport.resultsInterpreter exists this is expected to be a Composition.author; otherwise a DiagnosticReport.performer should be an author." ] ;
    fhir:requirements [ fhir:v "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ] ;
          ( fhir:alias [ fhir:v "Laboratory" ] [ fhir:v "Service" ] [ fhir:v "Practitioner" ] [ fhir:v "Department" ] [ fhir:v "Company" ] [ fhir:v "Authorized by" ] [ fhir:v "Director" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.performer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core>         ] [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core>         ] [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.actor" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PRT-8 (where this PRT-4-Participation = \"PO\")" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=PRF]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.performer:organization" ] ;
    fhir:path [ fhir:v "DiagnosticReport.performer" ] ;
    fhir:sliceName [ fhir:v "organization" ] ;
    fhir:short [ fhir:v "The organization producer of this report" ] ;
    fhir:definition [ fhir:v "The organization responsible for producing this report. In case practitioners produce them in their private practices, they will be accounted as an organization for this purpose." ] ;
    fhir:comment [ fhir:v "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report." ] ;
    fhir:requirements [ fhir:v "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ] ;
          ( fhir:alias [ fhir:v "Laboratory" ] [ fhir:v "Service" ] [ fhir:v "Practitioner" ] [ fhir:v "Department" ] [ fhir:v "Company" ] [ fhir:v "Authorized by" ] [ fhir:v "Director" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.performer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.actor" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PRT-8 (where this PRT-4-Participation = \"PO\")" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=PRF]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.resultsInterpreter" ] ;
    fhir:path [ fhir:v "DiagnosticReport.resultsInterpreter" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "resolve()" ]         ] ) ;
    fhir:description [ fhir:v "Primary interpreter of results" ] ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Primary result interpreter" ] ;
    fhir:definition [ fhir:v "The practitioner or organization that is responsible for the report's conclusions and interpretations." ] ;
    fhir:comment [ fhir:v "If a DiagnosticReport.resultsInterpreter exists this is expected to be a Composition.author; otherwise a DiagnosticReport.performer should be an author." ] ;
    fhir:requirements [ fhir:v "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ] ;
          ( fhir:alias [ fhir:v "Analyzed by" ] [ fhir:v "Reported by" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.resultsInterpreter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core>         ] [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/practitioner-eu-core>         ] [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/organization-eu-core>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/CareTeam>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.actor" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=PRF]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.resultsInterpreter:author" ] ;
    fhir:path [ fhir:v "DiagnosticReport.resultsInterpreter" ] ;
    fhir:sliceName [ fhir:v "author" ] ;
    fhir:short [ fhir:v "Primary result interpreter" ] ;
    fhir:definition [ fhir:v "The practitioner or organization that is responsible for the report's conclusions and interpretations." ] ;
    fhir:comment [ fhir:v "Might not be the same entity that takes responsibility for the clinical report." ] ;
    fhir:requirements [ fhir:v "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ] ;
          ( fhir:alias [ fhir:v "Analyzed by" ] [ fhir:v "Reported by" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.resultsInterpreter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/practitionerRole-eu-core>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.actor" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=PRF]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.specimen" ] ;
    fhir:path [ fhir:v "DiagnosticReport.specimen" ] ;
    fhir:short [ fhir:v "Specimens this report is based on." ] ;
    fhir:definition [ fhir:v "Details about the specimens on which this diagnostic report is based." ] ;
    fhir:comment [ fhir:v "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group." ] ;
    fhir:requirements [ fhir:v "Need to be able to report information about the collected specimens on which the report is based." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.specimen" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Specimen|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Specimen?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "SPM" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "participation[typeCode=SBJ]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.result" ] ;
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "resolve()" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "results" ] ;
    fhir:definition [ fhir:v "[Observations](http://hl7.org/fhir/R4/observation.html)  that are part of this diagnostic report." ] ;
    fhir:comment [ fhir:v "Observations can contain observations." ] ;
    fhir:requirements [ fhir:v "Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful." ] ;
          ( fhir:alias [ fhir:v "Data" ] [ fhir:v "Atomic Value" ] [ fhir:v "Result" ] [ fhir:v "Atomic result" ] [ fhir:v "Data" ] [ fhir:v "Test" ] [ fhir:v "Analyte" ] [ fhir:v "Battery" ] [ fhir:v "Organizer" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Observation?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBXs" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=COMP].target" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.result:observation-results" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-source>           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps|1.0.0-ballot"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/eps/StructureDefinition/diagnosticReport-eu-eps?version=1.0.0-ballot>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:sliceName [ fhir:v "observation-results" ] ;
    fhir:short [ fhir:v "results" ] ;
    fhir:definition [ fhir:v "[Observations](http://hl7.org/fhir/R4/observation.html)  that are part of this diagnostic report." ] ;
    fhir:comment [ fhir:v "Observations can contain observations." ] ;
    fhir:requirements [ fhir:v "Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful." ] ;
          ( fhir:alias [ fhir:v "Data" ] [ fhir:v "Atomic Value" ] [ fhir:v "Result" ] [ fhir:v "Atomic result" ] [ fhir:v "Data" ] [ fhir:v "Test" ] [ fhir:v "Analyte" ] [ fhir:v "Battery" ] [ fhir:v "Organizer" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBXs" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=COMP].target" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.imagingStudy" ] ;
    fhir:path [ fhir:v "DiagnosticReport.imagingStudy" ] ;
    fhir:short [ fhir:v "Study subject to this report" ] ;
    fhir:definition [ fhir:v "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images." ] ;
    fhir:comment [ fhir:v "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.imagingStudy" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/ImagingStudy|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/ImagingStudy?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media" ] ;
    fhir:short [ fhir:v "Additional data (like images, diagrams or documents) associated with this report" ] ;
    fhir:definition [ fhir:v "A list of additional data, other then presented form of the report, associated with this report. This data is generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)." ] ;
    fhir:requirements [ fhir:v "Some diagnostic reports may include additional data such as images, diagrams or documents that are relevant to the report. This additional information can provide further context and support for the findings presented in the report." ] ;
          ( fhir:alias [ fhir:v "DICOM" ] [ fhir:v "Slides" ] [ fhir:v "Scans" ] [ fhir:v "DICOM; Slides; Scans; Pictures; Documents; Diagrams" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.media" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "BackboneElement"^^xsd:anyURI ;
    fhir:l fhir:BackboneElement         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBX?" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=COMP].target" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media.id" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string           ]         ] ) ;
    fhir:code [
    fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media.extension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the 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:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media.modifierExtension" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
    fhir:requirements [ fhir:v "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:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Extension"^^xsd:anyURI ;
    fhir:l fhir:Extension         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media.comment" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media.comment" ] ;
    fhir:short [ fhir:v "Comment about the image or data (e.g. explanation)" ] ;
    fhir:definition [ fhir:v "Allows for a comment about the image or data, such as an explanation of its significance or context within the diagnostic report." ] ;
    fhir:comment [ fhir:v "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion." ] ;
    fhir:requirements [ fhir:v "The provider of the report should make a comment about each image or data included in the report. This comment can provide valuable context and help the reader understand the significance of the image or data in relation to the overall findings of the report." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.media.comment" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.media.link" ] ;
    fhir:path [ fhir:v "DiagnosticReport.media.link" ] ;
    fhir:short [ fhir:v "Reference to the image or data" ] ;
    fhir:definition [ fhir:v "A reference to the image or data associated with this report." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.media.link" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Media|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Media?version=4.0.1>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".value.reference" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.conclusion" ] ;
    fhir:path [ fhir:v "DiagnosticReport.conclusion" ] ;
    fhir:short [ fhir:v "Clinical conclusion (interpretation) of test results" ] ;
    fhir:definition [ fhir:v "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report." ] ;
    fhir:requirements [ fhir:v "Need to be able to provide a conclusion that is not lost among the basic result data." ] ;
          ( fhir:alias [ fhir:v "Report" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.conclusion" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "string"^^xsd:anyURI ;
    fhir:l fhir:string         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBX" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.conclusionCode" ] ;
    fhir:path [ fhir:v "DiagnosticReport.conclusionCode" ] ;
    fhir:short [ fhir:v "Codes for the clinical conclusion of test results" ] ;
    fhir:definition [ fhir:v "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.conclusionCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "CodeableConcept"^^xsd:anyURI ;
    fhir:l fhir:CodeableConcept         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName>           ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "AdjunctDiagnosis"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "Diagnosis codes provided as adjuncts to the report." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/clinical-findings|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/clinical-findings?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBX" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.presentedForm" ] ;
    fhir:path [ fhir:v "DiagnosticReport.presentedForm" ] ;
    fhir:short [ fhir:v "Entire report as issued (pdf recommended)" ] ;
    fhir:definition [ fhir:v "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent." ] ;
    fhir:comment [ fhir:v "\"application/pdf\" is recommended as the most reliable and interoperable in this context." ] ;
    fhir:requirements [ fhir:v "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DiagnosticReport.presentedForm" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Attachment"^^xsd:anyURI ;
    fhir:l fhir:Attachment         ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBX" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "text (type=ED)" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "DiagnosticReport.code" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.code" ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.subject" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Group"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Group>         ] )       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.subject.reference" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.subject.reference" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.effective[x]" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.effective[x]:effectiveDateTime" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:able-to-populate"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.effective[x]" ] ;
    fhir:sliceName [ fhir:v "effectiveDateTime" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "dateTime"^^xsd:anyURI ;
    fhir:l fhir:dateTime         ]       ] )     ] [
    fhir:id [ fhir:v "DiagnosticReport.performer" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.performer" ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.result" ] ;
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "profile" ] ;
    fhir:path [ fhir:v "resolve()" ]         ] ) ;
    fhir:ordered [ fhir:v false ] ;
    fhir:rules [ fhir:v "open" ]       ]     ] [
    fhir:id [ fhir:v "DiagnosticReport.result:observation-results" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate-if-known"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Creator"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Creator>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHOULD:display"           ]         ] [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/uv/ips/ActorDefinition/Consumer>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DiagnosticReport.result" ] ;
    fhir:sliceName [ fhir:v "observation-results" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core"^^xsd:anyURI ;
    fhir:l <http://hl7.eu/fhir/base/StructureDefinition/medicalTestResult-eu-core>         ] )       ] )     ] )
      ] . #