|Description||The set of resources associated with a particular encounter|
|Identity||There is an instance of the encounter compartment for each encounter resource, and the identity of the compartment is the same as the encounter|
|Membership||The encounter compartment includes any resources where the resource has an explicitly nominated encounter, and some other resources that themselves link to resources in the encounter compartment. Note that for many resources, the exact nature of the link to encounter can be ambiguous (e.g. for a DiagnosticReport, is it the encounter when it was initiated, or when it was reported?)|
|Formal Definition||CompartmentDefinition resource: XML or JSON|
Resource based membership rules:
The following resources may be in this compartment:
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: