<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://nshealth.ca/fhir/MedicalDevice/LogicalModel" />
  <version value="1.0.0" />
  <name value="NSHMedicalDevice" />
  <title value="NSH Medical Device" />
  <status value="draft" />
  <date value="2023-06-13T14:30:40.8758377+00:00" />
  <description value="A model to represent the information requirements of a medical device within Nova Scotia Health" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://nshealth.ca/fhir/ClinicalModel/ClinicalDevice" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="ClinicalDevice">
      <path value="ClinicalDevice" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
    </element>
    <element id="ClinicalDevice.ProvinicalBMENumber">
      <path value="ClinicalDevice.ProvinicalBMENumber" />
      <short value="Unique Identifier for Provincial Medical Device Assets." />
      <definition value="Unique Identifier for Provincial Medical Device Assets." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Identifier" />
      </type>
      <fixedIdentifier>
        <system value="https://fhir.infoway-inforoute.ca/NamingSystem/ca-ns-bme-number" />
      </fixedIdentifier>
    </element>
    <element id="ClinicalDevice.UMDNSDescriptor">
      <path value="ClinicalDevice.UMDNSDescriptor" />
      <short value="UMDNS standardized device code" />
      <definition value="UMDNS standardized device code concept definitions.The Emergency Care Research Institute (ECRI) Universal Medical Device Nomenclature System (UMDNS) Device Number." />
      <comment value="None" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://nshealth.ca/fhir/ValueSet/NSHA_UMDNS_Descriptor" />
      </binding>
    </element>
    <element id="ClinicalDevice.SerialNumber">
      <path value="ClinicalDevice.SerialNumber" />
      <short value="The Manufacturer's serial number." />
      <definition value="The Manufacturer's serial number is a unique identifier issued for every medical device asset. No two serial numbers should ever match." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.EquipmentStatus">
      <path value="ClinicalDevice.EquipmentStatus" />
      <short value="Equipment Status" />
      <definition value="Equipment Status. Used to describe the current status of the equipment. Possible Status Values: E-Education/No Patient Use, IS-In Service, ISP-Pending, OS-Out of Service, OSM-Missing, OSS-Stored, OST-Transferred/sold, X-Excluded. Only a status of IS, ISP, OSS and OSM are included in the export reports at this time." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://nshealth.ca/fhir/ValueSet/MedicalDeviceEquipmentStatus" />
      </binding>
    </element>
    <element id="ClinicalDevice.StandardizedManufacturer">
      <path value="ClinicalDevice.StandardizedManufacturer" />
      <short value="Standardized Manufacturer" />
      <definition value="The Standardized name of the Manufacturer of the device." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
    </element>
    <element id="ClinicalDevice.EquipmentManufacturer">
      <path value="ClinicalDevice.EquipmentManufacturer" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="ClinicalDevice.EquipmentManufacturer.ModelNumber">
      <path value="ClinicalDevice.EquipmentManufacturer.ModelNumber" />
      <short value="Model Number" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.EquipmentManufacturer.ModelName">
      <path value="ClinicalDevice.EquipmentManufacturer.ModelName" />
      <short value="Model Name" />
      <definition value="Trade name given to a vendor’s device that describes the device model." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Zone">
      <path value="ClinicalDevice.Zone" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://nshealth.ca/fhir/ValueSet/NSHAManagementZone" />
      </binding>
    </element>
    <element id="ClinicalDevice.Facility">
      <path value="ClinicalDevice.Facility" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="ClinicalDevice.Facility.Name">
      <path value="ClinicalDevice.Facility.Name" />
      <short value="Standardized description that indicates the name of the facility." />
      <definition value="Standardized description that indicates the name of the facility." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Facility.Latitude">
      <path value="ClinicalDevice.Facility.Latitude" />
      <short value="Latitude of the Facility." />
      <definition value="Latitude of the Facility." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Facility.Longitude">
      <path value="ClinicalDevice.Facility.Longitude" />
      <short value="Longitude of the Facility." />
      <definition value="Longitude of the Facility." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Department">
      <path value="ClinicalDevice.Department" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="ClinicalDevice.Department.Code">
      <path value="ClinicalDevice.Department.Code" />
      <short value="Responsibe department code" />
      <definition value="Dept code indicates the department that is responsible for the device." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Department.Description">
      <path value="ClinicalDevice.Department.Description" />
      <short value="Responsible department description" />
      <definition value="Description of the department that is responsible for the device." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.Location">
      <path value="ClinicalDevice.Location" />
      <short value="Describes equipment location." />
      <definition value="Describes equipment location." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
        <profile value="http://hl7.org/fhir/StructureDefinition/string" />
      </type>
    </element>
    <element id="ClinicalDevice.DeviceCondition">
      <path value="ClinicalDevice.DeviceCondition" />
      <short value="The condition of the medical device" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Coding" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://nshealth.ca/fhir/ValueSet/MedicalDeviceCondition" />
      </binding>
    </element>
    <element id="ClinicalDevice.DeviceConditionDate">
      <path value="ClinicalDevice.DeviceConditionDate" />
      <short value="Date the Condition was last assessed and assigned." />
      <definition value="Date the Condition was last assessed and assigned." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
        <profile value="http://hl7.org/fhir/StructureDefinition/date" />
      </type>
    </element>
    <element id="ClinicalDevice.DevicedEntered">
      <path value="ClinicalDevice.DevicedEntered" />
      <short value="The date the Device was entered into the CMMS DB Instance as In-Service." />
      <definition value="The date the Device was entered into the CMMS DB Instance as In-Service." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
        <profile value="http://hl7.org/fhir/StructureDefinition/date" />
      </type>
    </element>
    <element id="ClinicalDevice.WarrantyExpiration">
      <path value="ClinicalDevice.WarrantyExpiration" />
      <short value="Date the Warranty on the equipment expires." />
      <definition value="Date the Warranty on the equipment expires." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
        <profile value="http://hl7.org/fhir/StructureDefinition/date" />
      </type>
    </element>
    <element id="ClinicalDevice.PurchaseCost">
      <path value="ClinicalDevice.PurchaseCost" />
      <short value="Cost" />
      <definition value="The Purchase Cost of the device" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/MoneyQuantity" />
      </type>
    </element>
    <element id="ClinicalDevice.EndOfProduction">
      <path value="ClinicalDevice.EndOfProduction" />
      <short value="RF End of Production" />
      <definition value="The date that the vendor has issued a notification that the device will no longer be in production." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
        <profile value="http://hl7.org/fhir/StructureDefinition/date" />
      </type>
    </element>
    <element id="ClinicalDevice.EndOfSupport">
      <path value="ClinicalDevice.EndOfSupport" />
      <short value="Support End Date" />
      <definition value="The date that the vendor has issued a notification that the device will no longer be supported in support" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
        <profile value="http://hl7.org/fhir/StructureDefinition/date" />
      </type>
    </element>
  </differential>
</StructureDefinition>