This page is part of the FHIR Specification (v0.0.82: DSTU 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 
| Description | The set of resources associated with a particular patient |
| Identity | There is an instance of the patient compartment for each patient resource, and the identity of the compartment is the same as the patient. When a patient is linked to another patient, all the records associated with the linked patient are in the compartment associated with the target of the link. |
| Membership | The patient compartment includes any resources where the subject of the resource is the patient, and some other resources that are directly linked to resources in the patient compartment |
Resource based membership rules:
The following resources may be in this compartment:
| Resource | Inclusion Criteria |
| AdverseReaction | subject |
| Alert | subject |
| AllergyIntolerance | subject |
| CarePlan | subject |
| Composition | subject |
| Condition | subject |
| DeviceObservationReport | subject |
| DiagnosticOrder | subject |
| DiagnosticReport | subject |
| DocumentManifest | subject |
| DocumentReference | subject |
| Encounter | subject |
| FamilyHistory | subject |
| ImagingStudy | subject |
| Immunization | subject |
| ImmunizationRecommendation | subject |
| List | subject |
| Media | subject |
| MedicationAdministration | patient |
| MedicationDispense | patient |
| MedicationPrescription | patient |
| MedicationStatement | patient |
| Observation | subject |
| Order | subject |
| OrderResponse | request.subject |
| Other | patient |
| Procedure | subject |
| Provenance | target.subject or target.patient |
| Questionnaire | subject |
| RelatedPerson | patient |
| SecurityEvent | reference.subject or reference.patient |
| Specimen | subject |
| Supply | patient |
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: