Publish Box goes here
No examples are currently available for the profile.
GET [base]/CarePlan/2310
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": "2310",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:38:26.051+00:00",
"source": "#cb3df37e-3fc2-95",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2308"
}
},
{
"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": "2023-10-18T07:38:24+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/43146"
],
"partOf": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/CarePlan/2306"
}
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/58928"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/11482"
},
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/12111"
},
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/91072"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2309"
}
]
}
GET [base]/CarePlan?instantiates-canonical=https%3A%2F%2Fplan.cit-careplan-2626.local%2Ffhir%2FPlanDefinition%2F12969%2Chttps%3A%2F%2Fplan.cit-careplan-2626.local%2Ffhir%2FPlanDefinition%2F28548&episodeOfCare.organization=https%3A%2F%2Forganization.cit-careplan-2626.local%2Ffhir%2FOrganization%2F22846&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": "6de92fe6-a2a6-4a5c-9bfc-aeb82eff58b9",
"meta": {
"lastUpdated": "2023-10-18T07:38:08.445+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-2626.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-2626.local%2Ffhir%2FOrganization%2F22846&instantiates-canonical=https%3A%2F%2Fplan.cit-careplan-2626.local%2Ffhir%2FPlanDefinition%2F12969%2Chttps%3A%2F%2Fplan.cit-careplan-2626.local%2Ffhir%2FPlanDefinition%2F28548"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/CarePlan/2277",
"resource": {
"resourceType": "CarePlan",
"id": "2277",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:38:06.958+00:00",
"source": "#c13a4e09-c3ed-98",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2271"
}
},
{
"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": "2023-10-18T07:38:06+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/12969",
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/28548"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/86846"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2272"
}
],
"activity": [
{
"reference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/2276"
}
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/Condition/2272",
"resource": {
"resourceType": "Condition",
"id": "2272",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:38:05.157+00:00",
"source": "#f40700a7-bcd8-92",
"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-2626.local/fhir/Patient/13952"
}
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/2276",
"resource": {
"resourceType": "ServiceRequest",
"id": "2276",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:38:06.741+00:00",
"source": "#fa5e7c1c-bb9e-92",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest"
]
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
"valueReference": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2275"
}
},
{
"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": "2023-10-18T07:38:05+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/ActivityDefinition/36723"
],
"status": "completed",
"intent": "filler-order",
"code": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/activitydefinition-code",
"code": "TBD"
}
],
"text": "65db683c-1698-4f04-8818-8e662a9b2455"
},
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/7388"
}
},
"search": {
"mode": "include"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/EpisodeOfCare/2271",
"resource": {
"resourceType": "EpisodeOfCare",
"id": "2271",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:38:05.076+00:00",
"source": "#c56ec2c2-c273-93",
"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-2626.local/fhir/Organization/22846"
}
}
],
"status": "active",
"statusHistory": [
{
"status": "active",
"period": {
"start": "2023-10-18T07:38:03+00:00"
}
}
],
"diagnosis": [
{
"condition": {
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2270"
},
"rank": 1
}
],
"patient": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/61439"
},
"managingOrganization": {
"reference": "https://organization.cit-careplan-2626.local/fhir/Organization/22846"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
}
},
"search": {
"mode": "include"
}
}
]
}
GET [base]/CarePlan/2530/_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": "2530",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:40:31.562+00:00",
"source": "#a7362ea6-4921-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-2626.local/fhir/EpisodeOfCare/2528"
}
},
{
"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": "2023-10-18T07:40:29+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/78168"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-17T07:40:29+00:00",
"end": "2023-10-18T07:40:31+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/54666"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:40:31+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/32720"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/71949"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/54666"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2529"
}
]
}
GET [base]/Goal?lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-2626.local%2Ffhir%2FPatient%2F18285&addresses=https%3A%2F%2Fcareplan.cit-careplan-2626.local%2Ffhir%2FServiceRequest%2F1721%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": "e0f72d93-ccf1-4583-a0fe-4cec27dd0c30",
"meta": {
"lastUpdated": "2023-10-18T07:34:05.504+00:00"
},
"type": "searchset",
"total": 2,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-2626.local/fhir/Goal?_format=json&_pretty=true&addresses=https%3A%2F%2Fcareplan.cit-careplan-2626.local%2Ffhir%2FServiceRequest%2F1721%2F_history%2F1&lifecycle-status=entered-in-error&subject=https%3A%2F%2Fpatient.cit-careplan-2626.local%2Ffhir%2FPatient%2F18285"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/Goal/1722",
"resource": {
"resourceType": "Goal",
"id": "1722",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:34:05.228+00:00",
"source": "#b6aa555c-2d96-90",
"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-2626.local/fhir/Patient/18285"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1721"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://careplan.cit-careplan-2626.local/fhir/Goal/1724",
"resource": {
"resourceType": "Goal",
"id": "1724",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:34:05.429+00:00",
"source": "#dcb3ea62-0c32-9b",
"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-2626.local/fhir/Patient/18285"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1721"
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Goal/1732/_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": "1732",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:34:09.138+00:00",
"source": "#d91738a3-348c-99",
"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-2626.local/fhir/Patient/38544"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1731"
}
]
}
POST [base]/CarePlan/2544/$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": "2544",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:40:36.907+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-2626.local/fhir/EpisodeOfCare/2542"
}
},
{
"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": "2023-10-18T07:40:35+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/94016"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/50089"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2543"
}
]
}
}
]
}
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-2626.local/fhir/Patient/77784"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1679"
}
]
}
Response
{
"resourceType": "Goal",
"id": "1680",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:33:49.280+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-2626.local/fhir/Patient/77784"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1679"
}
]
}
PUT [base]/CarePlan/2530
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": "2530",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:40:31.376+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-2626.local/fhir/EpisodeOfCare/2528"
}
},
{
"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": "2023-10-18T07:40:29+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/78168"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-17T07:40:29+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/32720"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/71949"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/54666"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2529"
}
]
}
Response
{
"resourceType": "CarePlan",
"id": "2530",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:40:31.562+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-2626.local/fhir/EpisodeOfCare/2528"
}
},
{
"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": "2023-10-18T07:40:29+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/78168"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-17T07:40:29+00:00",
"end": "2023-10-18T07:40:31+00:00"
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-teamHistory",
"extension": [
{
"url": "careTeam",
"valueReference": {
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/54666"
}
},
{
"url": "period",
"valuePeriod": {
"start": "2023-10-18T07:40:31+00:00"
}
}
]
}
],
"instantiatesCanonical": [
"https://plan.cit-careplan-2626.local/fhir/PlanDefinition/32720"
],
"status": "draft",
"intent": "option",
"category": [
{
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/careplan-category",
"code": "TBD"
}
]
}
],
"subject": {
"reference": "https://patient.cit-careplan-2626.local/fhir/Patient/71949"
},
"period": {
"start": "1970-01-01T00:00:01+00:00",
"end": "1970-01-01T00:01:40+00:00"
},
"careTeam": [
{
"reference": "https://organization.cit-careplan-2626.local/fhir/CareTeam/54666"
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/Condition/2529"
}
]
}
PUT [base]/Goal/1732
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": "1732",
"meta": {
"versionId": "1",
"lastUpdated": "2023-10-18T07:34:09.073+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-2626.local/fhir/Patient/38544"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1731"
}
]
}
Response
{
"resourceType": "Goal",
"id": "1732",
"meta": {
"versionId": "2",
"lastUpdated": "2023-10-18T07:34:09.138+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-2626.local/fhir/Patient/38544"
},
"startDate": "2023-10-18",
"target": [
{
"measure": {
"coding": [
{
"system": "urn:oid:1.2.208.176.2.1",
"code": "NPU03011"
}
]
}
}
],
"addresses": [
{
"reference": "https://careplan.cit-careplan-2626.local/fhir/ServiceRequest/1731"
}
]
}