Publish Box goes here
No examples are currently available for the profile.
GET [base]/CarePlan/2346
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CarePlan",
"id": "2346",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T21:04:23.771+00:00",
"source": "#8509eccc-3f73-97",
"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/2344"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:04:20+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/84360"
],
"partOf": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/CarePlan/2342"
}
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/80241"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/95845"
},
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/28963"
},
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/51980"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/2345"
}
]
}
GET [base]/CarePlan?instantiates-canonical=https%3A%2F%2Fplan.cit-careplan-2719.local%2Ffhir%2FPlanDefinition%2F10136%2Chttps%3A%2F%2Fplan.cit-careplan-2719.local%2Ffhir%2FPlanDefinition%2F33211&episodeOfCare.organization=https%3A%2F%2Forganization.cit-careplan-2719.local%2Ffhir%2FOrganization%2F66331&condition.code=urn%3Aoid%3A1.2.208.176.2.4%7CDJ44&_include=CarePlan%3AepisodeOfCare&_include=CarePlan%3Aactivity-reference&_include=CarePlan%3Acondition
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "5c5bcc1f-8102-44e8-9e92-9321f8486a25",
"meta": {
"lastUpdated": "2024-01-29T21:04:06.759+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-2719.local/fhir/CarePlan?_format=json&_include=CarePlan%3AepisodeOfCare&_include=CarePlan%3Aactivity-reference&_include=CarePlan%3Acondition&_pretty=true&condition.code=urn%3Aoid%3A1.2.208.176.2.4%7CDJ44&episodeOfCare.organization=https%3A%2F%2Forganization.cit-careplan-2719.local%2Ffhir%2FOrganization%2F66331&instantiates-canonical=https%3A%2F%2Fplan.cit-careplan-2719.local%2Ffhir%2FPlanDefinition%2F10136%2Chttps%3A%2F%2Fplan.cit-careplan-2719.local%2Ffhir%2FPlanDefinition%2F33211"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/CarePlan/2313",
"resource": {
"resourceType": "CarePlan",
"id": "2313",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:04:05.372+00:00",
"source": "#b9152a0e-4cfe-45",
"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/2307"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:04:05+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/10136",
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/33211"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/11122"
},
"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/2308"
}
],
"activity": [
{
"reference": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/2312"
}
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/EpisodeOfCare/2307",
"resource": {
"resourceType": "EpisodeOfCare",
"id": "2307",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:04:03.226+00:00",
"source": "#fc89a68a-04ab-45",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/66331"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2024-01-29T21:04:03+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/2306"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/71139"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2719.local/fhir/Organization/66331"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
}
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/Condition/2308",
"resource": {
"resourceType": "Condition",
"id": "2308",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:04:03.374+00:00",
"source": "#93f56ba9-2d38-4f",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition"
]
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"code": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.4",
"code": "DJ44"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/62745"
}
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/2312",
"resource": {
"resourceType": "ServiceRequest",
"id": "2312",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:04:05.184+00:00",
"source": "#53faa440-7c9f-49",
"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/2311"
}
},
{
"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": "completed"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:04:03+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/ActivityDefinition/67788"
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "a68708ac-cbf7-44e8-9633-f0cbc82304ea"
},
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/5668"
}
},
"search": {
"mode": "include"
}
}
]
}
GET [base]/CarePlan/2566/_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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "CarePlan",
"id": "2566",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T21:06:44.469+00:00",
"source": "#ec5d6989-354f-45",
"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/2564"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:41+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/70025"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-28T21:06:41+00:00",
"end": "2024-01-29T21:06:43+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/22215"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:43+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/64967"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/71391"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/22215"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/2565"
}
]
}
GET [base]/Goal?lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-2719.local%2Ffhir%2FPatient%2F37305&addresses=https%3A%2F%2Fcareplan.cit-careplan-2719.local%2Ffhir%2FServiceRequest%2F1745%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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "d8be026d-9ddf-4305-a0d4-ad70e627b67e",
"meta": {
"lastUpdated": "2024-01-29T20:59:29.117+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-2719.local/fhir/Goal?_format=json&_pretty=true&addresses=https%3A%2F%2Fcareplan.cit-careplan-2719.local%2Ffhir%2FServiceRequest%2F1745%2F_history%2F1&lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-2719.local%2Ffhir%2FPatient%2F37305"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/Goal/1746",
"resource": {
"resourceType": "Goal",
"id": "1746",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:59:28.865+00:00",
"source": "#5ebc2fc5-60cf-4e",
"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-2719.local/fhir/Patient/37305"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1745"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2719.local/fhir/Goal/1748",
"resource": {
"resourceType": "Goal",
"id": "1748",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:59:29.058+00:00",
"source": "#f294beb9-74c5-4c",
"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-2719.local/fhir/Patient/37305"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1745"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Goal/1756/_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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Goal",
"id": "1756",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T20:59:33.642+00:00",
"source": "#c69c1ade-1d89-46",
"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-2719.local/fhir/Patient/83004"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1755"
}
]
}
POST [base]/CarePlan/2580/$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/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": "resource",
"resource": {
"resourceType": "CarePlan",
"id": "2580",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:06:48.616+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-2719.local/fhir/EpisodeOfCare/2578"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:48+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/77872"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/69409"
},
"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/2579"
}
]
}
}
]
}
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]/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/6.2.1 (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-2719.local/fhir/Patient/19712"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1703"
}
]
}
Response
{
"resourceType": "Goal",
"id": "1704",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:59:11.921+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal"
],
"tag": [
{
"system": "http://ehealth.sundhed.dk/cs/ehealth-system",
"code": "xb",
"display": "xb"
},
{
"system": "http://ehealth.sundhed.dk/cs/ehealth-system",
"code": "xa",
"display": "xa"
}
]
},
"lifecycleStatus": "accepted",
"description": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/goal-description",
"code": "reference-value"
}
]
},
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/19712"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1703"
}
]
}
PUT [base]/CarePlan/2566
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "CarePlan",
"id": "2566",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T21:06:43.112+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-2719.local/fhir/EpisodeOfCare/2564"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:41+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/70025"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-28T21:06:41+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/64967"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/71391"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/22215"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/2565"
}
]
}
Response
{
"resourceType": "CarePlan",
"id": "2566",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T21:06:44.469+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-2719.local/fhir/EpisodeOfCare/2564"
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan-statusHistory",
"extension": [
{
"url": "status",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/request-status",
"code": "draft"
}
]
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:41+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/70025"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-28T21:06:41+00:00",
"end": "2024-01-29T21:06:43+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/22215"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2024-01-29T21:06:43+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2719.local/fhir/PlanDefinition/64967"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2719.local/fhir/Patient/71391"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2719.local/fhir/CareTeam/22215"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/Condition/2565"
}
]
}
PUT [base]/Goal/1756
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/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Goal",
"id": "1756",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-29T20:59:33.567+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-2719.local/fhir/Patient/83004"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1755"
}
]
}
Response
{
"resourceType": "Goal",
"id": "1756",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-29T20:59:33.642+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-2719.local/fhir/Patient/83004"
},
"startDate": "2024-01-29",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2719.local/fhir/ServiceRequest/1755"
}
]
}