WildFHIR R4 Enterprise Edition Implementation Guide
1.0.0 - current
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
Official URL: http://wildfhir4.aegis.net/ig/wildfhir/TestScript/wildfhirr4patientpurgeusageexamplexml | Version: 1.0.0 | |||
Active as of 2025-03-26 | Computable Name: WildFHIRR4PatientPurgeUsageExampleXML | |||
Copyright/Legal: (c) AEGIS.net, Inc. 2025 |
Example TestScript to illustrate the use of the WildFHIR R4 Patient/[id]/$purge operation using XML Format. Data for the known Patient id 'wildfhir-patient-purge' is purged in the setup followed by a single test that recreates the original data via PUT update/create operations.
Generated Narrative: TestScript wildfhirr4patientpurgeusageexamplexml
url: TestScript WildFHIR R4 TestScript Patient/[id]/$purge Usage Example XML
version: 1.0.0
name: WildFHIRR4PatientPurgeUsageExampleXML
title: WildFHIR R4 TestScript Patient/[id]/$purge Usage Example XML
status: Active
date: 2025-03-26
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 Patient/[id]/$purge operation using XML Format. Data for the known Patient id 'wildfhir-patient-purge' is purged in the setup followed by a single test that recreates the original data via PUT update/create operations.
jurisdiction: World
copyright:
(c) AEGIS.net, Inc. 2025
Index | Profile |
1 | Test script profile origin type FHIR-Client: FHIR Client |
Index | Profile |
1 | Test script profile destination type FHIR-Server: FHIR Server |
fixture
id
patient-updateautocreate: false
autodelete: false
resource:
./Patient-wildfhir-patient-purge.xml
fixture
id
observation-updateautocreate: false
autodelete: false
resource:
./Observation-wildfhir-observation-purge.xml
variable
name: patientId
path: /Patient/id
sourceId: patient-update
variable
name: observationId
path: /Observation/id
sourceId: observation-update
setup
action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params Test script operation code process-message: $process-message Patient Purge all data for the known Patient id 'wildfhir-patient-purge' to insure all history and current instances are removed xml xml 1 true 1 /${patientId}/$purge action
Asserts
Description Direction Value WarningOnly Confirm that the returned HTTP response code is success. response 200 false
test
id
RecreatePatientDataname: RecreatePatientData
description: Recreate the original data for the Patient id 'wildfhir-patient-purge' using XML Format on destination server.
action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params SourceId Test script operation code update: Update Patient Create the known Patient via an update, order matters for referential integrity xml xml 1 true 1 /${patientId} patient-update action
Asserts
Description Direction Operator Value WarningOnly Confirm that the returned HTTP response code is success. response in 200,201 false action
Operations
Type Resource Description Accept ContentType Destination EncodeRequestUrl Origin Params SourceId Test script operation code update: Update Observation Create the known Observation via an update, order matters for referential integrity xml xml 1 true 1 /${observationId} observation-update action
Asserts
Description Direction Operator Value WarningOnly Confirm that the returned HTTP response code is success. response in 200,201 false