PackagesCanonicalsLogsProblems
    Packages
    dk.ehealth.sundhed.fhir.ig.core@10.0.2
    http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-person-match
{
  "description": "This operation is used to lookup a citizen. It first attempts lookup on the service and, if a match is found, returns a Person resource with name, identifier, deceased-status and a link to the Patient resource. If not, it proceeds to find any prior CPR-numbers associated with the query CPR in the national infrastructure and checks if any of those match a patient on the service. If a match is found, it returns a Person resource with the same information. NOTE: This means that the returned patient can have a different identifier than the one used for request. If no match is found, it finds base information on the national infrastructure and returns a 'limited' Person resource containing only the identifier, name and deceased-state of the person. The operation is an implementation of [https://www.hl7.org/fhir/stu3/patient-operations.html#match](https://www.hl7.org/fhir/stu3/patient-operations.html#match) on the Person resource.",
  "_filename": "OperationDefinition-ehealth-person-match.json",
  "package_name": "dk.ehealth.sundhed.fhir.ig.core",
  "date": "2019-10-16",
  "system": false,
  "publisher": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
  "instance": false,
  "jurisdiction": [ {
    "coding": [ {
      "code": "DK",
      "system": "urn:iso:std:iso:3166",
      "display": "Denmark"
    } ]
  } ],
  "name": "Person name lookup",
  "type": "true",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": null,
  "package_version": "10.0.2",
  "status": "active",
  "id": "0e32ce06-2ce7-4b28-a7bb-924b287f7cd5",
  "resource": [ "Person" ],
  "affectsState": true,
  "kind": "operation",
  "url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-person-match",
  "code": "match",
  "version": "10.0.2",
  "contact": [ {
    "name": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
    "telecom": [ {
      "value": "http://ehealth.sundhed.dk",
      "system": "url"
    } ]
  } ],
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "resource",
    "type": "Person",
    "documentation": "The social security number of the person on which this operation is executed, wrapped in a Person. If the person exists in the infrastructure a link to the patient is provided"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "return",
    "type": "Bundle",
    "documentation": "A bundle containing a set of Person records that represent possible matches, optionally it may also contain an OperationOutcome with further information about the search results (such as warnings or information messages, such as a count of records that were close but eliminated)  If the operation was unsuccessful, then an OperationOutcome may be returned along with a BadRequest status Code (e.g. security issue, or insufficient properties in person fragment - check against profile)  Note: as this the only out parameter, it is a resource, and it has the name 'return', the result of this operation is returned directly as a resource."
  } ]
}