eHealth Infrastructure - Local Development build (v2021.3.0). See the Directory of published versions
No examples are currently available for the profile.
GET [base]/CarePlan/1276
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CarePlan",
"id": "1276",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:42:50.442+00:00",
"source": "#0b90d910-a645-40",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1274"
}
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/61680"
],
"partOf": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/CarePlan/1272"
}
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/42024"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/34564"
},
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/46639"
},
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/12042"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1275"
}
]
}
GET [base]/CarePlan?care-team=https%3A%2F%2Forganization.cit-careplan-1804.local%2Ffhir%2FCareTeam%2F86490&patient=https%3A%2F%2Fpatient.cit-careplan-1804.local%2Ffhir%2FPatient%2F71111&episodeOfCare.team=https%3A%2F%2Forganization.cit-careplan-1804.local%2Ffhir%2FCareTeam%2F29924
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "f0edf313-f244-4185-985a-563db49ea8e9",
"meta": {
"lastUpdated": "2021-10-13T08:42:28.858+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-1804.local/fhir/CarePlan?_format=json&_pretty=true&care-team=https%3A%2F%2Forganization.cit-careplan-1804.local%2Ffhir%2FCareTeam%2F86490&episodeOfCare.team=https%3A%2F%2Forganization.cit-careplan-1804.local%2Ffhir%2FCareTeam%2F29924&patient=https%3A%2F%2Fpatient.cit-careplan-1804.local%2Ffhir%2FPatient%2F71111"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-1804.local/fhir/CarePlan/1240",
"resource": {
"resourceType": "CarePlan",
"id": "1240",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:42:26.853+00:00",
"source": "#ec22ad78-bb65-44",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1236"
}
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/17647"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/71111"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/86490"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1239"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-1804.local/fhir/CarePlan/1242",
"resource": {
"resourceType": "CarePlan",
"id": "1242",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:42:27.087+00:00",
"source": "#c3816d4b-bed2-44",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1236"
}
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/94285"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/71111"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/86490"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1241"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/CarePlan/1454/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CarePlan",
"id": "1454",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:44:58.703+00:00",
"source": "#84a6b886-51c4-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-1804.local/fhir/EpisodeOfCare/1452"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/83298"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2021-10-12T08:44:56+00:00",
"end": "2021-10-13T08:44:58+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/85277"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2021-10-13T08:44:58+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/26201"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/13808"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/85277"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1453"
}
]
}
GET [base]/Goal?lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-1804.local%2Ffhir%2FPatient%2F14038&addresses=https%3A%2F%2Fcareplan.cit-careplan-1804.local%2Ffhir%2FServiceRequest%2F818%2F_history%2F1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIkNhcmVQbGFuLnVwZGF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ2FyZVBsYW4uc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "50f4ea30-62b5-4fa0-8ec9-465236ccaf47",
"meta": {
"lastUpdated": "2021-10-13T08:39:13.992+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-1804.local/fhir/Goal?_format=json&_pretty=true&addresses=https%3A%2F%2Fcareplan.cit-careplan-1804.local%2Ffhir%2FServiceRequest%2F818%2F_history%2F1&lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-1804.local%2Ffhir%2FPatient%2F14038"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-1804.local/fhir/Goal/821",
"resource": {
"resourceType": "Goal",
"id": "821",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:39:13.807+00:00",
"source": "#3c13e10a-1c76-4a",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "entered-in-error",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/14038"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/818"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-1804.local/fhir/Goal/819",
"resource": {
"resourceType": "Goal",
"id": "819",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:39:12.587+00:00",
"source": "#268cfdaa-1701-48",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "entered-in-error",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/14038"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/818"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Goal/829/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIkNhcmVQbGFuLnVwZGF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ2FyZVBsYW4uc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Goal",
"id": "829",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:39:17.487+00:00",
"source": "#942cda66-ec93-41",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/43932"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/828"
}
]
}
POST [base]/CarePlan/1468/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "CarePlan",
"id": "1468",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:45:05.128+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1466"
}
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/6432"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/70261"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1467"
}
]
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}
POST [base]/CarePlan/1252/$suggest-care-teams
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE4MDQubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNDkyNzUiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiJHRlc3Qtb25seS1jcmVhdGUiXX0sImNvbnRleHQiOnsiY2FyZV90ZWFtX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTE4MDQubG9jYWwvZmhpci9DYXJlVGVhbS8yODU4NCIsImVwaXNvZGVfb2ZfY2FyZV9pZCI6Imh0dHBzOi8vY2FyZXBsYW4uY2l0LWNhcmVwbGFuLTE4MDQubG9jYWwvZmhpci9FcGlzb2RlT2ZDYXJlLzEyNTAiLCJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1jYXJlcGxhbi0xODA0LmxvY2FsL2ZoaXIvUGF0aWVudC84MDk1OCIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBSQUNUSVRJT05FUiJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "regionCode",
"valueString": "DK-85"
}
]
}
Response
{
"resourceType": "Bundle",
"type": "searchset",
"entry": [
{
"fullUrl": "https://organization.cit-careplan-1804.local/fhir/CareTeam/28584",
"resource": {
"resourceType": "CareTeam",
"id": "28584",
"meta": {
"versionId": "1",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:1a3c6ec4-e6fb-406b-ab23-68e18702fa33"
}
],
"status": "active",
"name": "1796e84e-0339-4a9a-b79f-275ffd6a5df6",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
},
{
"fullUrl": "https://organization.cit-careplan-1804.local/fhir/CareTeam/76684",
"resource": {
"resourceType": "CareTeam",
"id": "76684",
"meta": {
"versionId": "1",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam"
]
},
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:d10b18e5-ef49-4b58-b89c-14584c94fbec"
}
],
"status": "active",
"name": "eca00353-fde1-4869-9c45-87ff518e4def",
"reasonCode": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/conditions",
"code": "TBD"
}
]
}
]
}
}
]
}
POST [base]/CarePlan/1280/$update-care-teams
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "addCareTeams",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/61693"
}
},
{
"name": "removeCareTeams",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/80575"
}
}
]
}
Response
{
"resourceType": "CarePlan",
"id": "1280",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:42:54.317+00:00",
"source": "#5d52b66e-df21-4d",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1278"
}
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/83121"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/71797"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/81816"
},
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/61693"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1279"
}
]
}
POST [base]/Goal
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIkNhcmVQbGFuLnVwZGF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ2FyZVBsYW4uc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Goal",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/23548"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/785"
}
]
}
Response
{
"resourceType": "Goal",
"id": "786",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:38:57.790+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/23548"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/785"
}
]
}
PUT [base]/CarePlan/1454
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4kc3VnZ2VzdC1jYXJlLXRlYW1zIiwiQ2FyZVBsYW4kdXBkYXRlLWNhcmUtdGVhbXMiLCJDYXJlUGxhbi5yZWFkIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJDYXJlUGxhbi5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "CarePlan",
"id": "1454",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:44:58.436+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1452"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/83298"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2021-10-12T08:44:56+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/26201"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/13808"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/85277"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1453"
}
]
}
Response
{
"resourceType": "CarePlan",
"id": "1454",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:44:58.703+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-1804.local/fhir/EpisodeOfCare/1452"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/83298"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2021-10-12T08:44:56+00:00",
"end": "2021-10-13T08:44:58+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/85277"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2021-10-13T08:44:58+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-1804.local/fhir/PlanDefinition/26201"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/13808"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-1804.local/fhir/CareTeam/85277"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/Condition/1453"
}
]
}
PUT [base]/Goal/829
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQ2FyZVBsYW4ucmVhZCIsIkNhcmVQbGFuLnVwZGF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIiwiQ2FyZVBsYW4uc2VhcmNoIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Goal",
"id": "829",
"meta": {
"versionId": "1",
"lastUpdated": "2021-10-13T08:39:17.354+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/43932"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/828"
}
]
}
Response
{
"resourceType": "Goal",
"id": "829",
"meta": {
"versionId": "2",
"lastUpdated": "2021-10-13T08:39:17.487+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-1804.local/fhir/Patient/43932"
},
"startDate": "2021-10-13",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-1804.local/fhir/ServiceRequest/828"
}
]
}