AU eRequesting Implementation Guide
1.0.0-preview - Preview

AU eRequesting Implementation Guide - Downloaded Version 1.0.0-preview See the Directory of published versions

## Resource Profile: AUeRequestingClinicalContextDocumentReference - TTL Profile

Page standards status: Draft | Maturity Level: 1

TTL representation of the au-erequesting-clinicalcontext-documentreference resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix loinc: <https://loinc.org/rdf/> .
    @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 "au-erequesting-clinicalcontext-documentreference"] ; #
      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 au-erequesting-clinicalcontext-documentreference</b></p><a name=\"au-erequesting-clinicalcontext-documentreference\"> </a><a name=\"hcau-erequesting-clinicalcontext-documentreference\"> </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-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference\">DocumentReference</a><a name=\"DocumentReference\"> </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=\"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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</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\">A reference to a document</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_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-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.status\">status</a><a name=\"DocumentReference.status\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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#code\">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=\"opacity: 0.5\">current | superseded | entered-in-error</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.type\">type</a><a name=\"DocumentReference.type\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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#CodeableConcept\">CodeableConcept</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\">Kind of document (LOINC if possible)</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_bck101.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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</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/datatypes.html#Coding\">Coding</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\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(Complex)</span></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_bck1010.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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</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\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://loinc.org</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_bck1000.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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.code\">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\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">107903-7</span></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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.subject\">subject</a><a name=\"DocumentReference.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: red\" title=\"This element has obligations and must be supported\">SO</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 href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-au-erequesting-patient.html\">AU eRequesting Patient</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/what is the subject of the document</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.date\">date</a><a name=\"DocumentReference.date\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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\">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#instant\">instant</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\">When this document reference was created</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.2.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=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.author\">author</a><a name=\"DocumentReference.author\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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\">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: white; 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.org/fhir/R4/practitioner.html\">Practitioner</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/practitionerrole.html\">PractitionerRole</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/device.html\">Device</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a> | <a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/relatedperson.html\">RelatedPerson</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 authored the document</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.2.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=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.content\">content</a><a name=\"DocumentReference.content\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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\">*</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#BackboneElement\">BackboneElement</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\">Document referenced</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_bck001.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.content.attachment\">attachment</a><a name=\"DocumentReference.content.attachment\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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 style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Attachment\">Attachment</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\">Where to access the document</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_bck0010.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.content.attachment.contentType\">contentType</a><a name=\"DocumentReference.content.attachment.contentType\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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#code\">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=\"opacity: 0.5\">Mime type of the content, with charset etc.</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">text/plain</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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_bck0000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-erequesting-clinicalcontext-documentreference-definitions.html#DocumentReference.content.attachment.data\">data</a><a name=\"DocumentReference.content.attachment.data\"> </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: red\" title=\"This element has obligations and must be supported\">SO</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#base64Binary\">base64Binary</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\">Data inline, base64ed</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.2.0/CodeSystem-obligation.html#obligation-populate\" title=\"Obligation Codes: populate\">populate</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-placer.html\">AU eRequesting Placer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-filler.html\">AU eRequesting Filler</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.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=\"ActorDefinition-au-erequesting-actor-server.html\">AU eRequesting Server</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.2.0/CodeSystem-obligation.html#obligation-no-error\" title=\"Obligation Codes: not error if present\">no-error</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-erequesting-actor-patient.html\">AU eRequesting Patient</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:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ImplementationGuide/hl7.fhir.au.ereq"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ImplementationGuide/hl7.fhir.au.ereq>         ]       ] )     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference>
      ] ; #
      fhir:version [ fhir:v "1.0.0-preview"] ; #
      fhir:name [ fhir:v "AUeRequestingClinicalContextDocumentReference"] ; #
      fhir:title [ fhir:v "AU eRequesting Clinical Context DocumentReference"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2025-12-04T05:48:34+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 Australia"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 Australia" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://confluence.hl7.org/display/HAFWG" ]     ] )
      ] [
    fhir:name [ fhir:v "HL7 Australia FHIR Work Group" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://confluence.hl7.org/display/HAFWG" ] ;
    fhir:use [ fhir:v "work" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "This profile sets minimum expectations for representing clinical context using a DocumentReference resource to record, search, and fetch clinical context narrative information that provides an overview of the individual's current clinical situation associated with a requested service. Clinical context is intended to describe the broader clinical background or circumstances relating to the request, supporting the service provider in making informed decisions about service delivery.  It is based on the [DocumentReference](https://hl7.org/fhir/R4/documentreference.html) resource and identifies the additional constraints, extensions, vocabularies and value sets that **SHALL** be present in the DocumentReference when conforming to this profile."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "AU" ]     ] )
      ] ) ; #
      fhir:copyright [ fhir:v "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2024+; Licensed Under Creative Commons No Rights Reserved."] ; #
      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 "fhircomposition" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/fhir/composition"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/composition>     ] ;
    fhir:name [ fhir:v "FHIR Composition" ]
      ] [
    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 "cda" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3/cda"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3/cda>     ] ;
    fhir:name [ fhir:v "CDA (R2)" ]
      ] [
    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: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 "xds" ] ;
    fhir:uri [
    fhir:v "http://ihe.net/xds"^^xsd:anyURI ;
    fhir:l <http://ihe.net/xds>     ] ;
    fhir:name [ fhir:v "XDS metadata equivalent" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
    fhir:v "DocumentReference"^^xsd:anyURI ;
    fhir:l fhir:DocumentReference
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DocumentReference>
      ] ; #
      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 "4.0.1"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "DocumentReference" ] ;
    fhir:path [ fhir:v "DocumentReference" ] ;
    fhir:short [ fhir:v "A reference to a document" ] ;
    fhir:definition [ fhir:v "A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text." ] ;
    fhir:comment [ fhir:v "Usually, this is used for documents other than those defined by FHIR." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference" ] ;
    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 "fhircomposition" ] ;
    fhir:map [ fhir:v "when describing a Composition" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "when describing a CDA" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.id" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.meta" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.implicitRules" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.language" ] ;
    fhir:path [ fhir:v "DocumentReference.language" ] ;
    fhir:short [ fhir:v "Language of the resource 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 "DocumentReference.text" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.contained" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.extension" ] ;
    fhir:path [ fhir:v "DocumentReference.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and 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 "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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.modifierExtension" ] ;
    fhir:path [ fhir:v "DocumentReference.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 "DocumentReference.masterIdentifier" ] ;
    fhir:path [ fhir:v "DocumentReference.masterIdentifier" ] ;
    fhir:short [ fhir:v "Master Version Specific Identifier" ] ;
    fhir:definition [ fhir:v "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document." ] ;
    fhir:comment [ fhir:v "CDA Document Id extension and root." ] ;
    fhir:requirements [ fhir:v "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.masterIdentifier" ] ;
    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 "workflow" ] ;
    fhir:map [ fhir:v "Event.identifier" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-12" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".id" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.uniqueId" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/id" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.identifier" ] ;
    fhir:path [ fhir:v "DocumentReference.identifier" ] ;
    fhir:short [ fhir:v "Other identifiers for the document" ] ;
    fhir:definition [ fhir:v "Other identifiers associated with the document, including version independent identifiers." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.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 "TXA-16?" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".id / .setId" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.entryUUID" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.status" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.status" ] ;
    fhir:short [ fhir:v "current | superseded | entered-in-error" ] ;
    fhir:definition [ fhir:v "The status of this document reference." ] ;
    fhir:comment [ fhir:v "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v true ] ;
    fhir:isModifierReason [ fhir:v "This element is labelled 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 "DocumentReferenceStatus"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The status of the document reference." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/document-reference-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 "TXA-19" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\";  final: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]);  amended: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"];  withdrawn : .completionCode=NI &&  ./statusCode[isNormalDatatype()]=\"obsolete\"" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.availabilityStatus" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.docStatus" ] ;
    fhir:path [ fhir:v "DocumentReference.docStatus" ] ;
    fhir:short [ fhir:v "preliminary | final | amended | entered-in-error" ] ;
    fhir:definition [ fhir:v "The status of the underlying document." ] ;
    fhir:comment [ fhir:v "The document that is pointed to might be in various lifecycle states." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.docStatus" ] ;
    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 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 "ReferredDocumentStatus"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "Status of the underlying document." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/composition-status|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/composition-status?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.status" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.status" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-17" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".statusCode" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.type" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.type" ] ;
    fhir:short [ fhir:v "Kind of document (LOINC if possible)" ] ;
    fhir:definition [ fhir:v "Specifies the particular kind of document referenced  (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." ] ;
    fhir:comment [ fhir:v "Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.type" ] ;
    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:pattern [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    a loinc:107903-7 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>           ] ;
    fhir:code [ fhir:v "107903-7" ]         ] )       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    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 "DocumentC80Type"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "Precise type of clinical document." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/c80-doc-typecodes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/c80-doc-typecodes?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.class" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.type" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-2" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./code" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.type" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted." ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.category" ] ;
    fhir:path [ fhir:v "DocumentReference.category" ] ;
    fhir:short [ fhir:v "Categorization of document" ] ;
    fhir:definition [ fhir:v "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." ] ;
    fhir:comment [ fhir:v "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching." ] ;
          ( fhir:alias [ fhir:v "claxs" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.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 "DocumentC80Class"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "High-level kind of a clinical document at a macro level." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/document-classcodes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/document-classcodes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.class" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.class" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.class" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.subject" ] ;
    fhir:short [ fhir:v "Who/what is the subject of the document" ] ;
    fhir:definition [ fhir:v "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.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.org.au/fhir/ereq/StructureDefinition/au-erequesting-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-patient>         ] )       ] ) ;
          ( 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:mustSupport [ fhir:v true ] ;
    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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.subject" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.patientId" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/recordTarget/" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.subject" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.date" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    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 "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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.date" ] ;
    fhir:short [ fhir:v "When this document reference was created" ] ;
    fhir:definition [ fhir:v "When the document reference was created." ] ;
    fhir:comment [ fhir:v "Referencing/indexing time is used for tracking, organizing versions and searching." ] ;
          ( fhir:alias [ fhir:v "indexed" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.date" ] ;
    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:mustSupport [ fhir:v true ] ;
    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.recorded" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.date" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".availabilityTime[type=\"TS\"]" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.author" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    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 "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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.author" ] ;
    fhir:short [ fhir:v "Who and/or what authored the document" ] ;
    fhir:definition [ fhir:v "Identifies who is responsible for adding the information to the document." ] ;
    fhir:comment [ fhir:v "Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.author" ] ;
    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/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/PractitionerRole|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?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:v "http://hl7.org/fhir/StructureDefinition/Device|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Device?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: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:mustSupport [ fhir:v true ] ;
    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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.author" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.author" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/author" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.authenticator" ] ;
    fhir:path [ fhir:v "DocumentReference.authenticator" ] ;
    fhir:short [ fhir:v "Who/what authenticated the document" ] ;
    fhir:definition [ fhir:v "Which person or organization authenticates that this document is valid." ] ;
    fhir:comment [ fhir:v "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.authenticator" ] ;
    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/PractitionerRole|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/PractitionerRole?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: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.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.witness" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.attester" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-10" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.legalAuthenticator" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/legalAuthenticator" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.custodian" ] ;
    fhir:path [ fhir:v "DocumentReference.custodian" ] ;
    fhir:short [ fhir:v "Organization which maintains the document" ] ;
    fhir:definition [ fhir:v "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document." ] ;
    fhir:comment [ fhir:v "Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.custodian" ] ;
    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/Organization|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Organization?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.performer.actor" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.custodian" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.relatesTo" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo" ] ;
    fhir:short [ fhir:v "Relationships to other documents" ] ;
    fhir:definition [ fhir:v "Relationships that this document has with other document references that already exist." ] ;
    fhir:comment [ fhir:v "This element is labeled as a modifier because documents that append to other documents are incomplete on their own." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.relatesTo" ] ;
    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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.relatesTo" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry Associations" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.relatesTo.id" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo.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 "DocumentReference.relatesTo.extension" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo.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 "DocumentReference.relatesTo.modifierExtension" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo.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 "DocumentReference.relatesTo.code" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo.code" ] ;
    fhir:short [ fhir:v "replaces | transforms | signs | appends" ] ;
    fhir:definition [ fhir:v "The type of relationship that this document has with anther document." ] ;
    fhir:comment [ fhir:v "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.relatesTo.code" ] ;
    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 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 "DocumentRelationshipType"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The type of relationship between documents." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/document-relationship-type?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.relatesTo.code" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship.typeCode" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry Associations type" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.relatesTo.target" ] ;
    fhir:path [ fhir:v "DocumentReference.relatesTo.target" ] ;
    fhir:short [ fhir:v "Target of the relationship" ] ;
    fhir:definition [ fhir:v "The target document of this relationship." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.relatesTo.target" ] ;
    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/DocumentReference|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/DocumentReference?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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.relatesTo.target" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry Associations reference" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.description" ] ;
    fhir:path [ fhir:v "DocumentReference.description" ] ;
    fhir:short [ fhir:v "Human-readable description" ] ;
    fhir:definition [ fhir:v "Human-readable description of the source document." ] ;
    fhir:comment [ fhir:v "What the document is about,  a terse summary of the document." ] ;
    fhir:requirements [ fhir:v "Helps humans to assess whether the document is of interest." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.description" ] ;
    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 "v2" ] ;
    fhir:map [ fhir:v "TXA-25" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=\"SUBJ\"].target.text" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.comments" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.securityLabel" ] ;
    fhir:path [ fhir:v "DocumentReference.securityLabel" ] ;
    fhir:short [ fhir:v "Document security-tags" ] ;
    fhir:definition [ fhir:v "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." ] ;
    fhir:comment [ fhir:v "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce.   \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects." ] ;
    fhir:requirements [ fhir:v "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.securityLabel" ] ;
    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 "SecurityLabels"           ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/security-labels|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/security-labels?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.confidentiality, Composition.meta.security" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-18" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".confidentialityCode" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.confidentialityCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/confidentialityCode/@code" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content" ] ;
    fhir:short [ fhir:v "Document referenced" ] ;
    fhir:definition [ fhir:v "The document and format referenced. There may be multiple content element repetitions, each with a different format." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.content" ] ;
    fhir:min [ fhir:v "1"^^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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Bundle(Composition+*)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "document.text" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.id" ] ;
    fhir:path [ fhir:v "DocumentReference.content.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 "DocumentReference.content.extension" ] ;
    fhir:path [ fhir:v "DocumentReference.content.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 "DocumentReference.content.modifierExtension" ] ;
    fhir:path [ fhir:v "DocumentReference.content.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 "DocumentReference.content.attachment" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
    fhir:short [ fhir:v "Where to access the document" ] ;
    fhir:definition [ fhir:v "The document or URL of the document along with critical metadata to prove content has integrity." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v true ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.language, \nComposition.title, \nComposition.date" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "TXA-3 for mime type" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "document.text" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.id" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.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 "DocumentReference.content.attachment.extension" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.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 "DocumentReference.content.attachment.contentType" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
    fhir:short [ fhir:v "Mime type of the content, with charset etc." ] ;
    fhir:definition [ fhir:v "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate." ] ;
    fhir:requirements [ fhir:v "Processors of the data need to be able to know how to interpret the data." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.contentType" ] ;
    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:fixed [
    a fhir:Code ;
    fhir:v "text/plain"       ] ;
          ( fhir:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "text/plain; charset=UTF-8, image/png"         ]       ] ) ;
          ( 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:mustSupport [ fhir:v true ] ;
    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 "MimeType"           ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "The mime type of an attachment. Any valid mime type is allowed." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/mimetypes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./mediaType, ./charset" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.language" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.language" ] ;
    fhir:short [ fhir:v "Human language of the content (BCP-47)" ] ;
    fhir:definition [ fhir:v "The human language of the content. The value can be any valid value according to BCP 47." ] ;
    fhir:requirements [ fhir:v "Users need to be able to choose between the languages in a set of attachments." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.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:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "en-AU"         ]       ] ) ;
          ( 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-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:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./language" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.data" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] [
    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.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference|1.0.0-preview"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-clinicalcontext-documentreference?version=1.0.0-preview>           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.data" ] ;
    fhir:short [ fhir:v "Data inline, base64ed" ] ;
    fhir:definition [ fhir:v "The actual data of the attachment - a sequence of bytes, base64 encoded." ] ;
    fhir:comment [ fhir:v "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON." ] ;
    fhir:requirements [ fhir:v "The data needs to able to be transmitted inline." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.data" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "base64Binary"^^xsd:anyURI ;
    fhir:l fhir:base64Binary         ]       ] ) ;
          ( 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:mustSupport [ fhir:v true ] ;
    fhir:isModifier [ fhir:v false ] ;
    fhir:isSummary [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "ED.5" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./data" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.url" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.url" ] ;
    fhir:short [ fhir:v "Uri where the data can be found" ] ;
    fhir:definition [ fhir:v "A location where the data can be accessed." ] ;
    fhir:comment [ fhir:v "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data." ] ;
    fhir:requirements [ fhir:v "The data needs to be transmitted by reference." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.url" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] ) ;
          ( fhir:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:Url ;
    fhir:v "http://www.acme.com/logo-small.png"^^xsd:anyURI ;
    fhir:l <http://www.acme.com/logo-small.png>         ]       ] ) ;
          ( 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 "RP.1+RP.2 - if they refer to a URL (see v2.6)" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./reference/literal" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.size" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.size" ] ;
    fhir:short [ fhir:v "Number of bytes of content (if url provided)" ] ;
    fhir:definition [ fhir:v "The number of bytes of data that make up this attachment (before base64 encoding, if that is done)." ] ;
    fhir:comment [ fhir:v "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference." ] ;
    fhir:requirements [ fhir:v "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.size" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "unsignedInt"^^xsd:anyURI ;
    fhir:l fhir:unsignedInt         ]       ] ) ;
          ( 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 (needs data type R3 proposal)" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.hash" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.hash" ] ;
    fhir:short [ fhir:v "Hash of the data (sha-1, base64ed)" ] ;
    fhir:definition [ fhir:v "The calculated hash of the data using SHA-1. Represented using base64." ] ;
    fhir:comment [ fhir:v "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](http://hl7.org/fhir/R4/provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature." ] ;
    fhir:requirements [ fhir:v "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.hash" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "base64Binary"^^xsd:anyURI ;
    fhir:l fhir:base64Binary         ]       ] ) ;
          ( 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 ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.title" ] ;
          ( 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 "DocumentReference.content.attachment.title" ] ;
    fhir:short [ fhir:v "Label to display in place of the data" ] ;
    fhir:definition [ fhir:v "A label or set of text to display in place of the data." ] ;
    fhir:requirements [ fhir:v "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.title" ] ;
    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:example [
    fhir:label [ fhir:v "General" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Official Corporate Logo"         ]       ] ) ;
          ( 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 "./title/data" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.creation" ] ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.creation" ] ;
    fhir:short [ fhir:v "Date attachment was first created" ] ;
    fhir:definition [ fhir:v "The date that the attachment was first created." ] ;
    fhir:requirements [ fhir:v "This is often tracked as an integrity issue for use of the attachment." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Attachment.creation" ] ;
    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 "rim" ] ;
    fhir:map [ fhir:v "N/A (needs data type R3 proposal)" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.content.format" ] ;
    fhir:path [ fhir:v "DocumentReference.content.format" ] ;
    fhir:short [ fhir:v "Format/content rules for the document" ] ;
    fhir:definition [ fhir:v "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." ] ;
    fhir:comment [ fhir:v "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.content.format" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Coding"^^xsd:anyURI ;
    fhir:l fhir:Coding         ]       ] ) ;
          ( 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 "DocumentFormat"           ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "Document Format Codes." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/formatcodes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/formatcodes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.meta.profile" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "document.text" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.formatCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "derived from the IHE Profile or Implementation Guide templateID" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context" ] ;
    fhir:path [ fhir:v "DocumentReference.context" ] ;
    fhir:short [ fhir:v "Clinical context of document" ] ;
    fhir:definition [ fhir:v "The clinical context in which the document was prepared." ] ;
    fhir:comment [ fhir:v "These values are primarily added to help with searching for interesting/relevant documents." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( 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 "rim" ] ;
    fhir:map [ fhir:v "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.id" ] ;
    fhir:path [ fhir:v "DocumentReference.context.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 "DocumentReference.context.extension" ] ;
    fhir:path [ fhir:v "DocumentReference.context.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 "DocumentReference.context.modifierExtension" ] ;
    fhir:path [ fhir:v "DocumentReference.context.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 "DocumentReference.context.encounter" ] ;
    fhir:path [ fhir:v "DocumentReference.context.encounter" ] ;
    fhir:short [ fhir:v "Context of the document  content" ] ;
    fhir:definition [ fhir:v "Describes the clinical encounter or type of care that the document content is associated with." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.encounter" ] ;
    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/Encounter|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Encounter?version=4.0.1>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/EpisodeOfCare?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.context" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.context" ]       ] [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.encounter" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.event" ] ;
    fhir:path [ fhir:v "DocumentReference.context.event" ] ;
    fhir:short [ fhir:v "Main clinical acts documented" ] ;
    fhir:definition [ fhir:v "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act." ] ;
    fhir:comment [ fhir:v "An event can further specialize the act inherent in the type, such as  where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.event" ] ;
    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 "DocumentEventType"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "This list of codes represents the main clinical acts being documented." ] ;
    fhir:valueSet [
    fhir:v "http://terminology.hl7.org/ValueSet/v3-ActCode"^^xsd:anyURI ;
    fhir:l <http://terminology.hl7.org/ValueSet/v3-ActCode>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.event.code" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".code" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.eventCodeList" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.period" ] ;
    fhir:path [ fhir:v "DocumentReference.context.period" ] ;
    fhir:short [ fhir:v "Time of service that is being documented" ] ;
    fhir:definition [ fhir:v "The time period over which the service that is described by the document was provided." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.period" ] ;
    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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.event.period" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".effectiveTime" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.facilityType" ] ;
    fhir:path [ fhir:v "DocumentReference.context.facilityType" ] ;
    fhir:short [ fhir:v "Kind of facility where patient was seen" ] ;
    fhir:definition [ fhir:v "The kind of facility where the patient was seen." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.facilityType" ] ;
    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: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 "DocumentC80FacilityType"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "XDS Facility Type." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/c80-facilitycodes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/c80-facilitycodes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "usually from a mapping to a local ValueSet" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.healthcareFacilityTypeCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.practiceSetting" ] ;
    fhir:path [ fhir:v "DocumentReference.context.practiceSetting" ] ;
    fhir:short [ fhir:v "Additional details about where the content was created (e.g. clinical specialty)" ] ;
    fhir:definition [ fhir:v "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty." ] ;
    fhir:comment [ fhir:v "This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC." ] ;
    fhir:requirements [ fhir:v "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.practiceSetting" ] ;
    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: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 "DocumentC80PracticeSetting"           ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "Additional details about where the content was created (e.g. clinical specialty)." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/c80-practice-codes|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/ValueSet/c80-practice-codes?version=4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "fhircomposition" ] ;
    fhir:map [ fhir:v "usually from a mapping to a local ValueSet" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.practiceSettingCode" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "usually from a mapping to a local ValueSet" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
    fhir:path [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
    fhir:short [ fhir:v "Patient demographics from source" ] ;
    fhir:definition [ fhir:v "The Patient Information as known when the document was published. May be a reference to a version specific, or contained." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.sourcePatientInfo" ] ;
    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/Patient|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Patient?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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.subject" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/recordTarget/" ]       ] )     ] [
    fhir:id [ fhir:v "DocumentReference.context.related" ] ;
    fhir:path [ fhir:v "DocumentReference.context.related" ] ;
    fhir:short [ fhir:v "Related identifiers or resources" ] ;
    fhir:definition [ fhir:v "Related identifiers or resources associated with the DocumentReference." ] ;
    fhir:comment [ fhir:v "May be identifiers or resources that caused the DocumentReference or referenced Document to be created." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DocumentReference.context.related" ] ;
    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/Resource|4.0.1"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/Resource?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 "fhircomposition" ] ;
    fhir:map [ fhir:v "Composition.event.detail" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" ]       ] [
    fhir:identity [ fhir:v "xds" ] ;
    fhir:map [ fhir:v "DocumentEntry.referenceIdList" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument/relatedDocument" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "DocumentReference" ] ;
    fhir:path [ fhir:v "DocumentReference" ]     ] [
    fhir:id [ fhir:v "DocumentReference.status" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.status" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.type" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.type" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:pattern [
    a fhir:CodeableConcept ;
            ( fhir:coding [
    a loinc:107903-7 ;
    fhir:system [
    fhir:v "http://loinc.org"^^xsd:anyURI ;
    fhir:l <http://loinc.org>           ] ;
    fhir:code [ fhir:v "107903-7" ]         ] )       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.subject" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.subject" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Reference"^^xsd:anyURI ;
    fhir:l fhir:Reference         ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-patient>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.date" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    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 "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.date" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.author" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    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 "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.author" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.content" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment" ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.contentType" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:fixed [
    a fhir:Code ;
    fhir:v "text/plain"       ] ;
    fhir:mustSupport [ fhir:v true ]     ] [
    fhir:id [ fhir:v "DocumentReference.content.attachment.data" ] ;
          ( fhir:extension [
            ( fhir:extension [
    fhir:url [
    fhir:v "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-placer>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-filler>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:handle"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-server>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:able-to-populate"           ]         ] ) ;
    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 "actor"^^xsd:anyURI ;
    fhir:l fhir:actor           ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient"^^xsd:anyURI ;
    fhir:l <http://hl7.org.au/fhir/ereq/ActorDefinition/au-erequesting-actor-patient>           ]         ] [
    fhir:url [
    fhir:v "code"^^xsd:anyURI ;
    fhir:l fhir:code           ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "SHALL:no-error"           ]         ] ) ;
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/obligation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/obligation>         ]       ] ) ;
    fhir:path [ fhir:v "DocumentReference.content.attachment.data" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v true ]     ] )
      ] . #