Exists
The REST interface Exists
accepts the same input as the Pseudonymize interface, i.e. a FHIR Bundle. The interface may be used to check if a pseudonym for a specific patient already exists.
Request overview
No. | Name | URL | Required client role | Request type | Request param | Request body |
---|---|---|---|---|---|---|
7 | Exists | server:port/entitylist/psn-service/pseudonym/exists |
trustcenter-facade (usage-allowed), backend-entitylist (usage-allowed) |
POST | - | JSON FHIR Parameter |
Example
Input
{ "resourceType":"Parameters", "parameter":[ { "name":"identifier", "valueIdentifier":{ "system":"https://fhir.example.com/identifiers/encounter-id", "value":"123" } }, { "name":"resourceType", "valueCode":"Encounter" }, { "name":"project", "valueString":"DIZ-IN-A-BOX" } ] }
Output
{ "resourceType":"Parameters", "parameter":[ { "name":"pseudonym", "valueIdentifier":{ "use":"secondary", "system":"urn:fdc:difuture.de:trustcenter.plain", "value":"gwsG-8JVUKg" } } ] }