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

TestScript: WildFHIR R4 TestScript Global $purge-all Usage Example XML

Official URL: http://wildfhir4.aegis.net/ig/wildfhir/TestScript/wildfhirr4purgeallusageexamplexml Version: 1.0.0
Active as of 2025-03-31 Computable Name: WildFHIRR4PurgeAllUsageExampleXML

Copyright/Legal: (c) AEGIS.net, Inc. 2025

Example TestScript to illustrate the use of the WildFHIR R4 Global $purge-all operation using XML Format. All WildFHIR data is purged in the setup followed by a single test that recreates a known Patient 'wildfhir-patient-purge' via a PUT update/create operation.

Generated Narrative: TestScript wildfhirr4purgeallusageexamplexml

url: TestScript WildFHIR R4 TestScript Global $purge-all Usage Example XML

version: 1.0.0

name: WildFHIRR4PurgeAllUsageExampleXML

title: WildFHIR R4 TestScript Global $purge-all Usage Example XML

status: Active

date: 2025-03-31

publisher: AEGIS.net, Inc.

contact: AEGIS.net, Inc.: https://www.aegis.net, Richard Ettema: mailto:richard.ettema@aegis.net

description:

Example TestScript to illustrate the use of the WildFHIR R4 Global $purge-all operation using XML Format. All WildFHIR data is purged in the setup followed by a single test that recreates a known Patient 'wildfhir-patient-purge' via a PUT update/create operation.

jurisdiction: World

copyright:

(c) AEGIS.net, Inc. 2025

Origins

-IndexProfile
*1Test script profile origin type FHIR-Client: FHIR Client

Destinations

-IndexProfile
*1Test script profile destination type FHIR-Server: FHIR Server

fixture

id

patient-update

autocreate: false

autodelete: false

resource: ./Patient-wildfhir-patient-purge.xml

Variables

-NamePathSourceId
*patientId.idpatient-update

setup

action

Operations

-TypeDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParams
*Test script operation code process-message: $process-messagePurge ALL WildFHIR dataxmlxml1true1/$purge-all

action

Asserts

-DescriptionDirectionValueWarningOnly
*Confirm that the returned HTTP response code is success.response200false

test

id

RecreatePatientData

name: RecreatePatientData

description: Recreate the Patient id 'wildfhir-patient-purge' using XML Format on destination server.

action

Operations

-TypeResourceDescriptionAcceptContentTypeDestinationEncodeRequestUrlOriginParamsSourceId
*Test script operation code update: UpdatePatientCreate the known Patient via an updatexmlxml1true1/${patientId}patient-update

action

Asserts

-DescriptionDirectionOperatorValueWarningOnly
*Confirm that the returned HTTP response code is success.responsein200,201false