﻿<?xml version="1.0" encoding="UTF-8"?>
<difference>
   <type name="Device" status="changed">
      <element path="Device.displayName" status="new"/>
      <element path="Device.definition">
         <removed-type name="Reference(DeviceDefinition)"/>
         <added-type name="CodeableReference"/>
      </element>
      <element new-min="1" old-min="0" path="Device.udiCarrier.deviceIdentifier"/>
      <element new-min="1" old-min="0" path="Device.udiCarrier.issuer"/>
      <element binding-codes-changed="true"
               binding-status="changed"
               binding-valueset-changed="true"
               path="Device.udiCarrier.entryType">
         <added-code code="electronic-transmission"/>
         <old-binding reference="http://hl7.org/fhir/ValueSet/udi-entry-type|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/udi-entry-type|5.0.0"
                      strength="required"/>
      </element>
      <element binding-codes-changed="true"
               binding-status="changed"
               binding-valueset-changed="true"
               path="Device.status">
         <removed-code code="unknown"/>
         <old-binding reference="http://hl7.org/fhir/ValueSet/device-status|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/device-status|5.0.0"
                      strength="required"/>
      </element>
      <element path="Device.availabilityStatus" status="new"/>
      <element path="Device.biologicalSourceEvent" status="new"/>
      <element old-name="deviceName" path="Device.name"/>
      <element path="Device.name.value" status="new"/>
      <element binding-codes-changed="true"
               binding-status="changed"
               binding-valueset-changed="true"
               path="Device.name.type">
         <removed-code code="udi-label-name"/>
         <removed-code code="manufacturer-name"/>
         <removed-code code="model-name"/>
         <removed-code code="other"/>
         <added-code code="registered-name"/>
         <old-binding reference="http://hl7.org/fhir/ValueSet/device-nametype|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/device-nametype|5.0.0"
                      strength="required"/>
      </element>
      <element path="Device.name.display" status="new"/>
      <element path="Device.category" status="new"/>
      <element new-max="*" old-max="1" path="Device.type"/>
      <element path="Device.version.installDate" status="new"/>
      <element old-name="specialization" path="Device.conformsTo"/>
      <element path="Device.conformsTo.category" status="new"/>
      <element path="Device.conformsTo.specification" status="new"/>
      <element path="Device.property.value[x]" status="new"/>
      <element path="Device.mode" status="new"/>
      <element path="Device.cycle" status="new"/>
      <element path="Device.duration" status="new"/>
      <element path="Device.endpoint" status="new"/>
      <element path="Device.gateway" status="new"/>
      <element path="Device.statusReason" status="deleted"/>
      <element path="Device.distinctIdentifier" status="deleted"/>
      <element path="Device.deviceName.name" status="deleted"/>
      <element path="Device.specialization.systemType" status="deleted"/>
      <element path="Device.property.valueQuantity" status="deleted"/>
      <element path="Device.property.valueCode" status="deleted"/>
      <element path="Device.patient" status="deleted"/>
   </type>
</difference>
