This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions  . Page versions: R5 R4B R4 R3
. Page versions: R5 R4B R4 R3
| FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status:Trial Use | 
| 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) | 
| Formal Definition | CompartmentDefinitionresource: XML or JSON | 
Resource based membership rules:
The following resources may be in this compartment:
| Resource | Inclusion Criteria | 
| Account | subject | 
| Appointment | actor | 
| AppointmentResponse | actor | 
| AuditEvent | agent | 
| ChargeItem | enterer or participant-actor | 
| Communication | sender or recipient | 
| CommunicationRequest | sender or recipient | 
| Composition | author | 
| DetectedIssue | author | 
| DeviceComponent | source | 
| DeviceMetric | source | 
| DeviceRequest | device or subject or requester or performer | 
| DeviceUseStatement | device | 
| DiagnosticReport | subject | 
| DocumentManifest | subject or agent | 
| DocumentReference | subject or agent | 
| Flag | author | 
| Group | member | 
| Invoice | participant | 
| List | subject or source | 
| Media | subject | 
| MedicationAdministration | device | 
| MessageHeader | target | 
| Observation | subject or device | 
| Provenance | agent | 
| QuestionnaireResponse | author | 
| RequestGroup | author | 
| RiskAssessment | performer | 
| Schedule | actor | 
| ServiceRequest | performer or requester | 
| Specimen | subject | 
| SupplyRequest | requester | 
| UserSession | user | 
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: