| Australian Digital Health Agency Medicare Records FHIR Implementation Guide 2.2.0

Australian Digital Health Agency Medicare Records FHIR Implementation Guide. This is the current published version. It is based on FHIR® version 3.0.2. See the Directory of published versions for a list of available versions.

# StructureDefinition-flag-air-1.ttl

Formats: Narrative, XML, JSON, Turtle

Raw ttl

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix sct: <http://snomed.info/id/> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

     a fhir:StructureDefinition;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "flag-air-1"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://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=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag\" title=\"Australian Immunisation Register notice such as an individual has an exemption record or has finished a National Immunisation Program schedule.\">Flag</a><a name=\"Flag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/flag.html\">Flag</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">AIR notice</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.meta\">meta</a><a name=\"Flag.meta\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/STU3conformance-rules.html#constraints\" title=\"This element has or is affected by constraints (inv-dh-fla-01)\">C</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Meta\">Meta</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Metadata about the resource</span><br/><span style=\"font-weight:bold\">inv-dh-fla-01: </span>One profile shall be 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1'</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.meta.profile\">profile</a><a name=\"Flag.meta.profile\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Profiles this resource claims to conform to</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.identifier\">identifier</a><a name=\"Flag.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Business identifier</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.status\">status</a><a name=\"Flag.status\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">active | inactive | entered-in-error</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">active</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.category\">category</a><a name=\"Flag.category\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Australian Immunisation Register notice<br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/STU3/datatypes-definitions.html#CodeableConcept.coding\">coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; 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>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; 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://snomed.info/sct</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_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: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/STU3/datatypes-definitions.html#Coding.code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; 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\">1500551000168103</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.code\">code</a><a name=\"Flag.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/STU3/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Coded or textual message to display to user</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-flag-air-1-definitions.html#Flag.subject\">subject</a><a name=\"Flag.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/STU3/references.html\">Reference</a>(<a href=\"http://hl7.org.au/fhir/2018Sep/StructureDefinition-au-patient.html\">AU Base Patient</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who/What is flag about?</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/STU3/help16.png\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ];
      fhir:StructureDefinition.url [ fhir:value "http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1"];
      fhir:StructureDefinition.version [ fhir:value "1.0.4"];
      fhir:StructureDefinition.name [ fhir:value "ADHAFlagAIR"];
      fhir:StructureDefinition.title [ fhir:value "ADHA Australian Immunisation Register Flag"];
      fhir:StructureDefinition.status [ fhir:value "active"];
      fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.date [ fhir:value "2023-04-14T04:08:50+00:00"^^xsd:dateTime];
      fhir:StructureDefinition.publisher [ fhir:value "Australian Digital Health Agency"];
      fhir:StructureDefinition.contact [
         fhir:index 0;
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "email" ];
           fhir:ContactPoint.value [ fhir:value "help@digitalhealth.gov.au" ]     ]
      ];
      fhir:StructureDefinition.description [ fhir:value "The purpose of this profile is to define a notice, such as an exemption record or notification of completion of an immunisation schedule, from the Australian Immunisation Register for the electronic exchange of digital health information between Medicare repositories and the My Health Record system infrastructure in Australia."];
      fhir:StructureDefinition.jurisdiction [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
           fhir:Coding.code [ fhir:value "AU" ];
           fhir:Coding.display [ fhir:value "Australia" ]     ]
      ];
      fhir:StructureDefinition.copyright [ fhir:value "Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.\n\nThis resource includes SNOMED Clinical Terms™ (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. The rights to use and implement or implementation of SNOMED CT content are limited to the extent it is necessary to allow for the end use of this material.  No further rights are granted in respect of the International Release and no further use of any SNOMED CT content by any other party is permitted. All copies of this resource must include this copyright statement and all information contained in this statement."];
      fhir:StructureDefinition.fhirVersion [ fhir:value "3.0.2"];
      fhir:StructureDefinition.mapping [
         fhir:index 0;
         fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
      ], [
         fhir:index 1;
         fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ];
         fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ]
      ];
      fhir:StructureDefinition.kind [ fhir:value "resource"];
      fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
      fhir:StructureDefinition.type [ fhir:value "Flag"];
      fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Flag"];
      fhir:StructureDefinition.derivation [ fhir:value "constraint"];
      fhir:StructureDefinition.snapshot [
         fhir:StructureDefinition.snapshot.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Flag" ];
           fhir:ElementDefinition.path [ fhir:value "Flag" ];
           fhir:ElementDefinition.short [ fhir:value "AIR notice" ];
           fhir:ElementDefinition.definition [ fhir:value "Australian Immunisation Register notice such as an individual has an exemption record or has finished a National Immunisation Program schedule." ];
           fhir:ElementDefinition.alias [
             fhir:value "Barriers to Care";
             fhir:index 0       ], [
             fhir:value "Alert";
             fhir:index 1       ], [
             fhir:value "Warning";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
             fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-1" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain any narrative" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.text.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:text)" ];
             fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
             fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ];
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ];
             fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=ISSUE, moodCode=EVN]" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "workflow.encounter" ]       ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Flag.id" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.id" ];
           fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
           fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
           fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Flag.meta" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta" ];
           fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
           fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-fla-01" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "One profile shall be 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1'" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1').exists()" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Flag.meta.id" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.id" ];
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr";
             fhir:index 0       ];
           fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
           fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Flag.meta.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.extension" ];
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
             fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
           fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Flag.meta.versionId" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.versionId" ];
           fhir:ElementDefinition.short [ fhir:value "Version specific identifier" ];
           fhir:ElementDefinition.definition [ fhir:value "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted." ];
           fhir:ElementDefinition.comment [ fhir:value "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Meta.versionId" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Flag.meta.lastUpdated" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.lastUpdated" ];
           fhir:ElementDefinition.short [ fhir:value "When the resource version last changed" ];
           fhir:ElementDefinition.definition [ fhir:value "When the resource last changed - e.g. when the version changed." ];
           fhir:ElementDefinition.comment [ fhir:value "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Meta.lastUpdated" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Flag.meta.profile" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.profile" ];
           fhir:ElementDefinition.short [ fhir:value "Profiles this resource claims to conform to" ];
           fhir:ElementDefinition.definition [ fhir:value "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url]()." ];
           fhir:ElementDefinition.comment [ fhir:value "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Meta.profile" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 8;
           fhir:Element.id [ fhir:value "Flag.meta.security" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.security" ];
           fhir:ElementDefinition.short [ fhir:value "Security Labels applied to this resource" ];
           fhir:ElementDefinition.definition [ fhir:value "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ];
           fhir:ElementDefinition.comment [ fhir:value "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Meta.security" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "SecurityLabels" ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Security Labels from the Healthcare Privacy and Security Classification System." ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/security-labels>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/security-labels" ]         ]       ]     ], [
           fhir:index 9;
           fhir:Element.id [ fhir:value "Flag.meta.tag" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.tag" ];
           fhir:ElementDefinition.short [ fhir:value "Tags applied to this resource" ];
           fhir:ElementDefinition.definition [ fhir:value "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ];
           fhir:ElementDefinition.comment [ fhir:value "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Meta.tag" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "Tags" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"" ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/common-tags>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/common-tags" ]         ]       ]     ], [
           fhir:index 10;
           fhir:Element.id [ fhir:value "Flag.implicitRules" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.implicitRules" ];
           fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
           fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ];
           fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 11;
           fhir:Element.id [ fhir:value "Flag.language" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.language" ];
           fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
           fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
           fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
               fhir:Extension.valueReference [
                 fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
                 fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ], [
               fhir:index 1;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "Language" ]         ], [
               fhir:index 2;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
             fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/languages>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ], [
           fhir:index 12;
           fhir:Element.id [ fhir:value "Flag.text" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.text" ];
           fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
           fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ];
           fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later." ];
           fhir:ElementDefinition.alias [
             fhir:value "narrative";
             fhir:index 0       ], [
             fhir:value "html";
             fhir:index 1       ], [
             fhir:value "xhtml";
             fhir:index 2       ], [
             fhir:value "display";
             fhir:index 3       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
           fhir:ElementDefinition.condition [
             fhir:value "dom-1";
             fhir:index 0       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ]     ], [
           fhir:index 13;
           fhir:Element.id [ fhir:value "Flag.contained" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.contained" ];
           fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
           fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ];
           fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ];
           fhir:ElementDefinition.alias [
             fhir:value "inline resources";
             fhir:index 0       ], [
             fhir:value "anonymous resources";
             fhir:index 1       ], [
             fhir:value "contained resources";
             fhir:index 2       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 14;
           fhir:Element.id [ fhir:value "Flag.extension" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.extension" ];
           fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 15;
           fhir:Element.id [ fhir:value "Flag.modifierExtension" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.modifierExtension" ];
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
           fhir:ElementDefinition.alias [
             fhir:value "extensions";
             fhir:index 0       ], [
             fhir:value "user content";
             fhir:index 1       ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "*" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
           fhir:index 16;
           fhir:Element.id [ fhir:value "Flag.identifier" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.identifier" ];
           fhir:ElementDefinition.short [ fhir:value "Business identifier" ];
           fhir:ElementDefinition.definition [ fhir:value "Identifier assigned to the flag for external use (outside the FHIR environment)." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.identifier" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
           fhir:index 17;
           fhir:Element.id [ fhir:value "Flag.status" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.status" ];
           fhir:ElementDefinition.short [ fhir:value "active | inactive | entered-in-error" ];
           fhir:ElementDefinition.definition [ fhir:value "Supports basic workflow." ];
           fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.status" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
           fhir:ElementDefinition.fixedCode [ fhir:value "active" ];
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "FlagStatus" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error." ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/flag-status>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/flag-status" ]         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".status" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ]     ], [
           fhir:index 18;
           fhir:Element.id [ fhir:value "Flag.category" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.category" ];
           fhir:ElementDefinition.short [ fhir:value "Australian Immunisation Register notice" ];
           fhir:ElementDefinition.definition [ fhir:value "Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.category" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.patternCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               a sct:1500551000168103;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
               fhir:Coding.code [ fhir:value "1500551000168103" ]         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "FlagCategory" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "A general category for flags for filtering/display purposes." ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/flag-category>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/flag-category" ]         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "class" ]       ]     ], [
           fhir:index 19;
           fhir:Element.id [ fhir:value "Flag.code" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.code" ];
           fhir:ElementDefinition.short [ fhir:value "Coded or textual message to display to user" ];
           fhir:ElementDefinition.definition [ fhir:value "The coded value or textual component of the flag to display to the user." ];
           fhir:ElementDefinition.comment [ fhir:value "If non coded, use CodeableConcept.text.  This element should always be included in the narrative." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.code" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
               fhir:Extension.valueString [ fhir:value "FlagCode" ]         ];
             fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
             fhir:ElementDefinition.binding.description [ fhir:value "Detail codes identifying specific flagged issues." ];
             fhir:ElementDefinition.binding.valueSetReference [
               fhir:link <http://hl7.org/fhir/ValueSet/flag-code>;
               fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/flag-code" ]         ]       ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".value" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "what" ]       ]     ], [
           fhir:index 20;
           fhir:Element.id [ fhir:value "Flag.subject" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.subject" ];
           fhir:ElementDefinition.short [ fhir:value "Who/What is flag about?" ];
           fhir:ElementDefinition.definition [ fhir:value "The patient, location, group , organization , or practitioner, etc. this is about record this flag is associated with." ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.subject" ];
             fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-patient" ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].role[classCode=PAT | LOCE | ASSIGNED]" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ]       ]     ], [
           fhir:index 21;
           fhir:Element.id [ fhir:value "Flag.period" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.period" ];
           fhir:ElementDefinition.short [ fhir:value "Time period when flag is active" ];
           fhir:ElementDefinition.definition [ fhir:value "The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.period" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "context" ]       ]     ], [
           fhir:index 22;
           fhir:Element.id [ fhir:value "Flag.encounter" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.encounter" ];
           fhir:ElementDefinition.short [ fhir:value "Alert relevant during encounter" ];
           fhir:ElementDefinition.definition [ fhir:value "This alert is only relevant during the encounter." ];
           fhir:ElementDefinition.comment [ fhir:value "If both Flag.encounter and Flag.period are valued, then Flag.period.start shall not be before Encounter.period.start and Flag.period.end shall not be after Encounter.period.end." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.encounter" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "context" ]       ]     ], [
           fhir:index 23;
           fhir:Element.id [ fhir:value "Flag.author" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.author" ];
           fhir:ElementDefinition.short [ fhir:value "Flag creator" ];
           fhir:ElementDefinition.definition [ fhir:value "The person, organization or device that created the flag." ];
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Flag.author" ];
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
             fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Device" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ], [
             fhir:index 2;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ]       ], [
             fhir:index 3;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ]       ];
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
           fhir:ElementDefinition.mapping [
             fhir:index 0;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
             fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ]       ], [
             fhir:index 1;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
             fhir:ElementDefinition.mapping.map [ fhir:value "who.author" ]       ]     ]
      ];
      fhir:StructureDefinition.differential [
         fhir:StructureDefinition.differential.element [
           fhir:index 0;
           fhir:Element.id [ fhir:value "Flag" ];
           fhir:ElementDefinition.path [ fhir:value "Flag" ];
           fhir:ElementDefinition.short [ fhir:value "AIR notice" ];
           fhir:ElementDefinition.definition [ fhir:value "Australian Immunisation Register notice such as an individual has an exemption record or has finished a National Immunisation Program schedule." ]     ], [
           fhir:index 1;
           fhir:Element.id [ fhir:value "Flag.meta" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.constraint [
             fhir:index 0;
             fhir:ElementDefinition.constraint.key [ fhir:value "inv-dh-fla-01" ];
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
             fhir:ElementDefinition.constraint.human [ fhir:value "One profile shall be 'http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1'" ];
             fhir:ElementDefinition.constraint.expression [ fhir:value "profile.where($this='http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/flag-air-1').exists()" ]       ]     ], [
           fhir:index 2;
           fhir:Element.id [ fhir:value "Flag.meta.profile" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.meta.profile" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]     ], [
           fhir:index 3;
           fhir:Element.id [ fhir:value "Flag.identifier" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.identifier" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.max [ fhir:value "1" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 4;
           fhir:Element.id [ fhir:value "Flag.status" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.status" ];
           fhir:ElementDefinition.fixedCode [ fhir:value "active" ]     ], [
           fhir:index 5;
           fhir:Element.id [ fhir:value "Flag.category" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.category" ];
           fhir:ElementDefinition.short [ fhir:value "Australian Immunisation Register notice" ];
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
           fhir:ElementDefinition.patternCodeableConcept [
             fhir:CodeableConcept.coding [
               fhir:index 0;
               a sct:1500551000168103;
               fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
               fhir:Coding.code [ fhir:value "1500551000168103" ]         ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 6;
           fhir:Element.id [ fhir:value "Flag.code" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.code" ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ], [
           fhir:index 7;
           fhir:Element.id [ fhir:value "Flag.subject" ];
           fhir:ElementDefinition.path [ fhir:value "Flag.subject" ];
           fhir:ElementDefinition.type [
             fhir:index 0;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
             fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-patient" ]       ];
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ]     ]
      ].

    <http://hl7.org/fhir/ValueSet/security-labels> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/common-tags> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/flag-status> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/flag-category> a fhir:ValueSet.

    <http://hl7.org/fhir/ValueSet/flag-code> a fhir:ValueSet.

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.