| Formal URI | http://hl7.org/fhir/compartment/Patient | 
| 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 | 
| Formal Definition | CompartmentDefinitionresource: XML or JSON | 
Resource based membership rules:
The following resources may be in this compartment:
| Resource | Inclusion Criteria | 
| Account | subject | 
| AllergyIntolerance | patient or recorder or asserter | 
| Appointment | actor | 
| AppointmentResponse | actor | 
| AuditEvent | patient or agent.patient or entity.patient | 
| Basic | patient or author | 
| BodySite | patient | 
| CarePlan | patient or performer | 
| CareTeam | patient or participant | 
| ClinicalImpression | subject | 
| Communication | subject or sender or recipient | 
| CommunicationRequest | subject or sender or recipient or requester | 
| Composition | subject or author or attester | 
| Condition | patient or asserter | 
| Consent | patient | 
| DetectedIssue | patient | 
| DeviceUseRequest | subject or requester or filler | 
| DeviceUseStatement | subject | 
| DiagnosticReport | subject | 
| DiagnosticRequest | subject or filler | 
| DocumentManifest | subject or author or recipient | 
| DocumentReference | subject or author | 
| Encounter | patient | 
| EnrollmentRequest | subject | 
| EpisodeOfCare | patient | 
| FamilyMemberHistory | patient | 
| Flag | patient | 
| Goal | patient | 
| Group | member | 
| ImagingManifest | patient or author | 
| ImagingStudy | patient | 
| Immunization | patient | 
| ImmunizationRecommendation | patient | 
| List | subject or source | 
| MeasureReport | patient | 
| Media | subject | 
| MedicationAdministration | patient or performer | 
| MedicationDispense | patient | 
| MedicationRequest | patient | 
| MedicationStatement | subject | 
| NutritionRequest | patient | 
| Observation | subject or performer | 
| Patient | link | 
| Person | patient | 
| Procedure | patient or performer | 
| ProcedureRequest | subject or orderer or performer | 
| Provenance | target.subject or target.patient or patient | 
| QuestionnaireResponse | subject or author | 
| ReferralRequest | patient or requester | 
| RelatedPerson | patient | 
| RequestGroup | subject or participant | 
| ResearchSubject | individual | 
| RiskAssessment | subject | 
| Schedule | actor | 
| Specimen | subject | 
| SupplyDelivery | patient | 
| SupplyRequest | patient | 
| VisionPrescription | 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: