Depseudonymize
The REST interface Depseudonymize
accepts a FHIR Bundle with a list of entries containing any type of FHIR resource. It is expected that each resource contains a pseudonym as identifier, i.e. the system of the identifier has to be urn:fdc:difuture.de:trustcenter.plain
.
Request overview
No. | Name | URL | Required client role | Request type | Request param | Request body |
---|---|---|---|---|---|---|
6 | Depseudonymize | server:port/v1/resolve |
trustcenter-facade (usage-allowed), trustcenter-facade (default-case-allowed)*, trustcenter-facade (all-systems-allowed)** trustcenter-facade (<any-target-system>)*** |
POST | targetSystem |
JSON FHIR Bundle |
* This role enables access to the depseudonymization interface in case no target-system is specified as query parameter.
** This role enables access to the depseudonymization interface in case a target-system was specified as query parameter (any target-system is allowed).
*** This role enables access to the depseudoynmization interface when specifying a specific target-system as query parameter.
Example
Input
{ "resourceType":"Bundle", "entry":[ { "resource":{ "resourceType":"Encounter", "identifier":[ { "use":"secondary", "system":"urn:fdc:difuture.de:trustcenter.plain", "value":"4XQ5M7JFDDJWKQ419TVA" } ] } }, { "resource":{ "resourceType":"Patient", "identifier":[ { "use":"secondary", "system":"urn:fdc:difuture.de:trustcenter.plain", "value":"H8HLUELJQPV39KF9LC02" } ] } } ] }
Output
{ "resourceType":"Bundle", "entry":[ { "resource":{ "resourceType":"Encounter", "identifier":[ { "use":"official", "system":"Test", "value":"identifier-value-123", "period":{ "start":"2017-01-01T09:46:19+00:00", "end":"2017-02-01T09:46:19+00:00" } } ] }, "response":{ "status":"200 OK" } }, { "resource":{ "resourceType":"Patient", "identifier":[ { "use":"official", "system":"Test", "value":"ABC123" } ], "name":[ { "use":"official", "family":"Müller", "_family":{ "extension":[ { "url":"http://hl7.org/fhir/StructureDefinition/humanname-own-name", "valueString":"Müller" } ] } } ] }, "response":{ "status":"200 OK" } } ] }