INTEROPen CareConnect Base STU3 Implementation Guide
3.0.0 - CI Build

INTEROPen CareConnect Base STU3 Implementation Guide - Local Development build (v3.0.0). See the Directory of published versions

StructureDefinition: CareConnect-HealthcareService-1 - XML Profile

XML representation of the CareConnect-HealthcareService-1 Profile.

Narrative view of the profile


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="CareConnect-HealthcareService-1"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="width: 100px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-CareConnect-HealthcareService-1-definitions.html#HealthcareService">HealthcareService</a><a name="HealthcareService"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/STU3/healthcareservice.html">HealthcareService</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7;"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-CareConnect-HealthcareService-1-definitions.html#HealthcareService.identifier">identifier</a><a name="HealthcareService.identifier"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="opacity: 0.5" href="http://hl7.org/fhir/STU3/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/STU3/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/STU3/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url
       value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-HealthcareService-1"/>
  <version value="3.0.0"/>
  <name value="CareConnect-HealthcareService-1"/>
  <status value="draft"/>
  <date value="2018-09-27T15:19:04.378+01:00"/>
  <publisher value="INTEROpen"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="https://interopen.ryver.com/"/>
    </telecom>
  </contact>
  <description value="CareConnect HealthCareService Profile"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="826"/>
    </coding>
  </jurisdiction>
  <purpose
           value="NOT CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/"/>
  <copyright value="Copyright © 2018 NHS Digital"/>
  <fhirVersion value="3.0.2"/>
  <mapping>
    <identity value="rim"/>
    <uri value="http://hl7.org/v3"/>
    <name value="RIM Mapping"/>
  </mapping>
  <mapping>
    <identity value="w5"/>
    <uri value="http://hl7.org/fhir/w5"/>
    <name value="W5 Mapping"/>
  </mapping>
  <kind value="resource"/>
  <abstract value="false"/>
  <type value="HealthcareService"/>
  <baseDefinition
                  value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
  <derivation value="constraint"/>
  <snapshot>
    <element id="HealthcareService">
      <path value="HealthcareService"/>
      <short value="The details of a healthcare service available at a location"/>
      <definition
                  value="The details of a healthcare service available at a location."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <constraint>
        <key value="dom-2"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain nested Resources"/>
        <expression value="contained.contained.empty()"/>
        <xpath value="not(parent::f:contained and f:contained)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-1"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL NOT contain any narrative"/>
        <expression value="contained.text.empty()"/>
        <xpath value="not(parent::f:contained and f:text)"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-4"/>
        <severity value="error"/>
        <human
               value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated"/>
        <expression
                    value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"/>
        <xpath
               value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))"/>
        <source value="DomainResource"/>
      </constraint>
      <constraint>
        <key value="dom-3"/>
        <severity value="error"/>
        <human
               value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource"/>
        <expression
                    value="contained.where((&#39;#&#39;+id in %resource.descendants().reference).not()).empty()"/>
        <xpath
               value="not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat(&#39;#&#39;, $id))]))"/>
        <source value="DomainResource"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value="Entity. Role, or Act"/>
      </mapping>
      <mapping>
        <identity value="rim"/>
        <map value="act[classCode=ACT][moodCode=DEF]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="administrative.group"/>
      </mapping>
    </element>
    <element id="HealthcareService.id">
      <path value="HealthcareService.id"/>
      <short value="Logical id of this artifact"/>
      <definition
                  value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes."/>
      <comment
               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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="id"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="HealthcareService.meta">
      <path value="HealthcareService.meta"/>
      <short value="Metadata about the resource"/>
      <definition
                  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."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.meta"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Meta"/>
      </type>
      <isSummary value="true"/>
    </element>
    <element id="HealthcareService.implicitRules">
      <path value="HealthcareService.implicitRules"/>
      <short value="A set of rules under which this content was created"/>
      <definition
                  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."/>
      <comment
               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. 

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&#39;s meaning or interpretation."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.implicitRules"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="uri"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
    </element>
    <element id="HealthcareService.language">
      <path value="HealthcareService.language"/>
      <short value="Language of the resource content"/>
      <definition value="The base language in which the resource is written."/>
      <comment
               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)."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Resource.language"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueReference>
            <reference value="http://hl7.org/fhir/ValueSet/all-languages"/>
          </valueReference>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
          <valueBoolean value="true"/>
        </extension>
        <strength value="extensible"/>
        <description value="A human language."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages"/>
        </valueSetReference>
      </binding>
    </element>
    <element id="HealthcareService.text">
      <path value="HealthcareService.text"/>
      <short value="Text summary of the resource, for human interpretation"/>
      <definition
                  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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/>
      <comment
               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 &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
      <alias value="narrative"/>
      <alias value="html"/>
      <alias value="xhtml"/>
      <alias value="display"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="DomainResource.text"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Narrative"/>
      </type>
      <condition value="dom-1"/>
      <mapping>
        <identity value="rim"/>
        <map value="Act.text?"/>
      </mapping>
    </element>
    <element id="HealthcareService.contained">
      <path value="HealthcareService.contained"/>
      <short value="Contained, inline Resources"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="inline resources"/>
      <alias value="anonymous resources"/>
      <alias value="contained resources"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.contained"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Resource"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="HealthcareService.extension">
      <path value="HealthcareService.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="HealthcareService.modifierExtension">
      <path value="HealthcareService.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="DomainResource.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="HealthcareService.identifier">
      <path value="HealthcareService.identifier"/>
      <short value="External identifiers for this item"/>
      <definition value="External identifiers for this item."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.identifier"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Identifier"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".id"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="id"/>
      </mapping>
    </element>
    <element id="HealthcareService.active">
      <path value="HealthcareService.active"/>
      <short value="Whether this healthcareservice is in active use"/>
      <definition
                  value="Whether this healthcareservice record is in active use."/>
      <comment
               value="This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.active"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <defaultValueBoolean value="true"/>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".statusCode"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="status"/>
      </mapping>
    </element>
    <element id="HealthcareService.providedBy">
      <path value="HealthcareService.providedBy"/>
      <short value="Organization that provides this service"/>
      <definition
                  value="The organization that provides this healthcare service."/>
      <comment
               value="This property is recommended to be the same as the Location&#39;s managingOrganization, and if not provided should be interpreted as such. If the Location does not have a managing Organization, then this property should be populated."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.providedBy"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile
                       value="http://hl7.org/fhir/StructureDefinition/Organization"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".scopingRole.Organization"/>
      </mapping>
    </element>
    <element id="HealthcareService.category">
      <path value="HealthcareService.category"/>
      <short value="Broad category of service being performed or delivered"/>
      <definition
                  value="Identifies the broad category of service being performed or delivered."/>
      <comment
               value="Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type."/>
      <alias value="service category"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.category"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="service-category"/>
        </extension>
        <strength value="example"/>
        <description
                     value="A category of the service(s) that could be provided."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-category"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".code"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="class"/>
      </mapping>
    </element>
    <element id="HealthcareService.type">
      <path value="HealthcareService.type"/>
      <short value="Type of service that may be delivered or performed"/>
      <definition
                  value="The specific type of service that may be delivered or performed."/>
      <alias value="service type"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.type"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="service-type"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Additional details about where the content was created (e.g. clinical specialty)."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/service-type"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code"/>
      </mapping>
    </element>
    <element id="HealthcareService.specialty">
      <path value="HealthcareService.specialty"/>
      <short value="Specialties handled by the HealthcareService"/>
      <definition
                  value="Collection of specialties handled by the service site. This is more of a medical term."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.specialty"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <isSummary value="true"/>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="service-specialty"/>
        </extension>
        <strength value="preferred"/>
        <description value="A specialty that a healthcare service may provide."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/c80-practice-codes"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].code"/>
      </mapping>
    </element>
    <element id="HealthcareService.location">
      <path value="HealthcareService.location"/>
      <short value="Location(s) where service may be provided"/>
      <definition
                  value="The location(s) where this healthcare service may be provided."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.location"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".location.role[classCode=SDLOC]"/>
      </mapping>
      <mapping>
        <identity value="w5"/>
        <map value="where"/>
      </mapping>
    </element>
    <element id="HealthcareService.name">
      <path value="HealthcareService.name"/>
      <short
             value="Description of service as presented to a consumer while searching"/>
      <definition
                  value="Further description of the service as it would be presented to a consumer while searching."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.name"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".name"/>
      </mapping>
    </element>
    <element id="HealthcareService.comment">
      <path value="HealthcareService.comment"/>
      <short
             value="Additional description and/or any specific issues not covered elsewhere"/>
      <definition
                  value="Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName."/>
      <comment
               value="Would expect that a user would not see this information on a search results, and it would only be available when viewing the complete details of the service."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.comment"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".location.role[classCode=SDLOC].desc"/>
      </mapping>
    </element>
    <element id="HealthcareService.extraDetails">
      <path value="HealthcareService.extraDetails"/>
      <short
             value="Extra details about the service that can&#39;t be placed in the other fields"/>
      <definition
                  value="Extra details about the service that can&#39;t be placed in the other fields."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.extraDetails"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=COMP.act[classCode=ACT][moodCode=DEF].text"/>
      </mapping>
    </element>
    <element id="HealthcareService.photo">
      <path value="HealthcareService.photo"/>
      <short value="Facilitates quick identification of the service"/>
      <definition
                  value="If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.photo"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Attachment"/>
      </type>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value=".actrelationship[typeCode=SBJ].observation.value"/>
      </mapping>
    </element>
    <element id="HealthcareService.telecom">
      <path value="HealthcareService.telecom"/>
      <short value="Contacts related to the healthcare service"/>
      <definition
                  value="List of contacts related to this specific healthcare service."/>
      <comment
               value="If this is empty, then refer to the location&#39;s contacts."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.telecom"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="ContactPoint"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".telecom"/>
      </mapping>
    </element>
    <element id="HealthcareService.coverageArea">
      <path value="HealthcareService.coverageArea"/>
      <short value="Location(s) service is inteded for/available to"/>
      <definition
                  value="The location(s) that this service is available to (not where the service is provided)."/>
      <comment
               value="The locations referenced by the coverage area can include both specific locations, including areas, and also conceptual domains too (mode = kind), such as a physical area (tri-state area) and some other attribute (covered by Example Care Organization). These types of Locations are often not managed by any specific organization. This could also include generic locations such as &quot;in-home&quot;."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.coverageArea"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map
             value=".location.role[classCode=SDLOC].subjectOf.A_SpatialCoordinate"/>
      </mapping>
    </element>
    <element id="HealthcareService.serviceProvisionCode">
      <path value="HealthcareService.serviceProvisionCode"/>
      <short value="Conditions under which service is available/offered"/>
      <definition
                  value="The code(s) that detail the conditions under which the healthcare service is available/offered."/>
      <comment
               value="The provision means being commissioned by, contractually obliged or financially sourced. Types of costings that may apply to this healthcare service, such if the service may be available for free, some discounts available, or fees apply."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.serviceProvisionCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceProvisionConditions"/>
        </extension>
        <strength value="example"/>
        <description
                     value="The code(s) that detail the conditions under which the healthcare service is available/offered."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/service-provision-conditions"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]"/>
      </mapping>
    </element>
    <element id="HealthcareService.eligibility">
      <path value="HealthcareService.eligibility"/>
      <short
             value="Specific eligibility requirements required to use the service"/>
      <definition
                  value="Does this service have specific eligibility requirements that need to be met in order to use the service?"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.eligibility"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceEligibility"/>
        </extension>
        <strength value="example"/>
        <description
                     value="Coded values underwhich a specific service is made available."/>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT]"/>
      </mapping>
    </element>
    <element id="HealthcareService.eligibilityNote">
      <path value="HealthcareService.eligibilityNote"/>
      <short value="Describes the eligibility conditions for the service"/>
      <definition value="Describes the eligibility conditions for the service."/>
      <comment
               value="The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.eligibilityNote"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map
             value=".actrelationship[typeCode=PRCN].observation[moodCode=EVN.CRT].text"/>
      </mapping>
    </element>
    <element id="HealthcareService.programName">
      <path value="HealthcareService.programName"/>
      <short value="Program Names that categorize the service"/>
      <definition
                  value="Program Names that can be used to categorize the service."/>
      <comment
               value="Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, …."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.programName"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".actrelationship[typeCode=PERT].observation"/>
      </mapping>
    </element>
    <element id="HealthcareService.characteristic">
      <path value="HealthcareService.characteristic"/>
      <short value="Collection of characteristics (attributes)"/>
      <definition value="Collection of characteristics (attributes)."/>
      <comment value="These could be such things as is wheelchair accessible."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.characteristic"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ServiceCharacteristic"/>
        </extension>
        <strength value="example"/>
        <description
                     value="A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)."/>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".actrelationship[typeCode=PERT].observation"/>
      </mapping>
    </element>
    <element id="HealthcareService.referralMethod">
      <path value="HealthcareService.referralMethod"/>
      <short value="Ways that the service accepts referrals"/>
      <definition
                  value="Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.referralMethod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ReferralMethod"/>
        </extension>
        <strength value="example"/>
        <description
                     value="The methods of referral can be used when referring to a specific HealthCareService resource."/>
        <valueSetReference>
          <reference
                     value="http://hl7.org/fhir/ValueSet/service-referral-method"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".actrelationship[typeCode=PERT].observation"/>
      </mapping>
    </element>
    <element id="HealthcareService.appointmentRequired">
      <path value="HealthcareService.appointmentRequired"/>
      <short value="If an appointment is required for access to this service"/>
      <definition
                  value="Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.appointmentRequired"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".actrelationship[typeCode=PERT].observation"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime">
      <path value="HealthcareService.availableTime"/>
      <short value="Times the Service Site is available"/>
      <definition
                  value="A collection of times that the Service Site is available."/>
      <comment
               value="More detailed availability information may be provided in associated Schedule/Slot resources."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.availableTime"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.id">
      <path value="HealthcareService.availableTime.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.extension">
      <path value="HealthcareService.availableTime.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.modifierExtension">
      <path value="HealthcareService.availableTime.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.daysOfWeek">
      <path value="HealthcareService.availableTime.daysOfWeek"/>
      <short value="mon | tue | wed | thu | fri | sat | sun"/>
      <definition
                  value="Indicates which days of the week are available between the start and end Times."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.availableTime.daysOfWeek"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <binding>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DaysOfWeek"/>
        </extension>
        <strength value="required"/>
        <description value="The days of the week."/>
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/days-of-week"/>
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.allDay">
      <path value="HealthcareService.availableTime.allDay"/>
      <short value="Always available? e.g. 24 hour service"/>
      <definition
                  value="Is this always available? (hence times are irrelevant) e.g. 24 hour service."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.availableTime.allDay"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="boolean"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.availableStartTime">
      <path value="HealthcareService.availableTime.availableStartTime"/>
      <short value="Opening time of day (ignored if allDay = true)"/>
      <definition
                  value="The opening time of day. Note: If the AllDay flag is set, then this time is ignored."/>
      <comment
               value="The timezone is expected to be for where this HealthcareService is provided at."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.availableTime.availableStartTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="time"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.availableTime.availableEndTime">
      <path value="HealthcareService.availableTime.availableEndTime"/>
      <short value="Closing time of day (ignored if allDay = true)"/>
      <definition
                  value="The closing time of day. Note: If the AllDay flag is set, then this time is ignored."/>
      <comment
               value="The timezone is expected to be for where this HealthcareService is provided at."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.availableTime.availableEndTime"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="time"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable">
      <path value="HealthcareService.notAvailable"/>
      <short value="Not available during this time due to provided reason"/>
      <definition
                  value="The HealthcareService is not available during this period of time due to the provided reason."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.notAvailable"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression value="hasValue() | (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="Element"/>
      </constraint>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable.id">
      <path value="HealthcareService.notAvailable.id"/>
      <representation value="xmlAttr"/>
      <short value="xml:id (or equivalent in JSON)"/>
      <definition
                  value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable.extension">
      <path value="HealthcareService.notAvailable.extension"/>
      <short value="Additional Content defined by implementations"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable.modifierExtension">
      <path value="HealthcareService.notAvailable.modifierExtension"/>
      <short value="Extensions that cannot be ignored"/>
      <definition
                  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."/>
      <comment
               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."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <isModifier value="true"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable.description">
      <path value="HealthcareService.notAvailable.description"/>
      <short
             value="Reason presented to the user explaining why time not available"/>
      <definition
                  value="The reason that can be presented to the user as to why this time is not available."/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.notAvailable.description"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="HealthcareService.notAvailable.during">
      <path value="HealthcareService.notAvailable.during"/>
      <short value="Service not availablefrom this date"/>
      <definition
                  value="Service is not available (seasonally or for a public holiday) from this date."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.notAvailable.during"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="Period"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.availabilityExceptions">
      <path value="HealthcareService.availabilityExceptions"/>
      <short value="Description of availability exceptions"/>
      <definition
                  value="A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="HealthcareService.availabilityExceptions"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value=".effectiveTime"/>
      </mapping>
    </element>
    <element id="HealthcareService.endpoint">
      <path value="HealthcareService.endpoint"/>
      <short
             value="Technical endpoints providing access to services operated for the location"/>
      <definition
                  value="Technical endpoints providing access to services operated for the specific healthcare services defined at this resource."/>
      <requirements
                    value="Organizations may have different systems covering different services at the different locations and need to be able to define the technical connection details for how to connect to them, and for what purpose."/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="HealthcareService.endpoint"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Reference"/>
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
      </type>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="HealthcareService">
      <path value="HealthcareService"/>
    </element>
    <element id="HealthcareService.identifier">
      <path value="HealthcareService.identifier"/>
      <min value="1"/>
      <max value="1"/>
    </element>
  </differential>
</StructureDefinition>