Example
POST /v1/Bundle
Content-Type: application/json
Authorization: DPoP <Access-Token>
DPoP: <Proof-JWT>
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0a",
"resource": {
"resourceType": "Composition",
"status": "final",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "11488-4"
}
]
},
"subject": {
"reference": "urn:uuid:patient-123"
},
"author": [
{
"reference": "urn:uuid:practitioner-456"
}
],
"title": "Journalnotat",
"section": [
{
"title": "Medisinering",
"entry": [
{
"reference": "urn:uuid:dispense-789"
}
]
}
]
},
"request": {
"method": "POST",
"url": "Composition"
}
},
{
"fullUrl": "urn:uuid:patient-123",
"resource": {
"resourceType": "Patient",
"identifier": [
{
"system": "urn:oid:2.16.578.1.12.4.1.4.1",
"value": "12345678901"
}
]
},
"request": {
"method": "POST",
"url": "Patient"
}
},
{
"fullUrl": "urn:uuid:dispense-789",
"resource": {
"resourceType": "MedicationDispense",
"status": "completed",
"subject": {
"reference": "urn:uuid:patient-123"
}
},
"request": {
"method": "POST",
"url": "MedicationDispense"
}
}
]
}