WildFHIR Community Edition Implementation Guide
0.5.0 - current International flag

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

Usage

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 CE 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)

    Execute and evaluate operations based on the recreated original Patient data.

Example TestScript

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