<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Device" />
  <meta>
    <lastUpdated value="2019-11-01T09:29:23.356+11:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Base.Entities" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="2" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="business" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo" />
  </extension>
  <url value="https://fhir.kemkes.go.id/r4/StructureDefinition/Device" />
  <version value="4.0.1" />
  <name value="Device" />
  <status value="draft" />
  <date value="2022-07-08T15:10:50.6856647+00:00" />
  <publisher value="Health Level Seven International (Orders and Observations)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
  </contact>
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.hl7.org/Special/committees/orders/index.cfm" />
    </telecom>
  </contact>
  <description value="A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device." />
  <purpose value="Allows institutions to track their devices." />
  <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>
  <mapping>
    <identity value="udi" />
    <uri value="http://fda.gov/UDI" />
    <name value="UDI Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Device" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <derivation value="specialization" />
  <differential>
    <element id="Device">
      <path value="Device" />
      <short value="Item used in healthcare" />
      <definition value="A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device." />
      <mapping>
        <identity value="rim" />
        <map value="Device" />
      </mapping>
    </element>
    <element id="Device.identifier">
      <path value="Device.identifier" />
      <short value="Instance identifier" />
      <definition value="Unique instance identifiers assigned to a device by manufacturers other organizations or owners." />
      <comment value="The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used." />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".id" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="The serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI.   The identifier.type code should be set to “SNO”(Serial Number) and the system left empty." />
      </mapping>
    </element>
    <element id="Device.definition">
      <path value="Device.definition" />
      <short value="The reference to the definition for the device" />
      <definition value="The reference to the definition for the device." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition" />
      </type>
    </element>
    <element id="Device.udiCarrier">
      <path value="Device.udiCarrier" />
      <short value="Unique Device Identifier (UDI) Barcode string" />
      <definition value="Unique device identifier (UDI) assigned to device label or package.  Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold." />
      <comment value="UDI may identify an unique instance of a device, or it may only identify the type of the device.  See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device." />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".id and .code" />
      </mapping>
    </element>
    <element id="Device.udiCarrier.deviceIdentifier">
      <path value="Device.udiCarrier.deviceIdentifier" />
      <short value="Mandatory fixed portion of UDI" />
      <definition value="The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device." />
      <alias value="DI" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Role.id.extension" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device." />
      </mapping>
    </element>
    <element id="Device.udiCarrier.issuer">
      <path value="Device.udiCarrier.issuer" />
      <short value="UDI Issuing Organization" />
      <definition value="Organization that is charged with issuing UDIs for devices.  For example, the US FDA issuers include :&#xA;1) GS1: &#xA;http://hl7.org/fhir/NamingSystem/gs1-di, &#xA;2) HIBCC:&#xA;http://hl7.org/fhir/NamingSystem/hibcc-dI, &#xA;3) ICCBBA for blood containers:&#xA;http://hl7.org/fhir/NamingSystem/iccbba-blood-di, &#xA;4) ICCBA for other devices:&#xA;http://hl7.org/fhir/NamingSystem/iccbba-other-di." />
      <alias value="Barcode System" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Role.id.root" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="All UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency.&#xA;GS1 DIs: &#xA; http://hl7.org/fhir/NamingSystem/gs1&#xA;HIBCC DIs:&#xA; http://hl7.org/fhir/NamingSystem/hibcc&#xA;ICCBBA DIs for blood containers:&#xA; http://hl7.org/fhir/NamingSystem/iccbba-blood&#xA;ICCBA DIs for other devices:&#xA; http://hl7.org/fhir/NamingSystem/iccbba-other" />
      </mapping>
    </element>
    <element id="Device.udiCarrier.jurisdiction">
      <path value="Device.udiCarrier.jurisdiction" />
      <short value="Regional UDI authority" />
      <definition value="The identity of the authoritative source for UDI generation within a  jurisdiction.  All UDIs are globally unique within a single namespace with the appropriate repository uri as the system.  For example,  UDIs of devices managed in the U.S. by the FDA, the value is  http://hl7.org/fhir/NamingSystem/fda-udi." />
      <requirements value="Allows a recipient of a UDI to know which database will contain the UDI-associated metadata." />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Role.scoper" />
      </mapping>
    </element>
    <element id="Device.udiCarrier.carrierAIDC">
      <path value="Device.udiCarrier.carrierAIDC" />
      <short value="UDI Machine Readable Barcode String" />
      <definition value="The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID.   Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded." />
      <comment value="The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label." />
      <alias value="Automatic Identification and Data Capture" />
      <max value="1" />
      <type>
        <code value="base64Binary" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="Role.id.extension" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology." />
      </mapping>
    </element>
    <element id="Device.udiCarrier.carrierHRF">
      <path value="Device.udiCarrier.carrierHRF" />
      <short value="UDI Human Readable Barcode String" />
      <definition value="The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device." />
      <comment value="If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label." />
      <alias value="Human Readable Form" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="Role.id.extension" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="A unique device identifier (UDI) on a device label in plain text" />
      </mapping>
    </element>
    <element id="Device.udiCarrier.entryType">
      <path value="Device.udiCarrier.entryType" />
      <short value="barcode | rfid | manual +" />
      <definition value="A coded entry to indicate how the data was entered." />
      <requirements value="Supports a way to distinguish hand entered from machine read data." />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="UDIEntryType" />
        </extension>
        <strength value="required" />
        <description value="Codes to identify how UDI data was entered." />
        <valueSet value="http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="NA" />
      </mapping>
    </element>
    <element id="Device.status">
      <path value="Device.status" />
      <short value="active | inactive | entered-in-error | unknown" />
      <definition value="Status of the Device availability." />
      <comment value="This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid." />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isModifierReason value="This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="FHIRDeviceStatus" />
        </extension>
        <strength value="required" />
        <description value="The availability status of the device." />
        <valueSet value="http://hl7.org/fhir/ValueSet/device-status|4.0.1" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".statusCode" />
      </mapping>
    </element>
    <element id="Device.statusReason">
      <path value="Device.statusReason" />
      <short value="online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off" />
      <definition value="Reason for the dtatus of the Device availability." />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="FHIRDeviceStatusReason" />
        </extension>
        <strength value="extensible" />
        <description value="The availability status reason of the device." />
        <valueSet value="http://hl7.org/fhir/ValueSet/device-status-reason" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
    </element>
    <element id="Device.distinctIdentifier">
      <path value="Device.distinctIdentifier" />
      <short value="The distinct identification string" />
      <definition value="The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product." />
      <comment value="For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*." />
      <alias value="Distinct Identification Code (DIC)" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".lotNumberText" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." />
      </mapping>
    </element>
    <element id="Device.manufacturer">
      <path value="Device.manufacturer" />
      <short value="Name of device manufacturer" />
      <definition value="A name of the manufacturer." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=MANU].scoper.name" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Device.manufactureDate">
      <path value="Device.manufactureDate" />
      <short value="Date when the device was made" />
      <definition value="The date and time when the device was manufactured." />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".existenceTime.low" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="The date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI.  For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS].  If hour is present, the minutes and seconds should both be set to “00”." />
      </mapping>
    </element>
    <element id="Device.expirationDate">
      <path value="Device.expirationDate" />
      <short value="Date and time of expiry of this device (if applicable)" />
      <definition value="The date and time beyond which this device is no longer valid or should not be used (if applicable)." />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".expirationTime" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="the expiration date of a specific device -  which is a component of the production identifier (PI), a conditional, variable portion of a UDI.  For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS].  If hour is present, the minutes and seconds should both be set to “00”." />
      </mapping>
    </element>
    <element id="Device.lotNumber">
      <path value="Device.lotNumber" />
      <short value="Lot number of manufacture" />
      <definition value="Lot number assigned by the manufacturer." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".lotNumberText" />
      </mapping>
      <mapping>
        <identity value="udi" />
        <map value="The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." />
      </mapping>
    </element>
    <element id="Device.serialNumber">
      <path value="Device.serialNumber" />
      <short value="Serial number assigned by the manufacturer" />
      <definition value="The serial number assigned by the organization when the device was manufactured." />
      <comment value="Alphanumeric Maximum 20." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=MANU].id" />
      </mapping>
    </element>
    <element id="Device.deviceName">
      <path value="Device.deviceName" />
      <short value="The name of the device as given by the manufacturer" />
      <definition value="This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device.  This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition." />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="Device.deviceName.name">
      <path value="Device.deviceName.name" />
      <short value="The name of the device" />
      <definition value="The name of the device." />
      <alias value="Σ" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Device.deviceName.type">
      <path value="Device.deviceName.type" />
      <short value="udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other" />
      <definition value="The type of deviceName.&#xA;UDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceNameType" />
        </extension>
        <strength value="required" />
        <description value="The type of name the device is referred by." />
        <valueSet value="http://hl7.org/fhir/ValueSet/device-nametype|4.0.1" />
      </binding>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=MANU].code" />
      </mapping>
    </element>
    <element id="Device.modelNumber">
      <path value="Device.modelNumber" />
      <short value="The model number for the device" />
      <definition value="The model number for the device." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".softwareName (included as part)" />
      </mapping>
    </element>
    <element id="Device.partNumber">
      <path value="Device.partNumber" />
      <short value="The part number of the device" />
      <definition value="The part number of the device." />
      <comment value="Alphanumeric Maximum 20." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=MANU].id" />
      </mapping>
    </element>
    <element id="Device.type">
      <path value="Device.type" />
      <short value="The kind or type of device" />
      <definition value="The kind or type of device." />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="DeviceType" />
        </extension>
        <strength value="example" />
        <description value="Codes to identify medical devices." />
        <valueSet value="http://hl7.org/fhir/ValueSet/device-type" />
      </binding>
    </element>
    <element id="Device.specialization">
      <path value="Device.specialization" />
      <short value="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication" />
      <definition value="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication." />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="Device.specialization.systemType">
      <path value="Device.specialization.systemType" />
      <short value="The standard that is used to operate and communicate" />
      <definition value="The standard that is used to operate and communicate." />
      <alias value="Σ" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Device.specialization.version">
      <path value="Device.specialization.version" />
      <short value="The version of the standard that is used to operate and communicate" />
      <definition value="The version of the standard that is used to operate and communicate." />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
    </element>
    <element id="Device.version">
      <path value="Device.version" />
      <short value="The actual design of the device or software version running on the device" />
      <definition value="The actual design of the device or software version running on the device." />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="Device.version.type">
      <path value="Device.version.type" />
      <short value="The type of the device version" />
      <definition value="The type of the device version." />
      <alias value="Σ" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Device.version.component">
      <path value="Device.version.component" />
      <short value="A single component of the device version" />
      <definition value="A single component of the device version." />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
    </element>
    <element id="Device.version.value">
      <path value="Device.version.value" />
      <short value="The version text" />
      <definition value="The version text." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Device.property">
      <path value="Device.property" />
      <short value="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties" />
      <definition value="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties." />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="Device.property.type">
      <path value="Device.property.type" />
      <short value="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)" />
      <definition value="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Device.property.valueQuantity">
      <path value="Device.property.valueQuantity" />
      <short value="Property value as a quantity" />
      <definition value="Property value as a quantity." />
      <type>
        <code value="Quantity" />
      </type>
    </element>
    <element id="Device.property.valueCode">
      <path value="Device.property.valueCode" />
      <short value="Property value as a code, e.g., NTP4 (synced to NTP)" />
      <definition value="Property value as a code, e.g., NTP4 (synced to NTP)." />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="Device.patient">
      <path value="Device.patient" />
      <short value="Patient to whom Device is affixed" />
      <definition value="Patient information, If the device is affixed to a person." />
      <requirements value="If the device is implanted in a patient, then need to associate the device to the patient." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Device.owner">
      <path value="Device.owner" />
      <short value="Organization responsible for device" />
      <definition value="An organization that is responsible for the provision and ongoing maintenance of the device." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.source" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=OWN].scoper" />
      </mapping>
    </element>
    <element id="Device.contact">
      <path value="Device.contact" />
      <short value="Details for human/organization for support" />
      <definition value="Contact details for an organization or a particular human that is responsible for the device." />
      <comment value="used for troubleshooting etc." />
      <type>
        <code value="ContactPoint" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.source" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".scopedRole[typeCode=CON].player" />
      </mapping>
    </element>
    <element id="Device.location">
      <path value="Device.location" />
      <short value="Where the device is found" />
      <definition value="The place where the device can be found." />
      <requirements value="Device.location can be used to track device location." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.where[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".playedRole[typeCode=LOCE].scoper" />
      </mapping>
    </element>
    <element id="Device.url">
      <path value="Device.url" />
      <short value="Network address to contact device" />
      <definition value="A network address on which the device may be contacted directly." />
      <comment value="If the device is running a FHIR server, the network address should  be the Base URL from which a conformance statement may be retrieved." />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.where[x]" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".telecom" />
      </mapping>
    </element>
    <element id="Device.note">
      <path value="Device.note" />
      <short value="Device notes and comments" />
      <definition value="Descriptive information, usage information or implantation information that is not captured in an existing element." />
      <type>
        <code value="Annotation" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value=".text" />
      </mapping>
    </element>
    <element id="Device.safety">
      <path value="Device.safety" />
      <short value="Safety Characteristics of Device" />
      <definition value="Provides additional safety characteristics about a medical device.  For example devices containing latex." />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="NA" />
      </mapping>
    </element>
    <element id="Device.parent">
      <path value="Device.parent" />
      <short value="The parent device" />
      <definition value="The parent device." />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
    </element>
  </differential>
</StructureDefinition>