<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="rambam-location" />
  <url value="http://fhir.rmc.gov.il/StructureDefinition/rambam-location" />
  <name value="RambamLocation" />
  <title value="Rambam Location" />
  <status value="draft" />
  <description value="Location profile for Rambam Medical Center extending the Israeli core HDP Location profile" />
  <fhirVersion value="4.0.1" />
  <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/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Location" />
  <baseDefinition value="http://hdp.fhir.health.gov.il/StructureDefinition/il-hdp-location" />
  <derivation value="constraint" />
  <differential>
    <element id="Location.identifier">
      <path value="Location.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Location.identifier:dept-rmb">
      <path value="Location.identifier" />
      <sliceName value="dept-rmb" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Location.identifier:dept-rmb.system">
      <path value="Location.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.rmc.gov.il/identifier/dept-rmb" />
    </element>
    <element id="Location.identifier:dept-rmb.value">
      <path value="Location.identifier.value" />
      <min value="1" />
    </element>
    <element id="Location.identifier:moh-hospital-department">
      <path value="Location.identifier" />
      <sliceName value="moh-hospital-department" />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Location.identifier:moh-hospital-department.system">
      <path value="Location.identifier.system" />
      <min value="1" />
      <fixedUri value="http://fhir.health.gov.il/identifier/moh-hospital-department" />
    </element>
    <element id="Location.identifier:moh-hospital-department.value">
      <path value="Location.identifier.value" />
      <min value="1" />
    </element>
    <element id="Location.status">
      <path value="Location.status" />
      <min value="1" />
    </element>
    <element id="Location.mode">
      <path value="Location.mode" />
      <fixedCode value="instance" />
    </element>
  </differential>
</StructureDefinition>