{
  "resourceType": "StructureDefinition",
  "id": "Device",
  "url": "http://StructureDefinition.hl7fhir.cn/Device",
  "name": "Device",
  "title": "设备",
  "status": "draft",
  "description": "此资源是管理资源，可跟踪设备的各个实例及其位置。其他资源引用该记录，以记录哪个设备执行了操作（例如程序或观察），在处方和分配供患者使用或订购耗材的设备时引用，并用于记录和传输有关设备的唯一设备标识符（UDI）信息。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "udi",
      "uri": "http://fda.gov/UDI",
      "name": "UDI Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Device",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Device",
        "path": "Device",
        "short": "设备",
        "definition": "此资源是管理资源，可跟踪设备的各个实例及其位置。其他资源引用该记录，以记录哪个设备执行了操作（例如程序或观察），在处方和分配供患者使用或订购耗材的设备时引用，并用于记录和传输有关设备的唯一设备标识符（UDI）信息。"
      },
      {
        "id": "Device.identifier",
        "path": "Device.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type.coding.system"
            }
          ],
          "rules": "open"
        },
        "short": "业务ID",
        "definition": "描述设备的业务ID，由制造商、其他组织或所有者分配给设备的唯一实例标识符。",
        "comment": "业务ID不是资源服务器上的逻辑ID（非标识主键）",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Device.identifier:deviceIdentifier",
        "path": "Device.identifier",
        "sliceName": "deviceIdentifier",
        "short": "设备业务编码"
      },
      {
        "id": "Device.identifier:otherIdentifier",
        "path": "Device.identifier",
        "sliceName": "otherIdentifier",
        "short": "其他编码"
      },
      {
        "id": "Device.definition",
        "path": "Device.definition",
        "short": "设备定义",
        "definition": "设备的定义，对设备定义的引用",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition.hl7fhir.cn/DeviceDefinition"
            ]
          }
        ]
      },
      {
        "id": "Device.udiCarrier",
        "path": "Device.udiCarrier",
        "short": "UDI",
        "definition": "唯一设备标识符（UDI）条形码字符串",
        "comment": "UDI可以标识设备的唯一实例，也可以仅标识设备的类型。参见[UDI映射](Device -mapping .html# UDI)获取UDI部分到设备的完整映射。"
      },
      {
        "id": "Device.status",
        "path": "Device.status",
        "short": "设备状态",
        "definition": "用编码形式表示此设备当前状态。通常指活动状态或完成状态。活跃 不活跃| 输入错误| 未知的\r\n若此元素值的改变会引起整个设备发生改变。如：设备运行、已停止等。"
      },
      {
        "id": "Device.status.extension",
        "path": "Device.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Device.status.extension:status",
        "path": "Device.status.extension",
        "sliceName": "status",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/resource-status"
            ]
          }
        ]
      },
      {
        "id": "Device.status.extension:status.value[x]",
        "path": "Device.status.extension.value[x]",
        "short": "设备状态",
        "definition": "active | inactive | entered-in-error | unknown",
        "binding": {
          "strength": "required",
          "description": "设备状态",
          "valueSet": "http://ValueSet.hl7fhir.cn/device-status-vs"
        }
      },
      {
        "id": "Device.statusReason",
        "path": "Device.statusReason",
        "definition": "用编码形式表示导致设备状态的原因，在设备为异常时使用。 在线|暂停|待机|离线|未就绪|转接| 硬件断开|关闭",
        "max": "0"
      },
      {
        "id": "Device.distinctIdentifier",
        "path": "Device.distinctIdentifier",
        "short": "全球唯一编码",
        "definition": "描述该设备全球唯一编码，独特的识别字符串"
      },
      {
        "id": "Device.manufacturer",
        "path": "Device.manufacturer",
        "short": "厂商名称",
        "definition": "描述设备制造商名称，字符串不能大于1M"
      },
      {
        "id": "Device.manufactureDate",
        "path": "Device.manufactureDate",
        "short": "制造时间",
        "definition": "制造设备的日期"
      },
      {
        "id": "Device.expirationDate",
        "path": "Device.expirationDate",
        "short": "设备到期时间",
        "definition": "该设备的到期日期和时间（如果有）",
        "max": "0"
      },
      {
        "id": "Device.lotNumber",
        "path": "Device.lotNumber",
        "short": "制造批号",
        "definition": "描述设备的制造批号，字符串不能大于1M",
        "max": "0"
      },
      {
        "id": "Device.serialNumber",
        "path": "Device.serialNumber",
        "short": "SN编码",
        "definition": "描述设备的SN编号，字母或数字最大20"
      },
      {
        "id": "Device.deviceName",
        "path": "Device.deviceName",
        "short": "设备名称",
        "definition": "制造商提供的设备名称"
      },
      {
        "id": "Device.deviceName.name",
        "path": "Device.deviceName.name",
        "short": "设备名称",
        "definition": "描述设备名称"
      },
      {
        "id": "Device.deviceName.type",
        "path": "Device.deviceName.type",
        "definition": "The type of deviceName.\nUDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.\r\n用编码形式表示设备名称的分类。 UDI标签名称|用户友好名称|患者报告的姓名|生产商名称|型号名称。"
      },
      {
        "id": "Device.modelNumber",
        "path": "Device.modelNumber",
        "short": "设备型号",
        "definition": "描述设备厂商定义的该设备的设备的型号"
      },
      {
        "id": "Device.partNumber",
        "path": "Device.partNumber",
        "short": "设备部件号",
        "definition": "描述设备的部件号，字母或者数字最大不超过20",
        "max": "0"
      },
      {
        "id": "Device.type",
        "path": "Device.type",
        "short": "设备类型",
        "definition": "The kind or type of device.\r\n描述设备的种类或类型（值集）",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DeviceType"
            }
          ],
          "strength": "example",
          "valueSet": "http://ValueSet.hl7fhir.cn/device-type"
        }
      },
      {
        "id": "Device.specialization",
        "path": "Device.specialization",
        "short": "功能信息",
        "definition": "描述设备支持的功能，设备用于特定目的的标准以及用于通信的功能"
      },
      {
        "id": "Device.specialization.systemType",
        "path": "Device.specialization.systemType",
        "short": "功能",
        "definition": "描述用于操作和通讯的标准"
      },
      {
        "id": "Device.specialization.version",
        "path": "Device.specialization.version",
        "short": "标准版本",
        "definition": "用于操作和通信的标准版本。"
      },
      {
        "id": "Device.version",
        "path": "Device.version",
        "short": "版本信息",
        "definition": "描述 设备的实际设计或设备上运行的软件版本",
        "max": "0"
      },
      {
        "id": "Device.property",
        "path": "Device.property",
        "short": "配置信息",
        "definition": "设备实际运行时的实际配置设置，例如调节状态，时间属性",
        "max": "0"
      },
      {
        "id": "Device.property.type",
        "path": "Device.property.type",
        "definition": "指定属性DeviceDefinitionPropetyCode(可扩展)的代码。"
      },
      {
        "id": "Device.property.valueCode",
        "path": "Device.property.valueCode",
        "definition": "属性值作为代码，例如，NTP4(同步到NTP)。"
      },
      {
        "id": "Device.patient",
        "path": "Device.patient",
        "short": "Patient to whom Device is affixed  设备安装的患者",
        "definition": "Patient information, If the device is affixed to a person.\r\n 描述安装该设备的患者的引用，如果该设备已经被安装到患者体内，或者和患者在使用，就需要关联患者信息",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition.hl7fhir.cn/Patient"
            ]
          }
        ]
      },
      {
        "id": "Device.owner",
        "path": "Device.owner",
        "short": "机构信息",
        "definition": "描述负责设备的提供和持续维护的组织机构的引用，在这里一般指医院/科室等信息",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition.hl7fhir.cn/Organization"
            ]
          }
        ]
      },
      {
        "id": "Device.contact",
        "path": "Device.contact",
        "short": "联系信息",
        "definition": "描述负责该设备的组织或特定人员的联系信息，包括电话，电子邮件等，一般用于排除故障",
        "max": "0",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/ContactPoint"
            ]
          }
        ]
      },
      {
        "id": "Device.location",
        "path": "Device.location",
        "short": "位置信息",
        "definition": "描述该设备的位置地点，包括诊室、检查室、病床、病房等。",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition.hl7fhir.cn/Location"
            ]
          }
        ]
      },
      {
        "id": "Device.url",
        "path": "Device.url",
        "short": "访问设备的地址",
        "definition": "描述 联系设备的网络地址，可以是一个url",
        "max": "0"
      },
      {
        "id": "Device.note",
        "path": "Device.note",
        "definition": "描述设备说明和注释",
        "type": [
          {
            "code": "Annotation",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Annotation"
            ]
          }
        ]
      },
      {
        "id": "Device.safety",
        "path": "Device.safety",
        "short": "安全描述",
        "definition": "描述有关医疗设备的附加安全特性。例如含有乳胶的设备（值集）",
        "max": "0"
      },
      {
        "id": "Device.parent",
        "path": "Device.parent",
        "short": "The parent device  父设备信息",
        "definition": "The parent device.\r\n该设备的父设备（当该设备为父设备的一个组成部分时）",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://StructureDefinition.hl7fhir.cn/Device"
            ]
          }
        ]
      }
    ]
  }
}