Configuration Examples for Data Protection and Privacy

These examples illustrate data protection and privacy configurations for standard and custom usage purpose scenarios.

The following scenarios explain the configurations for data protection and privacy:

Scenario 1 - Data Subject with a Usage Purpose All and the Related Resources Have a Reference to the Primary Resource

Consider the Patient as the data subject with purpose all. For each data subject, there must be a purpose with all to represent the complete record of that data subject. For more information, see Maintain Data Subject and Usage Purpose for Personal Data.

The primary resource is defined as Patient for the data subject Patient and the purpose is all. The compartment containing the primary resource Patient and the related resources is defined using the CompartmentDefinition. The compartment defined is then mapped to the data subject and purpose using the business configuration.

Scenario 2 - Data Subject with a Custom Usage Purpose and the Related Resources Do Not Have Reference to the Primary Resource

Consider the Patient as the data subject with a custom purpose billing. The primary resource is defined as Account for the data subject Patient and the purpose is billing. You must enhance the SAPUsagePurpose CodeSystem to include the billing usage purpose. For more information, see Maintain Data Subject and Usage Purpose for Personal Data.

Every resource in the compartment must reference the primary resource Account. In HL7 FHIR, for the Coverage resource there is no reference to an Account, but the Coverage is part of the compartment for the primary resource Account in this scenario. You must define an extension to that Coverage that points to an Account. For more information, see FHIR Extension.

The extension must have a SearchParameter defined, and you must point the SearchParameter name in the CompartmentDefinition. For more information, see SearchParameterInformation published on non-SAP site.