Patsiendi üldandmete teenus / Master Patient Index - Downloaded Version 1.5.0 See the Directory of published versions
| Official URL: https://fhir.ee/mpi/OperationDefinition/patient-lookup | Version: 1.5.0 | |||
| Standards status: Trial-use | Maturity Level: 1 | Computable Name: EEMPIPatientLookup | ||
The lookup operation used to search for patient data in the external registers.
URL: [base]/Patient/$lookup
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | identifier | 1..1 | Identifier | The identifier we are looking for. | ||
| IN | source | 0..1 | string | Original data source. Supported values: https://mpi.tehik.ee and https://rahvastikuregister.ee. By default https://mpi.tehik.ee. | ||
| OUT | return | 1..1 | Bundle | Returns Bundle (with type 'collection') with Patient instances. |
Näide päringust:
GET {MPI}/Patient/$lookup?identifier=https://fhir.ee/sid/pid/est/ni|52007010062&source=https://rahvastikuregister.ee
Vastus
{
"resourceType": "Bundle",
"type": "collection",
"entry": [
{
"resource": {
"resourceType": "Patient",
"id": "899",
"meta": {
"lastUpdated": "2024-08-05T08:44:24.072+03:00",
"profile": [
"https://fhir.ee/mpi/StructureDefinition/ee-mpi-patient-verified"
]
},
"identifier": [
{
"system": "https://fhir.ee/sid/pid/est/ni",
"value": "52007010062"
}
],
"active": true,
"name": [
{
"use": "official",
"family": "KIVI",
"given": [
"CARL"
]
}
],
"gender": "male",
"birthDate": "2020-07-01",
"address": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/address-official",
"valueBoolean": true
},
{
"url": "https://fhir.ee/base/StructureDefinition/ee-ads-adr-id",
"valueCoding": {
"system": "https://fhir.ee/base/CodeSystem/ads-adr-id",
"code": "2187800"
}
},
{
"url": "https://fhir.ee/base/StructureDefinition/ee-ads-oid",
"valueCoding": {
"system": "https://fhir.ee/base/CodeSystem/ads-oid",
"code": "ER01392274"
}
}
],
"use": "home",
"type": "physical",
"text": "Harju maakond, Tallinn, Lasnamäe linnaosa, Virbi tn 2-99",
"line": [
"Virbi tn 2 - 99"
],
"_line": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
"valueString": "Virbi tn"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
"valueString": "2"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
"valueString": "99"
}
]
}
],
"city": "Tallinn",
"state": "Harju maakond",
"postalCode": "13629",
"country": "EE",
"period": {
"start": "2024-01-12T00:00:00+02:00"
}
}
]
}
}
]
}