Operation Definition
{
"resourceType" : "OperationDefinition",
"id" : "Patient-purge",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition Patient-purge</b></p><a name=\"Patient-purge\"> </a><a name=\"hcPatient-purge\"> </a><a name=\"Patient-purge-en-AU\"> </a><p>URL: [base]/Patient/[id]/$purge</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Status and/or results of the purge request</p>\n</div></td></tr></table></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 5
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "pa"
}],
"url" : "http://hl7.org/fhir/OperationDefinition/Patient-purge",
"version" : "6.0.0-ballot2",
"name" : "Purge",
"title" : "Purge Patient Record",
"status" : "draft",
"kind" : "operation",
"experimental" : false,
"date" : "2024-08-12T16:52:12+08:00",
"publisher" : "HL7 International / Patient Administration",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
},
{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/pafm"
}]
}],
"description" : "This operation is used to request the removal of all current and historical versions for all resources in a patient compartment or from a Group of patient compartments. The return is an OperationOutcome with results and/or details about execution.\r\rFollowing are some common `issue-type` values:\r- `success` the request has been completed to the server's satisfaction - the patient and associated resources are no longer accessible\r- `incomplete` the request is partially complete, but additional processing will continue (e.g., the server is continuing to clean out resources)\r\rWhen supported, it is recommended (though not required) to support an [Asynchronous Request Pattern](async.html).\r\rNote that the deletion of resources typically involves many policy decisions. Implementers are expected to use this operation in conjunction with their policies for such a request - e.g., soft vs. hard delete, audibility/traceability, evaluation of referential integrity, etc..",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"affectsState" : false,
"code" : "purge",
"resource" : ["Patient"],
"system" : false,
"type" : false,
"instance" : true,
"parameter" : [{
"name" : "return",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "Status and/or results of the purge request",
"type" : "OperationOutcome"
}]
}
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.