WildFHIR R4 Enterprise Edition Implementation Guide
1.0.0 - current International flag

WildFHIR R4 Enterprise Edition Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Usage - Patient Purge

An example for the use of the Patient/[id]/$purge operation is in the context of TestScript test executions where the workflow of the TestScript requires a clean recreation of known patient data on the destination WildFHIR test server.

Workflow Pattern

Here is a simple workflow pattern of TestScript steps that illustrate this scenario:

  1. Setup

    Purge all data for a known Patient to insure all clinical history and current instances are removed from the target test system.

  2. Test 1

    Recreate the original data for the known Patient in order to provide a known starting data context for subsequent tests.

  3. Subsequent Test(s) (not defined)

    Execute and evaluate operations based on the recreated original Patient data. (Definition of these tests are left to the user's discretion.)

Example TestScripts

An example of the above workflow pattern has been defined in the following TestScripts:

Operation Definition

Patient Purge Operation