Publish Box goes here
No examples are currently available for the profile.
GET [base]/PlanDefinition?name=f854ba70-8826-4277-a85e-cafa1f49dc92&_include%3Aiterate=*
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiQWN0aXZpdHlEZWZpbml0aW9uLnJlYWQiLCJQbGFuRGVmaW5pdGlvbi5zZWFyY2giLCIkdGVzdC1vbmx5LWNyZWF0ZSIsIlBsYW5EZWZpbml0aW9uLnJlYWQiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "39901003-5353-4600-af0d-2d02ab1b8773",
"meta": {
"lastUpdated": "2024-01-30T08:04:34.782+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://plan.cit-plan-1366.local/fhir/PlanDefinition?_format=json&_include%3Aiterate=*&_pretty=true&name=f854ba70-8826-4277-a85e-cafa1f49dc92"
}
],
"entry": [
{
"fullUrl": "https://plan.cit-plan-1366.local/fhir/PlanDefinition/266",
"resource": {
"resourceType": "PlanDefinition",
"id": "266",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-30T08:04:34.689+00:00",
"source": "#f048e610-c659-4d",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/22972"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"name": "f854ba70-8826-4277-a85e-cafa1f49dc92",
"status": "active",
"relatedArtifact": [
{
"type": "predecessor",
"display": "6946f913-1000-4972-97f4-b5b4edb8d6dc",
"resource": "https://plan.cit-plan-1366.local/fhir/DocumentReference/265"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://plan.cit-plan-1366.local/fhir/DocumentReference/265",
"resource": {
"resourceType": "DocumentReference",
"id": "265",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-30T08:04:34.535+00:00",
"source": "#e0c0c8fe-bbbc-97",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "69730-0"
}
]
},
"date": "2024-01-30T08:04:34.476+00:00",
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
},
"search": {
"mode": "include"
}
}
]
}
GET [base]/PlanDefinition/380/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiY2JmNzg3ZDQtYTk5My00Zjk2LWJmYTctNjYwYWVkNzE1YmMwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlBsYW5EZWZpbml0aW9uLnVwZGF0ZSIsIlBsYW5EZWZpbml0aW9uLnJlYWQiXX0sImNvbnRleHQiOnsib3JnYW5pemF0aW9uX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXBsYW4tMTM2Ni5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi83MzE3NSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "PlanDefinition",
"id": "380",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-30T08:06:06.339+00:00",
"source": "#095a776e-8ef2-44",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/73175"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base",
"valueIdentifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:6277378b-64e4-417b-aa90-db374dad749c",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:6a321f68-13c8-442f-a84f-24371c01c88c"
}
],
"version": "1.0",
"status": "retired"
}
POST [base]/PlanDefinition
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMTFjMWQ5ZTQtY2M5YS00MmYwLTk5ZTItNWI1N2E0OWQyYTAwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlBsYW5EZWZpbml0aW9uLmNyZWF0ZSIsIlBsYW5EZWZpbml0aW9uLnJlYWQiXX0sImNvbnRleHQiOnsib3JnYW5pemF0aW9uX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXBsYW4tMTM2Ni5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi83MzQ3MCIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "PlanDefinition",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/73470"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"status": "active"
}
Response
{
"resourceType": "PlanDefinition",
"id": "373",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-30T08:06:02.928+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/73470"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base",
"valueIdentifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:d478eac5-2d3a-42b1-84ff-fa410299d47d",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:92cb2f32-711d-48c5-903f-19308ba76130"
}
],
"version": "1.0",
"status": "active"
}
POST [base]/PlanDefinition/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24kYXBwbHkiLCJEb2N1bWVudFJlZmVyZW5jZS5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "PlanDefinition",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/10958"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"status": "active"
}
}
]
}
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"
}
]
}
PUT [base]/PlanDefinition/380
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiY2JmNzg3ZDQtYTk5My00Zjk2LWJmYTctNjYwYWVkNzE1YmMwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlBsYW5EZWZpbml0aW9uLnVwZGF0ZSIsIlBsYW5EZWZpbml0aW9uLnJlYWQiXX0sImNvbnRleHQiOnsib3JnYW5pemF0aW9uX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LXBsYW4tMTM2Ni5sb2NhbC9maGlyL09yZ2FuaXphdGlvbi83MzE3NSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlBBVElFTlQifQ.
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": "PlanDefinition",
"id": "380",
"meta": {
"versionId": "1",
"lastUpdated": "2024-01-30T08:06:06.241+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/73175"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"status": "retired"
}
Response
{
"resourceType": "PlanDefinition",
"id": "380",
"meta": {
"versionId": "2",
"lastUpdated": "2024-01-30T08:06:06.339+00:00",
"source": "#ca0fa955-934d-46",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition"
]
},
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role",
"extension": [
{
"url": "reference",
"valueReference": {
"reference": "https://organization.cit-plan-1366.local/fhir/Organization/73175"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base",
"valueIdentifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:6277378b-64e4-417b-aa90-db374dad749c",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1366"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:6a321f68-13c8-442f-a84f-24371c01c88c"
}
],
"version": "1.0",
"status": "retired"
}