# Generate De-Identified data - De-Identified, Anonymized FHIR Profiles Library v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Generate De-Identified data**

## OperationDefinition: Generate De-Identified data 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://hl7.org/fhir/us/uds-plus/OperationDefinition/udsplus-de-identify | *Version*:0.1.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 1 | *Computable Name*:UdsPlusDeIdentify |

 
Generates de-identified data from identifiable data. The de-identification algorithm to be used is left to the implementers of the operation. Errors during the execution of the operation can be returned as OperationOutcome per the FHIR spec as a return parameter. 

All canonical (Official) URLs will be changed in the future and are not available currently on the web.

### Introduction

The deidentify operation is to be used by the Health Centers to de-identify the data containing PHI/PII. The approach for de-identification is as follows:

* Remove all identifiable data from EHR generated exports. This is accomplished by taking the input US Core or equivalent profiles and populating the equivalent UDS Plus profiles which will not contain the identifiable data.
* The operation takes a [List of Resource URLs](StructureDefinition-uds-plus-deidentify-operation-data-urls-parameter.md) that points to identifiable data in NDJSON format and will return back a set of links to NDJSON files that does not contain the identifiable data.



## Resource Content

```json
{
  "resourceType" : "OperationDefinition",
  "id" : "udsplus-de-identify",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cgp"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/dapl/ImplementationGuide/dapl"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/dapl/ImplementationGuide/dapl"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/uds-plus/OperationDefinition/udsplus-de-identify",
  "version" : "0.1.0",
  "name" : "UdsPlusDeIdentify",
  "title" : "Generate De-Identified data",
  "status" : "draft",
  "kind" : "operation",
  "date" : "2020-11-19T21:48:56+10:00",
  "publisher" : "HL7 International / Cross Group Projects",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/cgp"
    }]
  }],
  "description" : "Generates de-identified  data from identifiable data. The de-identification algorithm to be used is left to the implementers of the operation. Errors during the execution of the operation can be returned as OperationOutcome per the FHIR spec as a return parameter.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "code" : "deidentify",
  "system" : true,
  "type" : false,
  "instance" : false,
  "parameter" : [{
    "name" : "inputFileUrls",
    "use" : "in",
    "min" : 1,
    "max" : "*",
    "documentation" : "Urls of the Input Files represented as Parameters, with the type of Resource and the URL to the NDJSON data.",
    "type" : "Parameters"
  },
  {
    "name" : "deidentifiedFileUrls",
    "use" : "out",
    "min" : 0,
    "max" : "*",
    "documentation" : "Upon successful de-identification, the de-identified file Urls is returned back from the service.",
    "type" : "Parameters"
  }]
}

```
