WildFHIR Community Edition Implementation Guide
0.5.0 - current
WildFHIR Community Edition Implementation Guide - Local Development build (v0.5.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
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 CE test server.
Here is a simple workflow pattern of TestScript steps that illustrate this scenario:
Setup
Purge all data for a known Patient to insure all clinical history and current instances are removed from the target test system.
Test 1
Recreate the original data for the known Patient in order to provide a known starting data context for subsequent tests.
Subsequent Test(s)
Execute and evaluate operations based on the recreated original Patient data.
An example of the above workflow pattern has been defined in the following TestScripts: