<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="fr-healthcare-service" />
  <url value="http://interopsante.org/fhir/StructureDefinition/FrHealthcareService" />
  <version value="1.0.1" />
  <name value="FrHealthcareService" />
  <status value="active" />
  <date value="2022-10-20" />
  <publisher value="InteropSanté" />
  <contact>
    <name value="InteropSanté" />
    <telecom>
      <system value="email" />
      <value value="fhir@interopsante.org" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Profile of the HealthcareService resource for France | Profil de la ressource HealthcareService pour l'usage en France.&#xD;&#xA;This profile adds the element serviceTypeDuration to associate the service with the duration of this service | Ce profil ajoute l'élément serviceTypeDuration de façon à associer le service avec la durée du service." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="HealthcareService" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/HealthcareService" />
  <derivation value="constraint" />
  <differential>
    <element id="HealthcareService.extension">
      <path value="HealthcareService.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="HealthcareService.extension:serviceTypeDuration">
      <path value="HealthcareService.extension" />
      <sliceName value="serviceTypeDuration" />
      <type>
        <code value="Extension" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrServiceTypeDuration" />
      </type>
    </element>
    <element id="HealthcareService.identifier.use">
      <path value="HealthcareService.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="HealthcareService.providedBy">
      <path value="HealthcareService.providedBy" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/StructureDefinition/FrOrganization" />
      </type>
    </element>
    <element id="HealthcareService.category">
      <path value="HealthcareService.category" />
      <max value="1" />
    </element>
    <element id="HealthcareService.specialty">
      <path value="HealthcareService.specialty" />
      <binding>
        <strength value="required" />
        <valueSet value="http://interopsante.org/fhir/ValueSet/fr-practitioner-specialty" />
      </binding>
    </element>
    <element id="HealthcareService.location">
      <path value="HealthcareService.location" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/StructureDefinition/FrLocation" />
      </type>
    </element>
    <element id="HealthcareService.telecom">
      <path value="HealthcareService.telecom" />
      <type>
        <code value="ContactPoint" />
        <profile value="http://interopsante.org/fhir/StructureDefinition/FrContactPoint" />
      </type>
    </element>
    <element id="HealthcareService.coverageArea">
      <path value="HealthcareService.coverageArea" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/StructureDefinition/FrLocation" />
      </type>
    </element>
    <element id="HealthcareService.availableTime.daysOfWeek">
      <path value="HealthcareService.availableTime.daysOfWeek" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/days-of-week" />
      </binding>
    </element>
  </differential>
</StructureDefinition>