hl7-be / referral

Creative Commons Zero v1.0 Universal
4 stars 1 forks source link

add definition of BeGDFullReferralPrescription #376

Open bdc-ehealth opened 1 week ago

bdc-ehealth commented 1 week ago

@SmalsJulien : the exact contents of the graph is known now, we will add it + OrganisationTask:

{ "resourceType": "GraphDefinition", "id": "full-referral-prescription", "url": "https://www.ehealth.fgov.be/standards/fhir/referral/GraphDefinition/full-referral-prescription", "name": "full-referral-prescription", "status": "active", "date": "2024-09-20T15:31:51+02:00", "description": "Specify to include all useful resources around a ServiceRequest that can be retrieved with the $graph operation.", "start": "ServiceRequest", "link": [ { "path": "ServiceRequest.requester", "min": 1, "max": "1", "description": "Get the PractitionerRole of the requester of the ServiceRequest", "target": [ { "type": "PractitionerRole", "link": [ { "path": "PractitionerRole.practitioner", "min": 1, "max": "1", "description": "Get the Practitioner of the requester of the ServiceRequest", "target": [ { "type": "Practitioner" } ] } ] } ] }, { "min": 1, "description": "Get all Tasks corresponding to the BeReferralTask + all BePerformerTasks linked to the ServiceRequest", "target": [ { "type": "Task", "params": "focus={ref}", "link": [ { "path": "Task.owner", "min": 1, "max": "1", "description": "Get the PractitionerRole of the caregiver owner of the task", "target": [ { "type": "PractitionerRole", "link": [ { "path": "PractitionerRole.practitioner", "min": 1, "max": "1", "description": "Get the Practitioner of the caregiver owner of the task", "target": [ { "type": "Practitioner" } ] } ] } ] } ] } ] } ]}