This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions 
| Formal URI | http://hl7.org/fhir/compartment/Device | 
| Description | The set of resources associated with a particular device | 
| Identity | There is an instance of the practitioner compartment for each Device resource, and the identity of the compartment is the same as the Device | 
| Membership | The device compartment includes any resources where the resource is explicitly linked to a Device (mostly subject or performer) | 
Resource based membership rules:
The following resources may be in this compartment:
| Resource | Inclusion Criteria | 
| Account | subject | 
| Appointment | actor | 
| AppointmentResponse | actor | 
| AuditEvent | participant | 
| Communication | sender or recipient | 
| CommunicationRequest | sender or recipient | 
| Composition | author | 
| DetectedIssue | author | 
| DeviceComponent | source | 
| DeviceMetric | source | 
| DeviceUseRequest | device | 
| DeviceUseStatement | device | 
| DiagnosticOrder | actor or subject | 
| DiagnosticReport | subject | 
| DocumentManifest | subject or author | 
| DocumentReference | subject or author | 
| Flag | author | 
| Group | member | 
| ImagingObjectSelection | author | 
| List | subject or source | 
| Media | subject | 
| MedicationAdministration | device | 
| MessageHeader | target | 
| Observation | subject or device | 
| Order | target | 
| OrderResponse | who | 
| ProcedureRequest | orderer | 
| Provenance | agent | 
| QuestionnaireResponse | author | 
| RiskAssessment | performer | 
| Schedule | actor | 
| Specimen | subject | 
A resource is in this compartment if the nominated search parameter (or chain) refers to the patient resource that defines the compartment.
The following resources are never in this compartment: