eHealth Infrastructure - Local Development build (v2.8.0). See the Directory of published versions
POST [base]/$get-patient-procedures
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMDg4MDgxNTQtNjI3MS00MTkwLWI4OGEtOWUwM2Y1NzNjYmVkIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVQbGFuLnNlYXJjaCJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1jYXJlcGxhbi0yNDY3LmxvY2FsL2ZoaXIvUGF0aWVudC83MzI5NCIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "patient",
"valueReference": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/73294"
}
},
{
"name": "start",
"valueDateTime": "2023-05-15T07:53:04+00:00"
},
{
"name": "end",
"valueDateTime": "2023-05-16T06:53:04+00:00"
}
]
}
Response
{
"resourceType": "Bundle",
"type": "collection",
"entry": [
{
"fullUrl": "CarePlan/2493",
"resource": {
"resourceType": "CarePlan",
"id": "2493",
"meta": {
"versionId": "1",
"lastUpdated": "2023-05-16T07:53:06.280+00:00",
"source": "#7673213f-5e91-9d",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/2490"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "active"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-05-15T07:53:04+00:00",
"end": "2023-05-16T06:53:04+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/PlanDefinition/30355"
],
"status": "active",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/73294"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"addresses": [
{
"reference": "https://careplan.cit-careplan-2467.local/fhir/Condition/2492"
}
],
"activity": [
{
"reference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/ServiceRequest/2491"
}
}
]
}
},
{
"fullUrl": "ServiceRequest/2491",
"resource": {
"resourceType": "ServiceRequest",
"id": "2491",
"meta": {
"versionId": "1",
"lastUpdated": "2023-05-16T07:53:05.997+00:00",
"source": "#32e3cd4b-d5e0-9c",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/EpisodeOfCare/2490"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/measurement-sharing-policies",
"code": "noSharing"
}
]
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "active"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-05-15T07:53:04+00:00",
"end": "2023-05-16T06:53:04+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2467.local/fhir/ActivityDefinition/35561"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "8ffc6b26-c989-4909-84b9-f484e8435594"
},
"subject": {
"reference": "https://patient.cit-careplan-2467.local/fhir/Patient/73294"
},
"occurrenceDateTime": "2023-05-15T07:53:04+00:00"
}
},
{
"resource": {
"resourceType": "Parameters",
"id": "fa260450-85c8-4cd2-9cfa-27845d04ebbb",
"parameter": [
{
"name": "item_1",
"part": [
{
"name": "CarePlan",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/CarePlan/2493"
}
},
{
"name": "ServiceRequest",
"valueReference": {
"reference": "https://careplan.cit-careplan-2467.local/fhir/ServiceRequest/2491"
}
},
{
"name": "ServiceRequestVersionId",
"valueId": "1"
},
{
"name": "Activity",
"valueString": "Iltmætning"
},
{
"name": "ResolvedTimingStart",
"valueDateTime": "2023-05-15T07:53:04+00:00"
},
{
"name": "ResolvedTimingEnd",
"valueDateTime": "2023-05-15T07:53:04+00:00"
},
{
"name": "TotalSubmitted",
"valueInteger": 0
},
{
"name": "SubmittedTimely",
"valueInteger": 0
},
{
"name": "TimingType",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
"code": "Resolved",
"display": "Resolved"
}
]
}
},
{
"name": "OccurrencesRequested",
"valueInteger": 1
}
]
}
]
}
},
{
"resource": {
"resourceType": "OperationOutcome",
"id": "68841f5f-a780-4af6-8657-4dc2926f2ed0",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"/></div>"
}
}
}
]
}