- HSPC Implementation Guide

This page is part of the HSPC FHIR Implementation Guide (v0.1.0: Daft For Comment Draft) based on FHIR v1.9.0. This is the current published version. For a full list of available versions, see the Directory of published versions

href="assets/ico/favicon.png"/>

Profile hspc-provpract

@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 -------------------------------------------------------------------

 a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "hspc-provpract"];
  fhir:StructureDefinition.url [ fhir:value "http://fhir.org/guides/hspc/StructureDefinition/hspc-provpract"];
  fhir:StructureDefinition.name [ fhir:value "Profile hspc-provpract"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.publisher [ fhir:value "HSPC"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:StructureDefinition.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://healthcaresoa.org" ]     ]
  ];
  fhir:StructureDefinition.date [ fhir:value "2015-05-13"^^xsd:date];
  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/w5" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.type [ fhir:value "Practitioner"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner" ];
       fhir:ElementDefinition.name [ fhir:value "HSPCProviderPractitioner" ];
       fhir:ElementDefinition.short [ fhir:value "A person with a  formal responsibility in the provisioning of healthcare or related services" ];
       fhir:ElementDefinition.definition [ fhir:value "A person who is directly or indirectly involved in the provisioning of healthcare." ];
       fhir:ElementDefinition.comments [ fhir:value "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "PRD (as one example)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Role" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Provider" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "administrative.individual" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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.comments [ 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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.meta" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.meta" ];
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.implicitRules" ];
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ];
       fhir:ElementDefinition.comments [ 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 as much as possible." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.language" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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.comments [ 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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.binding [
         fhir:extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
             fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/languages>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.text" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ];
       fhir:ElementDefinition.comments [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later." ];
       fhir:ElementDefinition.alias [
         fhir:value "narrative";
         fhir:index 0       ], [
         fhir:value "html";
         fhir:index 1       ], [
         fhir:value "xhtml";
         fhir:index 2       ], [
         fhir:value "display";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "dom-1";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.contained" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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.comments [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again." ];
       fhir:ElementDefinition.alias [
         fhir:value "inline resources";
         fhir:index 0       ], [
         fhir:value "anonymous resources";
         fhir:index 1       ], [
         fhir:value "contained resources";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comments [ 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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
       fhir:ElementDefinition.comments [ 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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "A identifier for the person as this agent" ];
       fhir:ElementDefinition.definition [ fhir:value "An identifier that applies to this person in this role." ];
       fhir:ElementDefinition.requirements [ fhir:value "Often, specific identities are assigned for the agent." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       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 "PRD-7 (or XCN.1)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./id" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Identifiers" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.active" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.active" ];
       fhir:ElementDefinition.short [ fhir:value "Whether this practitioner's record is in active use" ];
       fhir:ElementDefinition.definition [ fhir:value "Whether this practitioner's record is in active use." ];
       fhir:ElementDefinition.comments [ fhir:value "Default is true.   If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to mark a practitioner record as not to be used because it was created in error." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.active" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ];
       fhir:ElementDefinition.defaultValueBoolean [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./StatusCode" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.name" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.name" ];
       fhir:ElementDefinition.short [ fhir:value "The name(s) associated with the practitioner" ];
       fhir:ElementDefinition.definition [ fhir:value "The name(s) associated with the practitioner." ];
       fhir:ElementDefinition.comments [ fhir:value "The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate.  In general select the value to be used in the ResourceReference.display based on this:  1. There is more than 1 name 2. Use = usual 3. Period is current to the date of the usage 4. Use = official 5. Other order as decided by internal business rules." ];
       fhir:ElementDefinition.requirements [ fhir:value "The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.name" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "HumanName" ]       ];
       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 "XCN Components" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./name" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./PreferredName (GivenNames, FamilyName, TitleCode)" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom" ];
       fhir:ElementDefinition.short [ fhir:value "A contact detail for the practitioner (that apply to all roles)" ];
       fhir:ElementDefinition.definition [ fhir:value "A contact detail for the practitioner, e.g. a telephone number or an email address." ];
       fhir:ElementDefinition.comments [ fhir:value "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification  These typically will have home numbers, or mobile numbers that are not role specific." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know how to reach a practitioner independent to any roles the practitioner may have." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.telecom" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "ContactPoint" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "PRT-15, STF-10, ROL-12" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./telecom" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./ContactPoints" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.extension:preferenceindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PreferenceIndicator" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.system" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom.system" ];
       fhir:ElementDefinition.short [ fhir:value "phone | fax | email | pager | 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:int ];
       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:int ];
         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.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Telecommunications form for contact point" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/contact-point-system>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/contact-point-system" ]         ]       ];
       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 16;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.value" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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.comments [ 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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 17;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.use" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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.comments [ fhir:value "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. 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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Use of contact point" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/contact-point-use>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/contact-point-use" ]         ]       ];
       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 18;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.rank" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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. Contacts are ranked with lower values coming before higher values." ];
       fhir:ElementDefinition.comments [ 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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "positiveInt" ]       ];
       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 19;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.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:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "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 "./useablePeriod[type=\"IVL<TS>\"]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./StartDate and ./EndDate" ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address" ];
       fhir:ElementDefinition.short [ fhir:value "Address(es) of the practitioner that are not role specific (typically home address)" ];
       fhir:ElementDefinition.definition [ fhir:value "Address(es) of the practitioner that are not role specific (typically home address).  Work addresses are not typically entered in this property as they are usually role dependent." ];
       fhir:ElementDefinition.comments [ fhir:value "The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address)." ];
       fhir:ElementDefinition.requirements [ fhir:value "The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.address" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Address" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "ORC-24, STF-11, ROL-11, PRT-14" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./addr" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Addresses" ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.extension:primaryindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PrimaryIndicator" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The set of values to indicate affirmative or negative" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v2-0136>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v2-0136" ]         ]       ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.use" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.use" ];
       fhir:ElementDefinition.short [ fhir:value "home | work | temp | old - purpose of this address" ];
       fhir:ElementDefinition.definition [ fhir:value "The purpose of this address." ];
       fhir:ElementDefinition.comments [ fhir:value "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. Applications can assume that an address is current unless it explicitly says that it is temporary or old." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows an appropriate address to be chosen from a list of many." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.use" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.exampleCode [ fhir:value "home" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The use of an address" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/address-use>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/address-use" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "XAD.7" ]       ], [
         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 "./AddressPurpose" ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.type" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.type" ];
       fhir:ElementDefinition.short [ fhir:value "postal | physical | both" ];
       fhir:ElementDefinition.definition [ fhir:value "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.type" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.exampleCode [ fhir:value "both" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The type of an address (physical / postal)" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/address-type>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/address-type" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "XAD.18" ]       ], [
         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 "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "address type parameter" ]       ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.text" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text representation of the address" ];
       fhir:ElementDefinition.definition [ fhir:value "A full text representation of the address." ];
       fhir:ElementDefinition.comments [ fhir:value "Can provide both a text representation and parts." ];
       fhir:ElementDefinition.requirements [ fhir:value "A renderable, unencoded form." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.exampleString [ fhir:value "137 Nowhere Street, Erewhon 9132" ];
       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 "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./formatted" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "address label parameter" ]       ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.line" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.line" ];
       fhir:ElementDefinition.short [ fhir:value "Street name, number, direction & P.O. Box etc." ];
       fhir:ElementDefinition.definition [ fhir:value "This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information." ];
       fhir:ElementDefinition.requirements [ fhir:value "home | work | temp | old - purpose of this address." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.line" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.exampleString [ fhir:value "137 Nowhere Street" ];
       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 "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = AL]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "street" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./StreetAddress (newline delimitted)" ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.city" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.city" ];
       fhir:ElementDefinition.short [ fhir:value "Name of city, town etc." ];
       fhir:ElementDefinition.definition [ fhir:value "The name of the city, town, village or other community or delivery center." ];
       fhir:ElementDefinition.alias [
         fhir:value "Municpality";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.city" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.exampleString [ fhir:value "Erewhon" ];
       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 "XAD.3" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = CTY]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "locality" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Jurisdiction" ]       ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.district" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.district" ];
       fhir:ElementDefinition.short [ fhir:value "District name (aka county)" ];
       fhir:ElementDefinition.definition [ fhir:value "The name of the administrative area (county)." ];
       fhir:ElementDefinition.comments [ fhir:value "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead." ];
       fhir:ElementDefinition.alias [
         fhir:value "County";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.district" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.exampleString [ fhir:value "Madison" ];
       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 "XAD.9" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = CNT | CPA]" ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.state" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.state" ];
       fhir:ElementDefinition.short [ fhir:value "Sub-unit of country (abbreviations ok)" ];
       fhir:ElementDefinition.definition [ fhir:value "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)." ];
       fhir:ElementDefinition.alias [
         fhir:value "Province";
         fhir:index 0       ], [
         fhir:value "Territory";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.state" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 "XAD.4" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = STA]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "region" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Region" ]       ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.postalCode" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.postalCode" ];
       fhir:ElementDefinition.short [ fhir:value "Postal code for area" ];
       fhir:ElementDefinition.definition [ fhir:value "A postal code designating a region defined by the postal service." ];
       fhir:ElementDefinition.alias [
         fhir:value "Zip";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.postalCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.exampleString [ fhir:value "9132" ];
       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 "XAD.5" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = ZIP]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./PostalIdentificationCode" ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.country" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.country" ];
       fhir:ElementDefinition.short [ fhir:value "Country (can be ISO 3166 3 letter code)" ];
       fhir:ElementDefinition.definition [ fhir:value "Country - a nation as commonly understood or generally accepted." ];
       fhir:ElementDefinition.comments [ fhir:value "ISO 3166 3 letter codes can be used in place of a full country name." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.country" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 "XAD.6" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "AD.part[parttype = CNT]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "vcard" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "country" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Country" ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.period" ];
       fhir:ElementDefinition.short [ fhir:value "Time period when address was/is in use" ];
       fhir:ElementDefinition.definition [ fhir:value "Time period when address was/is in use." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows addresses to be placed in historical context." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Address.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.examplePeriod [
         fhir:Period.start [ fhir:value "2010-03-23"^^xsd:date ];
         fhir:Period.end [ fhir:value "2010-07-01"^^xsd:date ]       ];
       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 "XAD.12 / XAD.13 + XAD.14" ]       ], [
         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 33;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.gender" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.gender" ];
       fhir:ElementDefinition.short [ fhir:value "male | female | other | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes." ];
       fhir:ElementDefinition.requirements [ fhir:value "Needed to address the person correctly." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.gender" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The gender of a person used for administrative purposes." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/administrative-gender" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "STF-5" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./administrativeGender" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./GenderCode" ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.birthDate" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.birthDate" ];
       fhir:ElementDefinition.short [ fhir:value "The date  on which the practitioner was born" ];
       fhir:ElementDefinition.definition [ fhir:value "The date of birth for the practitioner." ];
       fhir:ElementDefinition.requirements [ fhir:value "Needed for identification." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.birthDate" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "date" ]       ];
       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 "STF-6" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./birthTime" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "(not represented in ServD)" ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.photo" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.photo" ];
       fhir:ElementDefinition.short [ fhir:value "Image of the person" ];
       fhir:ElementDefinition.definition [ fhir:value "Image of the person." ];
       fhir:ElementDefinition.requirements [ fhir:value "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.photo" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Attachment" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./subjectOf/ObservationEvent[code=\"photo\"]/value" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./ImageURI (only supports the URI reference)" ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:value "Practitioner.role.organization|false|open";
           fhir:index 0         ], [
           fhir:value " Practitioner.role.code";
           fhir:index 1         ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Roles/organizations the practitioner is associated with" ];
       fhir:ElementDefinition.definition [ fhir:value "The list of roles/organizations that the practitioner is associated with." ];
       fhir:ElementDefinition.comments [ fhir:value "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".(Role)" ]       ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "PractitionerRole" ];
       fhir:ElementDefinition.short [ fhir:value "Roles/organizations the practitioner is associated with" ];
       fhir:ElementDefinition.definition [ fhir:value "The list of roles/organizations that the practitioner is associated with." ];
       fhir:ElementDefinition.comments [ fhir:value "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 ".(Role)" ]       ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comments [ 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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
       fhir:ElementDefinition.comments [ 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:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.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 41;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.organization" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.organization" ];
       fhir:ElementDefinition.short [ fhir:value "Organization where the roles are performed" ];
       fhir:ElementDefinition.definition [ fhir:value "The organization where the Practitioner performs the roles associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.organization" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "scopingOrganization" ]       ]     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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.comments [ fhir:value "A person may have more than one role. At least one role is required." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know what authority the practitioner has - what can they do?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the general practice category for a provider." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-providerPractitionerType" ]         ]       ];
       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 43;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.specialty" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.specialty" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the specific specialty in which a provider practices." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-providerPractitionerSpecialty" ]         ]       ];
       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 "indirectAuthority/QualifiedEntity[code < Speciality]/code" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Specialty" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.identifier" ];
       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 "Some business identifiers are specific to a location and should be able to be associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.telecom" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "ContactPoint" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRD-8/9 / PRA-5.4" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./effectiveTime" ]       ], [
         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 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.location" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.location" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].source[classCode=SDLOC]" ]       ], [
         fhir:index 1;
         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 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "where" ]       ]     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.healthcareService" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.healthcareService" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].id?" ]       ]     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole" ];
       fhir:ElementDefinition.definition [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.endpoint" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]       ]     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "AdministrativeAffiliation" ];
       fhir:ElementDefinition.short [ fhir:value "Roles/organizations the practitioner is associated with" ];
       fhir:ElementDefinition.definition [ fhir:value "The list of roles/organizations that the practitioner is associated with." ];
       fhir:ElementDefinition.comments [ fhir:value "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location)." ];
       fhir:ElementDefinition.alias [
         fhir:value "AdministrativeAffiliation";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 ".(Role)" ]       ]     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comments [ 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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
       fhir:ElementDefinition.comments [ 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:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.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 54;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.organization" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.organization" ];
       fhir:ElementDefinition.short [ fhir:value "Organization where the roles are performed" ];
       fhir:ElementDefinition.definition [ fhir:value "The organization where the Practitioner performs the roles associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.organization" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "scopingOrganization" ]       ]     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.code" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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.comments [ fhir:value "A person may have more than one role. At least one role is required." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know what authority the practitioner has - what can they do?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The role a person plays representing an organization" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/practitioner-role>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/practitioner-role" ]         ]       ];
       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 56;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.specialty" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.specialty" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Specific specialty associated with the agency" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/practitioner-specialty>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/practitioner-specialty" ]         ]       ];
       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 "indirectAuthority/QualifiedEntity[code < Speciality]/code" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Specialty" ]       ]     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.identifier" ];
       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 "Some business identifiers are specific to a location and should be able to be associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.telecom" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "ContactPoint" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRD-8/9 / PRA-5.4" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./effectiveTime" ]       ], [
         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 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 60;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.location" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.location" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].source[classCode=SDLOC]" ]       ], [
         fhir:index 1;
         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 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "where" ]       ]     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.healthcareService" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.healthcareService" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].id?" ]       ]     ], [
       fhir:index 62;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole" ];
       fhir:ElementDefinition.definition [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.endpoint" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]       ]     ], [
       fhir:index 63;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "PracticeAffiliation" ];
       fhir:ElementDefinition.short [ fhir:value "Roles/organizations the practitioner is associated with" ];
       fhir:ElementDefinition.definition [ fhir:value "The list of roles/organizations that the practitioner is associated with." ];
       fhir:ElementDefinition.comments [ fhir:value "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location)." ];
       fhir:ElementDefinition.alias [
         fhir:value "PracticeAffiliation";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 ".(Role)" ]       ]     ], [
       fhir:index 64;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "3" ];
         fhir:ElementDefinition.slicing.discriminator [
           fhir:value "url";
           fhir:index 0         ];
         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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ]     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practiceaffiliationtype$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PracticeAffiliationType" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the kinds of affiliations a provider may have pertaining to the practice of medicine" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-practiceAffiliationType" ]         ]       ]     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practitionerprivilege$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PractitionerPrivilege" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the level at which a provider is authorized to practice medicine at a given isntitution" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-privilege" ]         ]       ]     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
       fhir:ElementDefinition.comments [ 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:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.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 69;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.organization" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.organization" ];
       fhir:ElementDefinition.short [ fhir:value "Organization where the roles are performed" ];
       fhir:ElementDefinition.definition [ fhir:value "The organization where the Practitioner performs the roles associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.organization" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "scopingOrganization" ]       ]     ], [
       fhir:index 70;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.code" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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.comments [ fhir:value "A person may have more than one role. At least one role is required." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know what authority the practitioner has - what can they do?" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The role a person plays representing an organization" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/practitioner-role>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/practitioner-role" ]         ]       ];
       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 71;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.specialty" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.specialty" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Specific specialty associated with the agency" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/practitioner-specialty>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/practitioner-specialty" ]         ]       ];
       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 "indirectAuthority/QualifiedEntity[code < Speciality]/code" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Specialty" ]       ]     ], [
       fhir:index 72;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.identifier" ];
       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 "Some business identifiers are specific to a location and should be able to be associated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 73;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.telecom" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "ContactPoint" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 74;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRD-8/9 / PRA-5.4" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./effectiveTime" ]       ], [
         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 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 75;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.location" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.location" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Location" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].source[classCode=SDLOC]" ]       ], [
         fhir:index 1;
         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 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "where" ]       ]     ], [
       fhir:index 76;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.healthcareService" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.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:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.healthcareService" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/HealthcareService" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./target[classCode=\"indirectAuthority].id?" ]       ]     ], [
       fhir:index 77;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.endpoint" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.endpoint" ];
       fhir:ElementDefinition.short [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole" ];
       fhir:ElementDefinition.definition [ fhir:value "Technical endpoints providing access to services operated for the PractitonerRole." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.role.endpoint" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Endpoint" ]       ]     ], [
       fhir:index 78;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification" ];
       fhir:ElementDefinition.short [ fhir:value "Qualifications obtained by training and certification" ];
       fhir:ElementDefinition.definition [ fhir:value "Qualifications obtained by training and certification." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.qualification" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "CER?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./indirectAuthority/QualifiedEntity[code < qualifiedEntity]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Qualifications" ]       ]     ], [
       fhir:index 79;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 80;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.extension:credentialeligibiltyindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CredentialEligibiltyIndicator" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The set of values to indicate affirmative or negative" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v2-0136>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v2-0136" ]         ]       ]     ], [
       fhir:index 81;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions." ];
       fhir:ElementDefinition.comments [ 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:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.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 82;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "An identifier for this qualification for the practitioner" ];
       fhir:ElementDefinition.definition [ fhir:value "An identifier that applies to this person's qualification in this role." ];
       fhir:ElementDefinition.requirements [ fhir:value "Often, specific identities are assigned for the qualification." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.qualification.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./id" ]       ]     ], [
       fhir:index 83;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.code" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.code" ];
       fhir:ElementDefinition.short [ fhir:value "Coded representation of the qualification" ];
       fhir:ElementDefinition.definition [ fhir:value "Coded representation of the qualification." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.qualification.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Specific qualification the practitioner has to provide a service" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/anzsco-occupations>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/anzsco-occupations" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./code" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Qualifications.Value" ]       ]     ], [
       fhir:index 84;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.period" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.period" ];
       fhir:ElementDefinition.short [ fhir:value "Period during which the qualification is valid" ];
       fhir:ElementDefinition.definition [ fhir:value "Period during which the qualification is valid." ];
       fhir:ElementDefinition.requirements [ fhir:value "Qualifications are often for a limited period of time, and can be revoked." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.qualification.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./effectiveTime" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Qualifications.StartDate and ./Qualifications.EndDate" ]       ]     ], [
       fhir:index 85;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.issuer" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.issuer" ];
       fhir:ElementDefinition.short [ fhir:value "Organization that regulates and issues the qualification" ];
       fhir:ElementDefinition.definition [ fhir:value "Organization that regulates and issues the qualification." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.qualification.issuer" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./scoper" ]       ]     ], [
       fhir:index 86;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication" ];
       fhir:ElementDefinition.short [ fhir:value "A language the practitioner is able to use in patient communication" ];
       fhir:ElementDefinition.definition [ fhir:value "A language the practitioner is able to use in patient communication." ];
       fhir:ElementDefinition.comments [ fhir:value "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing which language a practitioner speaks can help in facilitating communication with patients." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Practitioner.communication" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
             fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ]           ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/languages>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-15, NK1-20, LAN-2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./languageCode" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./Languages.LanguageSpokenCode" ]       ]     ], [
       fhir:index 87;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication.id" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       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:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 88;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication.extension:communicationmode$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CommunicationMode" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "The method by which an individual communicates." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         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/Extension" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the method by which an individual communicates" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/communicationMode" ]         ]       ]     ], [
       fhir:index 89;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication.coding" ];
       fhir:ElementDefinition.short [ fhir:value "Code defined by a terminology system" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.comments [ fhir:value "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labelled as UserSelected = true." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.coding" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.1-8, C*E.10-22" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "union(., ./translation)" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ]       ]     ], [
       fhir:index 90;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication.text" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication.text" ];
       fhir:ElementDefinition.short [ fhir:value "Plain text representation of the concept" ];
       fhir:ElementDefinition.definition [ fhir:value "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." ];
       fhir:ElementDefinition.comments [ fhir:value "Very often the text is the same as a displayName of one of the codings." ];
       fhir:ElementDefinition.requirements [ fhir:value "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:int ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:int ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 "C*E.9. But note many systems use C*E.2 for this" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./originalText[mediaType/code=\"text/plain\"]/data" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner" ];
       fhir:ElementDefinition.name [ fhir:value "HSPCProviderPractitioner" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.telecom.extension:preferenceindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.telecom.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PreferenceIndicator" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.address.extension:primaryindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.address.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PrimaryIndicator" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The set of values to indicate affirmative or negative" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v2-0136>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v2-0136" ]         ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "PractitionerRole" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:value "Practitioner.role.organization|false|open";
           fhir:index 0         ], [
           fhir:value " Practitioner.role.code";
           fhir:index 1         ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.code" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.code" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the general practice category for a provider." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-providerPractitionerType" ]         ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practitionerrole.specialty" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.specialty" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the specific specialty in which a provider practices." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-providerPractitionerSpecialty" ]         ]       ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:administrativeaffiliation" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "AdministrativeAffiliation" ];
       fhir:ElementDefinition.alias [
         fhir:value "AdministrativeAffiliation";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role" ];
       fhir:ElementDefinition.name [ fhir:value "PracticeAffiliation" ];
       fhir:ElementDefinition.alias [
         fhir:value "PracticeAffiliation";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practiceaffiliationtype$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PracticeAffiliationType" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the kinds of affiliations a provider may have pertaining to the practice of medicine" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-practiceAffiliationType" ]         ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.role:practiceaffiliation.extension:practitionerprivilege$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.role.extension" ];
       fhir:ElementDefinition.name [ fhir:value "PractitionerPrivilege" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the level at which a provider is authorized to practice medicine at a given isntitution" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/practitioner-privilege" ]         ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.qualification.extension:credentialeligibiltyindicator$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.qualification.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CredentialEligibiltyIndicator" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The set of values to indicate affirmative or negative" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/v2-0136>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/v2-0136" ]         ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication" ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Practitioner:hspcproviderpractitioner.communication.extension:communicationmode$Extension" ];
       fhir:ElementDefinition.path [ fhir:value "Practitioner.communication.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CommunicationMode" ];
       fhir:ElementDefinition.definition [ fhir:value "The method by which an individual communicates." ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A set of codes that describe the method by which an individual communicates" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:Reference.reference [ fhir:value "ValueSet/communicationMode" ]         ]       ]     ]
  ].