eHealth Infrastructure - Local Development build (v3.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
POST [base]/$get-patient-procedures
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZGI0YWNlZWItNmI1ZC00ODVhLWJkN2ItODA1YTk5ZTlkYzcxIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNhcmVQbGFuLnNlYXJjaCJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1jYXJlcGxhbi0yNzE5LmxvY2FsL2ZoaXIvUGF0aWVudC83MzQ1IiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiUEFUSUVOVCJ9.
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-2719.local/fhir/Patient/7345"
}
},
{
"name": "start",
"valueDateTime": "2024-01-28T20:44:29+00:00"
},
{
"name": "end",
"valueDateTime": "2024-01-29T19:44:29+00:00"
}
]
}
Response
{
"resourceType": "Bundle",
"type": "collection",
"entry": [
{
"fullUrl": "CarePlan/255",
"resource": {
"resourceType": "CarePlan",
"id": "255",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:44:30.827+00:00",
"source": "#f37d71ed-69a7-42",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare/252"
}
},
{
"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": "2024-01-28T20:44:29+00:00",
"end": "2024-01-29T19:44:29+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/98282"
],
"status": "active",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/7345"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/254"
}
],
"activity": [
{
"reference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/253"
}
}
]
}
},
{
"fullUrl": "ServiceRequest/253",
"resource": {
"resourceType": "ServiceRequest",
"id": "253",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:44:29.633+00:00",
"source": "#5d17fcba-13d3-41",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare/252"
}
},
{
"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": "2024-01-28T20:44:29+00:00",
"end": "2024-01-29T19:44:29+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/ActivityDefinition/74986"
],
"status": "active",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "76abdb1f-a99c-48af-ad48-9dc280d165f5"
},
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/7345"
},
"occurrenceDateTime": "2024-01-28T20:44:29+00:00"
}
},
{
"resource": {
"resourceType": "Parameters",
"id": "43a08b19-1d16-455d-9b2b-40d363066f60",
"parameter": [
{
"name": "item_1",
"part": [
{
"name": "CarePlan",
"valueReference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/CarePlan/255"
}
},
{
"name": "ServiceRequest",
"valueReference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/253"
}
},
{
"name": "ServiceRequestVersionId",
"valueId": "1"
},
{
"name": "Activity",
"valueString": "Iltmætning"
},
{
"name": "ResolvedTimingStart",
"valueDateTime": "2024-01-28T20:44:29+00:00"
},
{
"name": "ResolvedTimingEnd",
"valueDateTime": "2024-01-28T20:44:29+00:00"
},
{
"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": "84d9c71e-5a23-4f75-befa-be2d0058b751",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"/></div>"
}
}
}
]
}