Class PatientIdPartitionInterceptor

java.lang.Object
ca.uhn.fhir.jpa.interceptor.PatientIdPartitionInterceptor

This interceptor allows JPA servers to be partitioned by Patient ID. It selects the compartment for read/create operations based on the patient ID associated with the resource (and uses a default partition ID for any resources not in the patient compartment).