<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HealthcareService-my-core" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2024-11-19T08:30:19.9635987+00:00" />
  </meta>
  <url value="http://fhir.hie.moh.gov.my/StructureDefinition/HealthcareService-my-core" />
  <version value="1.0.0" />
  <name value="HealthcareServiceMyCore" />
  <title value="HealthcareService (MY Core)" />
  <status value="active" />
  <date value="2024-03-13T01:41:41.3395961+00:00" />
  <description value="Used to describe a single healthcare service or a category of services provided by an organization at a location. The location of the services could be virtual, as with telemedicine services." />
  <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:publicBooking">
      <path value="HealthcareService.extension" />
      <sliceName value="publicBooking" />
      <short value="Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)" />
      <definition value="Extension to determine if this HealthcareService is allowed to be booked publicly (through patients/customer)" />
      <comment value="Allow public to book healthcare service" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/public-booking-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="HealthcareService.extension:audit">
      <path value="HealthcareService.extension" />
      <sliceName value="audit" />
      <short value="Record audit on individual who recorded and updated the data" />
      <definition value="Record audit on individual who recorded and updated the data" />
      <comment value="Record audit on individual who recorded and updated the data" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="HealthcareService.extension:additionalInfo">
      <path value="HealthcareService.extension" />
      <sliceName value="additionalInfo" />
      <short value="Extension to reference additional relevant Resources pertaining to the HealthcareService" />
      <definition value="Extension to reference additional relevant Resources pertaining to the HealthcareService" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/additional-info-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="HealthcareService.extension:formRequired">
      <path value="HealthcareService.extension" />
      <sliceName value="formRequired" />
      <short value="Extension to determine if this ServiceRequest requires a form attached to the request" />
      <definition value="Extension to determine if this ServiceRequest requires a form attached to the request" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-required-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="HealthcareService.extension:formType">
      <path value="HealthcareService.extension" />
      <sliceName value="formType" />
      <short value="An extension to define the type of form this ServiceRequest uses when requesting this service" />
      <definition value="An extension to define the type of form this ServiceRequest uses when requesting this service" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://fhir.hie.moh.gov.my/StructureDefinition/extension-form-type-my-core" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="HealthcareService.providedBy">
      <path value="HealthcareService.providedBy" />
      <min value="1" />
    </element>
    <element id="HealthcareService.category">
      <path value="HealthcareService.category" />
      <min value="1" />
    </element>
    <element id="HealthcareService.category.coding">
      <path value="HealthcareService.category.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="HealthcareService.category.coding:encounterClass">
      <path value="HealthcareService.category.coding" />
      <sliceName value="encounterClass" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.category.coding:encounterClass.system">
      <path value="HealthcareService.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core" />
    </element>
    <element id="HealthcareService.category.coding:serviceRequestCategory">
      <path value="HealthcareService.category.coding" />
      <sliceName value="serviceRequestCategory" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.category.coding:serviceRequestCategory.system">
      <path value="HealthcareService.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core" />
    </element>
    <element id="HealthcareService.type">
      <path value="HealthcareService.type" />
      <min value="1" />
      <binding>
        <strength value="example" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding">
      <path value="HealthcareService.type.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="HealthcareService.type.coding:encounterClass">
      <path value="HealthcareService.type.coding" />
      <sliceName value="encounterClass" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/encounter-class-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:encounterClass.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core" />
    </element>
    <element id="HealthcareService.type.coding:serviceRequestCategory">
      <path value="HealthcareService.type.coding" />
      <sliceName value="serviceRequestCategory" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:serviceRequestCategory.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core" />
    </element>
    <element id="HealthcareService.type.coding:serviceType">
      <path value="HealthcareService.type.coding" />
      <sliceName value="serviceType" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:serviceType.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core" />
    </element>
    <element id="HealthcareService.type.coding:labSubGroup">
      <path value="HealthcareService.type.coding" />
      <sliceName value="labSubGroup" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:labSubGroup.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core" />
    </element>
    <element id="HealthcareService.type.coding:lab">
      <path value="HealthcareService.type.coding" />
      <sliceName value="lab" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/lab-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:lab.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core" />
    </element>
    <element id="HealthcareService.type.coding:imagingModality">
      <path value="HealthcareService.type.coding" />
      <sliceName value="imagingModality" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:imagingModality.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core" />
    </element>
    <element id="HealthcareService.type.coding:imagingRegion">
      <path value="HealthcareService.type.coding" />
      <sliceName value="imagingRegion" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:imagingRegion.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core" />
    </element>
    <element id="HealthcareService.type.coding:imaging">
      <path value="HealthcareService.type.coding" />
      <sliceName value="imaging" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.type.coding:imaging.system">
      <path value="HealthcareService.type.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core" />
    </element>
    <element id="HealthcareService.specialty">
      <path value="HealthcareService.specialty" />
      <max value="1" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core" />
      </binding>
    </element>
    <element id="HealthcareService.name">
      <path value="HealthcareService.name" />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>