{
  "resourceType": "StructureDefinition",
  "id": "shr-device-DeviceUsed",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR DeviceUsed Profile</b></p>\n  <p>A record of the use of a device by a patient.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.device.DeviceUsed maps to Basic:\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUsed",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.device.DeviceUsed"
    }
  ],
  "version": "0.0.1",
  "name": "SHR DeviceUsed Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A record of the use of a device by a patient.",
  "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic:shr-device-DeviceUsed",
        "path": "Basic",
        "short": "SHR DeviceUsed Profile",
        "definition": "A record of the use of a device by a patient."
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:relatedencounter",
        "path": "Basic.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:author",
        "path": "Basic.extension",
        "sliceName": "author",
        "definition": "The person or organization who created the entry and is responsible for (and may certify) the content.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:informant",
        "path": "Basic.extension",
        "sliceName": "informant",
        "definition": "The person or entity that provided the information in the entry, as distinct from who created the entry, e.g. the subject (patient), medical professional, family member, device or software program.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:type",
        "path": "Basic.extension",
        "sliceName": "type",
        "definition": "The most specific code (lowest level term) describing the kind or sort of thing being represented.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Type-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:category",
        "path": "Basic.extension",
        "sliceName": "category",
        "definition": "A class or division of people or things having particular shared characteristics",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Category-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:performedcontext",
        "path": "Basic.extension",
        "sliceName": "performedcontext",
        "definition": "ActionContext indicating actual performance or execution of a healthcare-related action, e.g., 3rd dose of Hepatitis B vaccine administered on Dec 4th 2012, appendectomy performed today.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-action-PerformedContext-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:performedcontext.extension:status",
        "path": "Basic.extension.extension"
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:performedcontext.extension:status.value[x]",
        "path": "Basic.extension.extension.value[x]",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/device-statement-status"
          }
        }
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:subject",
        "path": "Basic.extension",
        "sliceName": "subject",
        "definition": "The person or thing that this entry relates to, usually the Person of Record. However, not all entries have health information specifically about the patient, but in different contexts, could refer to a fetus, family member (living or dead), device, location, organization, finding, condition, or intervention.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Subject-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:device",
        "path": "Basic.extension",
        "sliceName": "device",
        "definition": "A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:implanted",
        "path": "Basic.extension",
        "sliceName": "implanted",
        "definition": "Whether this device is implanted in the body.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.extension:bodysite",
        "path": "Basic.extension",
        "sliceName": "bodysite",
        "definition": "A location or structure in the body, including tissues, regions, cavities, and spaces, for example, right elbow, or left ventricle of the heart.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-BodySite-extension"
          }
        ]
      },
      {
        "id": "Basic:shr-device-DeviceUsed.code",
        "path": "Basic.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://standardhealthrecord.org/fhir/basic-resource-type",
              "code": "shr-device-DeviceUsed"
            }
          ]
        }
      }
    ]
  }
}