AU Patient Summary Implementation Guide
1.0.0 - Working Standard

AU Patient Summary Implementation Guide - Downloaded Version 1.0.0 See the Directory of published versions

## Resource Profile: AUPSPractitionerRole - TTL Profile

Page standards status: Trial-use | Maturity Level: 2

TTL representation of the au-ps-practitionerrole resource profile.

Raw ttl | Download

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

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

    <http://hl7.org/fhir/StructureDefinition/au-ps-practitionerrole> a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "au-ps-practitionerrole"] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "extensions" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition au-ps-practitionerrole</b></p><a name=\"au-ps-practitionerrole\"> </a><a name=\"hcau-ps-practitionerrole\"> </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-ps-practitionerrole-definitions.html#PractitionerRole\">PractitionerRole</a><a name=\"PractitionerRole\"> </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.au/fhir/core/2.0.0/StructureDefinition-au-core-practitionerrole.html\">AUCorePractitionerRole</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 person with formal responsibility in a role providing one or more services</span><br/><span style=\"font-weight:bold\">This profile also complies with the profile </span><a style=\"font-weight:bold; font-weight:bold; font-weight:bold; font-weight:bold\" href=\"http://hl7.org/fhir/uv/ips/2.0.1/StructureDefinition-PractitionerRole-uv-ips.html\">PractitionerRole (IPS)</a></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.identifier\">identifier</a><a name=\"PractitionerRole.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\" title=\"Identifier\">Identifier</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-medicareprovidernumber.html\" title=\"Identifier\">AUMedicareProviderNumber</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-nationalprovideridentifieratorganisation.html\" title=\"Identifier\">AUNationalProviderIdentifierAtOrganisation</a><span style=\"opacity: 0.5\">, </span><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org.au/fhir/6.0.0/StructureDefinition-au-employeenumber.html\" title=\"Identifier\">AUEmployeeNumber</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\">Business Identifiers that are specific to a role/location</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_bck13.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for identifier<a name=\"PractitionerRole.identifier.2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><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\">Content/Rules for all slices</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_bck124.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.identifier:medicareProvider\" title=\"Slice medicareProvider\">identifier:medicareProvider</a><a name=\"PractitionerRole.identifier:medicareProvider\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">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.au/fhir/6.0.0/StructureDefinition-au-medicareprovidernumber.html\" title=\"Identifier\">AUMedicareProviderNumber</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\">Business Identifiers that are specific to a role/location</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.practitioner\">practitioner</a><a name=\"PractitionerRole.practitioner\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-au-ps-practitioner.html\">AU PS Practitioner</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\">Practitioner that is able to provide the defined services for the organization</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.organization\">organization</a><a name=\"PractitionerRole.organization\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">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 href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-au-ps-organization.html\">AU PS Organization</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\">Organization where the roles are available</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.code\">code</a><a name=\"PractitionerRole.code\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">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/uv/ips/2.0.1/StructureDefinition-CodeableConcept-uv-ips.html\" title=\"CodeableConcept\">CodeableConceptIPS</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\">Roles which this practitioner may perform</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.specialty\">specialty</a><a name=\"PractitionerRole.specialty\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/uv/ips/2.0.1/StructureDefinition-CodeableConcept-uv-ips.html\" title=\"CodeableConcept\">CodeableConceptIPS</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\">Specific specialty of the practitioner</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-ps-practitionerrole-definitions.html#PractitionerRole.telecom\">telecom</a><a name=\"PractitionerRole.telecom\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">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 style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#ContactPoint\">ContactPoint</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\">Contact details that are specific to the role/location/service</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHOULD</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-display\" title=\"Obligation Codes: display\">display</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_bck010.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.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-ps-practitionerrole-definitions.html#PractitionerRole.telecom.system\">system</a><a name=\"PractitionerRole.telecom.system\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">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\">phone | fax | email | pager | url | sms | other</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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_bck000.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-ps-practitionerrole-definitions.html#PractitionerRole.telecom.value\">value</a><a name=\"PractitionerRole.telecom.value\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element has obligations\">O</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">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: 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#string\">string</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\">The actual contact point details</span><table class=\"obligation grid\"><tr><td style=\"font-size: 11px\"><b>Obligations</b></td><td style=\"font-size: 11px\"><b>Actor</b></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-populate-if-known\" title=\"Obligation Codes: populate if known\">populate-if-known</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-producer.html\">AU PS Producer</a></td></tr><tr><td style=\"font-size: 11px\"><b>SHALL</b>:<a href=\"http://hl7.org/fhir/extensions/5.3.0/CodeSystem-obligation.html#obligation-handle\" title=\"Obligation Codes: correctly handle\">handle</a></td><td style=\"font-size: 11px; opacity: 0.5;\"><a href=\"ActorDefinition-au-ps-actor-consumer.html\">AU PS Consumer</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>"
      ] ;
      fhir:DomainResource.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]
      ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips" ;
           fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips>
         ]
      ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
         fhir:Extension.valueCode [
           fhir:value "trial-use" ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
             fhir:Extension.valueCanonical [
               fhir:value "http://hl7.org.au/fhir/ps/ImplementationGuide/hl7.fhir.au.ps" ;
               fhir:link <http://hl7.org.au/fhir/ps/ImplementationGuide/hl7.fhir.au.ps>
             ]
           ]
         ]
      ] ;
      fhir:StructureDefinition.url [ fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole"] ;
      fhir:StructureDefinition.version [ fhir:value "1.0.0"] ;
      fhir:StructureDefinition.name [ fhir:value "AUPSPractitionerRole"] ;
      fhir:StructureDefinition.title [ fhir:value "AU PS PractitionerRole"] ;
      fhir:StructureDefinition.status [ fhir:value "active"] ;
      fhir:StructureDefinition.date [ fhir:value "2026-07-05T06:14:46+00:00"^^xsd:dateTime] ;
      fhir:StructureDefinition.publisher [ fhir:value "HL7 Australia"] ;
      fhir:StructureDefinition.contact [
         fhir:index 0 ;
         fhir:ContactDetail.name [ fhir:value "HL7 Australia FHIR Work Group" ] ;
         fhir:ContactDetail.telecom [
           fhir:index 0 ;
           fhir:ContactPoint.system [ fhir:value "url" ] ;
           fhir:ContactPoint.value [ fhir:value "https://confluence.hl7.org/display/HAFWG" ] ;
           fhir:ContactPoint.use [ fhir:value "work" ]
         ]
      ] ;
      fhir:StructureDefinition.description [ fhir:value "This profile sets minimum expectations for a PractitionerRole resource in the context of a patient summary in an Australian context. It is based on the [AU Core PractitionerRole](https://hl7.org.au/fhir/core/2.0.0/StructureDefinition-au-core-practitionerrole.html) profile, and applies the additional requirements from [PractitionerRole (IPS)](https://hl7.org/fhir/uv/ips/2.0.1/en/StructureDefinition-PractitionerRole-uv-ips.html)."] ;
      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:StructureDefinition.copyright [ fhir:value "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2024+; Licensed Under Creative Commons No Rights Reserved."] ;
      fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ;
      fhir:StructureDefinition.mapping [
         fhir:index 0 ;
         fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ] ;
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ] ;
         fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
      ], [
         fhir:index 1 ;
         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 2 ;
         fhir:StructureDefinition.mapping.identity [ fhir:value "servd" ] ;
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://www.omg.org/spec/ServD/1.0/" ] ;
         fhir:StructureDefinition.mapping.name [ fhir:value "ServD" ]
      ], [
         fhir:index 3 ;
         fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ] ;
         fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ] ;
         fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
      ] ;
      fhir:StructureDefinition.kind [ fhir:value "resource"] ;
      fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ;
      fhir:StructureDefinition.type [ fhir:value "PractitionerRole"] ;
      fhir:StructureDefinition.baseDefinition [
         fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole" ;
         fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole>
      ] ;
      fhir:StructureDefinition.derivation [ fhir:value "constraint"] ;
      fhir:StructureDefinition.snapshot [
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version" ] ;
           fhir:Extension.valueString [ fhir:value "2.0.0" ]
         ] ;
         fhir:StructureDefinition.snapshot.element [
           fhir:index 0 ;
           fhir:Element.id [ fhir:value "PractitionerRole" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole" ] ;
           fhir:ElementDefinition.short [ fhir:value "A person with formal responsibility in a role providing one or more services" ] ;
           fhir:ElementDefinition.definition [ fhir:value "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole" ] ;
             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:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ], [
             fhir:index 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:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ], [
             fhir:index 3 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ;
               fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ;
               fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]
             ] ;
             fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRD (as one example)" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "Role" ]
           ], [
             fhir:index 3 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "ServiceSiteProvider" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:Element.id [ fhir:value "PractitionerRole.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.id" ] ;
           fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
           fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "id" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
         ], [
           fhir:index 2 ;
           fhir:Element.id [ fhir:value "PractitionerRole.meta" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.meta" ] ;
           fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Meta" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
         ], [
           fhir:index 3 ;
           fhir:Element.id [ fhir:value "PractitionerRole.implicitRules" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.implicitRules" ] ;
           fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ] ;
           fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "uri" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]
         ], [
           fhir:index 4 ;
           fhir:Element.id [ fhir:value "PractitionerRole.language" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.language" ] ;
           fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ;
                 fhir:link <http://hl7.org/fhir/ValueSet/all-languages>
               ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
               fhir:Extension.valueString [ fhir:value "Language" ]
             ] ;
             fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
             fhir:ElementDefinition.binding.description [ fhir:value "A human language." ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/languages|4.0.1" ;
               fhir:link <http://hl7.org/fhir/ValueSet/languages|4.0.1>
             ]
           ]
         ], [
           fhir:index 5 ;
           fhir:Element.id [ fhir:value "PractitionerRole.text" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.text" ] ;
           fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ] ;
           fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "narrative" ;
             fhir:index 0
           ], [
             fhir:value "html" ;
             fhir:index 1
           ], [
             fhir:value "xhtml" ;
             fhir:index 2
           ], [
             fhir:value "display" ;
             fhir:index 3
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:Element.id [ fhir:value "PractitionerRole.contained" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.contained" ] ;
           fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ] ;
           fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
           fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "inline resources" ;
             fhir:index 0
           ], [
             fhir:value "anonymous resources" ;
             fhir:index 1
           ], [
             fhir:value "contained resources" ;
             fhir:index 2
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Resource" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:Element.id [ fhir:value "PractitionerRole.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:Element.id [ fhir:value "PractitionerRole.modifierExtension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.modifierExtension" ] ;
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ] ;
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ]
         ], [
           fhir:index 9 ;
           fhir:Element.id [ fhir:value "PractitionerRole.identifier" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.identifier" ] ;
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0 ;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "pattern" ] ;
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "type" ]
             ] ;
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Business Identifiers that are specific to a role/location" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Business Identifiers that are specific to a role/location." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Often, specific identities are assigned for the agent." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.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.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Identifier" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Identifier>
             ], [
               fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber" ;
               fhir:index 1 ;
               fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber>
             ], [
               fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation" ;
               fhir:index 2 ;
               fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation>
             ], [
               fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-employeenumber" ;
               fhir:index 3 ;
               fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-employeenumber>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRD-7 (or XCN.1)" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]
           ], [
             fhir:index 3 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./Identifiers" ]
           ]
         ], [
           fhir:index 10 ;
           fhir:Element.id [ fhir:value "PractitionerRole.identifier:medicareProvider" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.identifier" ] ;
           fhir:ElementDefinition.sliceName [ fhir:value "medicareProvider" ] ;
           fhir:ElementDefinition.short [ fhir:value "Business Identifiers that are specific to a role/location" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Business Identifiers that are specific to a role/location." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Often, specific identities are assigned for the agent." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.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.type.profile [
               fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRD-7 (or XCN.1)" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]
           ], [
             fhir:index 3 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./Identifiers" ]
           ]
         ], [
           fhir:index 11 ;
           fhir:Element.id [ fhir:value "PractitionerRole.active" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.active" ] ;
           fhir:ElementDefinition.short [ fhir:value "Whether this practitioner role record is in active use" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Whether this practitioner role record is in active use." ] ;
           fhir:ElementDefinition.comment [ fhir:value "If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.active" ] ;
             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 "boolean" ]
           ] ;
           fhir:ElementDefinition.meaningWhenMissing [ fhir:value "This resource is generally assumed to be active if no value is provided for the active element" ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "STF-7" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode" ]
           ]
         ], [
           fhir:index 12 ;
           fhir:Element.id [ fhir:value "PractitionerRole.period" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.period" ] ;
           fhir:ElementDefinition.short [ fhir:value "The period during which the practitioner is authorized to perform in these role(s)" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The period during which the person is authorized to act as a practitioner in these role(s) for the organization." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Even after the agencies is revoked, the fact that it existed must still be recorded." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.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.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRD-8/9 / PRA-5.4" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime" ]
           ], [
             fhir:index 3 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" ]
           ]
         ], [
           fhir:index 13 ;
           fhir:Element.id [ fhir:value "PractitionerRole.practitioner" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.practitioner" ] ;
           fhir:ElementDefinition.short [ fhir:value "Practitioner that is able to provide the defined services for the organization" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Practitioner that is able to provide the defined services for the organization." ] ;
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.practitioner" ] ;
             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.au/fhir/ps/StructureDefinition/au-ps-practitioner" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner>
             ]
           ] ;
           fhir:ElementDefinition.condition [
             fhir:value "au-core-prarol-01" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "au-core-prarol-01" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "At least a reference, identifier or display shall be present, or, if neither is available, the Data Absent Reason extension shall be present" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "(reference.exists() or identifier.exists() or display.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "(exists(f:reference) or exists(f:display) or exists(f:identifier)) and not(exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:reference) or exists(f:display) or exists(f:identifier)) and exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole" ;
               fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".player" ]
           ]
         ], [
           fhir:index 14 ;
           fhir:Element.id [ fhir:value "PractitionerRole.organization" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.organization" ] ;
           fhir:ElementDefinition.short [ fhir:value "Organization where the roles are available" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The organization where the Practitioner performs the roles associated." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.organization" ] ;
             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.au/fhir/ps/StructureDefinition/au-ps-organization" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".scoper" ]
           ]
         ], [
           fhir:index 15 ;
           fhir:Element.id [ fhir:value "PractitionerRole.code" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.code" ] ;
           fhir:ElementDefinition.short [ fhir:value "Roles which this practitioner may perform" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Roles which this practitioner is authorized to perform for the organization." ] ;
           fhir:ElementDefinition.comment [ fhir:value "A person may have more than one role." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Need to know what authority the practitioner has - what can they do?" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.code" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ;
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.binding [
             fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/practitioner-role-1" ;
               fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/practitioner-role-1>
             ]
           ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRD-1 / STF-18  / PRA-3  / PRT-4  / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" ]
           ]
         ], [
           fhir:index 16 ;
           fhir:Element.id [ fhir:value "PractitionerRole.specialty" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.specialty" ] ;
           fhir:ElementDefinition.short [ fhir:value "Specific specialty of the practitioner" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Specific specialty of the practitioner." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.specialty" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ;
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.binding [
             fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "https://healthterminologies.gov.au/fhir/ValueSet/clinical-specialty-1" ;
               fhir:link <https://healthterminologies.gov.au/fhir/ValueSet/clinical-specialty-1>
             ]
           ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "PRA-5" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".player.HealthCareProvider[@classCode = 'PROV'].code" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./Specialty" ]
           ]
         ], [
           fhir:index 17 ;
           fhir:Element.id [ fhir:value "PractitionerRole.location" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.location" ] ;
           fhir:ElementDefinition.short [ fhir:value "The location(s) at which this practitioner provides care" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The location(s) at which this practitioner provides care." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.location" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Location|4.0.1" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Location|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.where[x]" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)<br/> However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" ]
           ]
         ], [
           fhir:index 18 ;
           fhir:Element.id [ fhir:value "PractitionerRole.healthcareService" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.healthcareService" ] ;
           fhir:ElementDefinition.short [ fhir:value "The list of healthcare services that this worker provides for this role's Organization/Location(s)" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The list of healthcare services that this worker provides for this role's Organization/Location(s)." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.healthcareService" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService|4.0.1" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/HealthcareService|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "EDU-2 / AFF-3" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".player.QualifiedEntity[@classCode = 'QUAL'].code" ]
           ]
         ], [
           fhir:index 19 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 4 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom" ] ;
           fhir:ElementDefinition.short [ fhir:value "Contact details that are specific to the role/location/service" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Contact details that are specific to the role/location/service." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.telecom" ] ;
             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 "ContactPoint" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".telecom" ]
           ]
         ], [
           fhir:index 20 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.id" ] ;
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "string" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 21 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.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. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 22 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.system" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.system" ] ;
           fhir:ElementDefinition.short [ fhir:value "phone | fax | email | pager | url | sms | other" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Telecommunications form for contact point - what communications system is required to make use of the contact." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "ContactPoint.system" ] ;
             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.condition [
             fhir:value "cpt-2" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
               fhir:Extension.valueString [ fhir:value "ContactPointSystem" ]
             ] ;
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ;
             fhir:ElementDefinition.binding.description [ fhir:value "Telecommunications form for contact point." ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" ;
               fhir:link <http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "XTN.3" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./scheme" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./ContactPointType" ]
           ]
         ], [
           fhir:index 23 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.value" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:no-error" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester" ;
                 fhir:link <http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 3 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ], [
               fhir:index 2 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0" ;
                 fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitionerrole|1.0.0>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.value" ] ;
           fhir:ElementDefinition.short [ fhir:value "The actual contact point details" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Need to support legacy numbers that are not in a tightly controlled format." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "ContactPoint.value" ] ;
             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.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "XTN.1 (or XTN.12)" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./url" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./Value" ]
           ]
         ], [
           fhir:index 24 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.use" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.use" ] ;
           fhir:ElementDefinition.short [ fhir:value "home | work | temp | old | mobile - purpose of this contact point" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Identifies the purpose for the contact point." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Applications can assume that a contact is current unless it explicitly says that it is temporary or old." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "ContactPoint.use" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "code" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifierReason [ fhir:value "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one" ] ;
           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 "ContactPointUse" ]
             ] ;
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ;
             fhir:ElementDefinition.binding.description [ fhir:value "Use of contact point." ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" ;
               fhir:link <http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "XTN.2 - but often indicated by field" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "unique(./use)" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./ContactPointPurpose" ]
           ]
         ], [
           fhir:index 25 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.rank" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.rank" ] ;
           fhir:ElementDefinition.short [ fhir:value "Specify preferred order of use (1 = highest)" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Note that rank does not necessarily follow the order in which the contacts are represented in the instance." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "ContactPoint.rank" ] ;
             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 "positiveInt" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 26 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.period" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.period" ] ;
           fhir:ElementDefinition.short [ fhir:value "Time period when the contact point was/is in use" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Time period when the contact point was/is in use." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "ContactPoint.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.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./usablePeriod[type=\"IVL<TS>\"]" ]
           ], [
             fhir:index 2 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "./StartDate and ./EndDate" ]
           ]
         ], [
           fhir:index 27 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime" ] ;
           fhir:ElementDefinition.short [ fhir:value "Times the Service Site is available" ] ;
           fhir:ElementDefinition.definition [ fhir:value "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice." ] ;
           fhir:ElementDefinition.comment [ fhir:value "More detailed availability information may be provided in associated Schedule/Slot resources." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availableTime" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 28 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.id" ] ;
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "string" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 29 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.extension" ] ;
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 30 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.modifierExtension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.modifierExtension" ] ;
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ], [
             fhir:value "modifiers" ;
             fhir:index 2
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ]
         ], [
           fhir:index 31 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.daysOfWeek" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.daysOfWeek" ] ;
           fhir:ElementDefinition.short [ fhir:value "mon | tue | wed | thu | fri | sat | sun" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Indicates which days of the week are available between the start and end Times." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availableTime.daysOfWeek" ] ;
             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 "code" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.binding [
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
               fhir:Extension.valueString [ fhir:value "DaysOfWeek" ]
             ] ;
             fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ;
             fhir:ElementDefinition.binding.description [ fhir:value "The days of the week." ] ;
             fhir:ElementDefinition.binding.valueSet [
               fhir:value "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1" ;
               fhir:link <http://hl7.org/fhir/ValueSet/days-of-week|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 32 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.allDay" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.allDay" ] ;
           fhir:ElementDefinition.short [ fhir:value "Always available? e.g. 24 hour service" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Is this always available? (hence times are irrelevant) e.g. 24 hour service." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availableTime.allDay" ] ;
             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 "boolean" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 33 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableStartTime" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableStartTime" ] ;
           fhir:ElementDefinition.short [ fhir:value "Opening time of day (ignored if allDay = true)" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The opening time of day. Note: If the AllDay flag is set, then this time is ignored." ] ;
           fhir:ElementDefinition.comment [ fhir:value "The timezone is expected to be for where this HealthcareService is provided at." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availableTime.availableStartTime" ] ;
             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 "time" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 34 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableStartTime.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableStartTime.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)" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "string" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 35 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableStartTime.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableStartTime.extension" ] ;
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0 ;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ;
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]
             ] ;
             fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ;
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Extension" ] ;
           fhir:ElementDefinition.definition [ fhir:value "An Extension" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 36 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableStartTime.extension:timeZone" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableStartTime.extension" ] ;
           fhir:ElementDefinition.sliceName [ fhir:value "timeZone" ] ;
           fhir:ElementDefinition.short [ fhir:value "IANA Timezone Code per BCP 175" ] ;
           fhir:ElementDefinition.definition [ fhir:value "An IANA timezone code for the timezone offset per BCP 175.\nFor data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset.  Where an offset is provided, this extension provides a more legible display of the zone associated with the offset.  Where an offset is not present, this extension can be used to provide zone information not otherwise available." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Use [Australian Time Zone Usage](https://hl7.org.au/fhir/6.0.0/StructureDefinition-au-timezone-usage.html) for Australian state and territory time zone offsets." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           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.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/timezone" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/timezone>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 37 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableStartTime.value" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableStartTime.value" ] ;
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Primitive value for time" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The actual value" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "time.value" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "time" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/regex" ] ;
               fhir:Extension.valueString [ fhir:value "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.Time" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 38 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableEndTime" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableEndTime" ] ;
           fhir:ElementDefinition.short [ fhir:value "Closing time of day (ignored if allDay = true)" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The closing time of day. Note: If the AllDay flag is set, then this time is ignored." ] ;
           fhir:ElementDefinition.comment [ fhir:value "The timezone is expected to be for where this HealthcareService is provided at." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availableTime.availableEndTime" ] ;
             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 "time" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 39 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableEndTime.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableEndTime.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)" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "string" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 40 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableEndTime.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableEndTime.extension" ] ;
           fhir:ElementDefinition.slicing [
             fhir:ElementDefinition.slicing.discriminator [
               fhir:index 0 ;
               fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ;
               fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]
             ] ;
             fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ;
             fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Extension" ] ;
           fhir:ElementDefinition.definition [ fhir:value "An Extension" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 41 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableEndTime.extension:timeZone" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableEndTime.extension" ] ;
           fhir:ElementDefinition.sliceName [ fhir:value "timeZone" ] ;
           fhir:ElementDefinition.short [ fhir:value "IANA Timezone Code per BCP 175" ] ;
           fhir:ElementDefinition.definition [ fhir:value "An IANA timezone code for the timezone offset per BCP 175.\nFor data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset.  Where an offset is provided, this extension provides a more legible display of the zone associated with the offset.  Where an offset is not present, this extension can be used to provide zone information not otherwise available." ] ;
           fhir:ElementDefinition.comment [ fhir:value "Use [Australian Time Zone Usage](https://hl7.org.au/fhir/6.0.0/StructureDefinition-au-timezone-usage.html) for Australian state and territory time zone offsets." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           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.type.profile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/timezone" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/timezone>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 42 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availableTime.availableEndTime.value" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availableTime.availableEndTime.value" ] ;
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Primitive value for time" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The actual value" ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "time.value" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "time" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/regex" ] ;
               fhir:Extension.valueString [ fhir:value "([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.Time" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]
         ], [
           fhir:index 43 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable" ] ;
           fhir:ElementDefinition.short [ fhir:value "Not available during this time due to provided reason" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The practitioner is not available or performing this role during this period of time due to the provided reason." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.notAvailable" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 44 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable.id" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable.id" ] ;
           fhir:ElementDefinition.representation [
             fhir:value "xmlAttr" ;
             fhir:index 0
           ] ;
           fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "1" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
               fhir:Extension.valueUrl [ fhir:value "string" ]
             ] ;
             fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 45 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable.extension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable.extension" ] ;
           fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ;
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 46 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable.modifierExtension" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable.modifierExtension" ] ;
           fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ;
           fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
           fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ;
           fhir:ElementDefinition.alias [
             fhir:value "extensions" ;
             fhir:index 0
           ], [
             fhir:value "user content" ;
             fhir:index 1
           ], [
             fhir:value "modifiers" ;
             fhir:index 2
           ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Extension" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ], [
             fhir:index 1 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]
           ]
         ], [
           fhir:index 47 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable.description" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable.description" ] ;
           fhir:ElementDefinition.short [ fhir:value "Reason presented to the user explaining why time not available" ] ;
           fhir:ElementDefinition.definition [ fhir:value "The reason that can be presented to the user as to why this time is not available." ] ;
           fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.notAvailable.description" ] ;
             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 "string" ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ], [
           fhir:index 48 ;
           fhir:Element.id [ fhir:value "PractitionerRole.notAvailable.during" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.notAvailable.during" ] ;
           fhir:ElementDefinition.short [ fhir:value "Service not available from this date" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Service is not available (seasonally or for a public holiday) from this date." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.notAvailable.during" ] ;
             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.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 49 ;
           fhir:Element.id [ fhir:value "PractitionerRole.availabilityExceptions" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.availabilityExceptions" ] ;
           fhir:ElementDefinition.short [ fhir:value "Description of availability exceptions" ] ;
           fhir:ElementDefinition.definition [ fhir:value "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "1" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.availabilityExceptions" ] ;
             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.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]
           ]
         ], [
           fhir:index 50 ;
           fhir:Element.id [ fhir:value "PractitionerRole.endpoint" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.endpoint" ] ;
           fhir:ElementDefinition.short [ fhir:value "Technical endpoints providing access to services operated for the practitioner with this role" ] ;
           fhir:ElementDefinition.definition [ fhir:value "Technical endpoints providing access to services operated for the practitioner with this role." ] ;
           fhir:ElementDefinition.requirements [ fhir:value "Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose." ] ;
           fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
           fhir:ElementDefinition.max [ fhir:value "*" ] ;
           fhir:ElementDefinition.base [
             fhir:ElementDefinition.base.path [ fhir:value "PractitionerRole.endpoint" ] ;
             fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ;
             fhir:ElementDefinition.base.max [ fhir:value "*" ]
           ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint|4.0.1" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Endpoint|4.0.1>
             ]
           ] ;
           fhir:ElementDefinition.constraint [
             fhir:index 0 ;
             fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ;
             fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ;
             fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ;
             fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ;
             fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ;
             fhir:ElementDefinition.constraint.source [
               fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ;
               fhir:link <http://hl7.org/fhir/StructureDefinition/Element>
             ]
           ] ;
           fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ;
           fhir:ElementDefinition.mapping [
             fhir:index 0 ;
             fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ;
             fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]
           ]
         ]
      ] ;
      fhir:StructureDefinition.differential [
         fhir:StructureDefinition.differential.element [
           fhir:index 0 ;
           fhir:Element.id [ fhir:value "PractitionerRole" ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole" ]
         ], [
           fhir:index 1 ;
           fhir:Element.id [ fhir:value "PractitionerRole.identifier" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.identifier" ]
         ], [
           fhir:index 2 ;
           fhir:Element.id [ fhir:value "PractitionerRole.identifier:medicareProvider" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.identifier" ] ;
           fhir:ElementDefinition.sliceName [ fhir:value "medicareProvider" ]
         ], [
           fhir:index 3 ;
           fhir:Element.id [ fhir:value "PractitionerRole.practitioner" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.practitioner" ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-practitioner>
             ]
           ]
         ], [
           fhir:index 4 ;
           fhir:Element.id [ fhir:value "PractitionerRole.organization" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.organization" ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ;
             fhir:ElementDefinition.type.targetProfile [
               fhir:value "http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-organization>
             ]
           ]
         ], [
           fhir:index 5 ;
           fhir:Element.id [ fhir:value "PractitionerRole.code" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.code" ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ;
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips>
             ]
           ]
         ], [
           fhir:index 6 ;
           fhir:Element.id [ fhir:value "PractitionerRole.specialty" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.specialty" ] ;
           fhir:ElementDefinition.type [
             fhir:index 0 ;
             fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ;
             fhir:ElementDefinition.type.profile [
               fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips" ;
               fhir:index 0 ;
               fhir:link <http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips>
             ]
           ]
         ], [
           fhir:index 7 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 2 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHOULD:display" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom" ]
         ], [
           fhir:index 8 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.system" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.system" ]
         ], [
           fhir:index 9 ;
           fhir:Element.id [ fhir:value "PractitionerRole.telecom.value" ] ;
           fhir:Element.extension [
             fhir:index 0 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:populate-if-known" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-producer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ], [
             fhir:index 1 ;
             fhir:Element.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "code" ] ;
               fhir:Extension.valueCode [ fhir:value "SHALL:handle" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "actor" ] ;
               fhir:Extension.valueCanonical [
                 fhir:value "http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer" ;
                 fhir:link <http://hl7.org.au/fhir/ps/ActorDefinition/au-ps-actor-consumer>
               ]
             ] ;
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/obligation" ]
           ] ;
           fhir:ElementDefinition.path [ fhir:value "PractitionerRole.telecom.value" ]
         ]
      ] .

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

    <http://hl7.org/fhir/StructureDefinition/au-ps-practitionerrole.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/StructureDefinition/au-ps-practitionerrole.ttl> .