MedicationListProvenance -esimerkit

MedicationListProvenance profiilia käytetään Kanta-lääkityslistan hakuoperaatioiden vastauksissa ja siihen on profiloitu lääkemääräyksen käsittelijän/käsittelijöiden roolitieto.

MedicationListProvenance_Ei_sis_Contained.json:

{
"resourceType": "Provenance",
"id": "7cd28341-008c-4cc1-bd55-3b39a9249eeb",
"meta": {
"profile": [
"http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance"
]
},
{
"url": "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent",
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.85978590"
}
}
],
"target": [
{
"reference": "urn:oid:1.2.246.537.25.1.30429.93.2024.319.135730",
"type": "MedicationRequest"
}
],
"recorded": "2024-03-19T10:57:30+02:00",
"agent": [
{
"who": {
"reference": "#1"
}
}
]
}

 

MedicationListProvenance_Sis_Contained.json:

{
"resourceType": "Provenance",
"id": "b6b04680-15b8-4cfa-b82c-89bda6981efa",
"meta": {
"profile": [
"http://resepti.kanta.fi/fhir/StructureDefinition/MedicationListProvenance"
]
},
{
"resourceType": "PractitionerRole",
"id": "1",
"reference": "#2"
},
"reference": "#3"
},
"code": [
{
"coding": [
{
"system": "urn:oid:1.2.246.537.5.40006.2003",
"code": "LAL"
}
]
}
]
},
{
"resourceType": "Practitioner",
"id": "2",
{
"system": "urn:oid:1.2.246.537.25",
"value": "030429"
},
{
"system": "urn:oid:1.2.246.537.26",
"value": "01098701780"
}
],
"name": [
{
"use": "official",
"family": "Meikäläinen",
"given": [
"Matti"
]
}
],
{
"code": {
"coding": [
{
"system": "urn:oid:1.2.246.537.6.140.2008",
"code": "034"
}
]
}
},
{
"code": {
"coding": [
{
"system": "urn:oid:1.2.246.537.6.148.2008",
"code": "86161-580"
}
]
}
}
]
},
{
"resourceType": "Organization",
"id": "3",
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:1.2.246.537.26.1098701780"
}
],
"name": "Testi terveysasema, palveluyksikkö",
"contact": [
{
"telecom": [
{
"system": "phone",
"value": "tel:02063411"
}
]
}
]
}
],
{
"url": "https://gen.kanta.fi/fhir/StructureDefinition/extension/serviceEvent",
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:1.2.246.10.1602257.14.2019.860"
}
}
],
"target": [
{
"reference": "urn:oid:1.2.246.10.11111111.93001.2024.11711543513872123",
"type": "MedicationRequest"
}
],
"recorded": "2024-03-19T10:57:30+02:00",
"agent": [
{
"role": [
{
"coding": [
{
"system": "urn:oid:1.2.246.537.5.40006.2003",
"code": "LAL"
}
]
}
],
"who": {
"reference": "#1"
}
}
]
}