Publish Box goes here
No examples are currently available for the profile.
GET [base]/PlanDefinition?name=129ceafe-3ef1-4c22-b5c3-8cbf54eb795c&_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.1.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "b467ef28-5fc7-40d0-998f-7cfebb33ad1a",
"meta": {
"lastUpdated": "2022-09-16T10:15:00.565+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://plan.cit-plan-1136.local/fhir/PlanDefinition?_format=json&_include%3Aiterate=*&_pretty=true&name=129ceafe-3ef1-4c22-b5c3-8cbf54eb795c"
}
],
"entry": [
{
"fullUrl": "https://plan.cit-plan-1136.local/fhir/PlanDefinition/278",
"resource": {
"resourceType": "PlanDefinition",
"id": "278",
"meta": {
"versionId": "1",
"lastUpdated": "2022-09-16T10:15:00.422+00:00",
"source": "#a3446ed5-0416-93",
"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-1136.local/fhir/Organization/60657"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"name": "129ceafe-3ef1-4c22-b5c3-8cbf54eb795c",
"status": "active",
"relatedArtifact": [
{
"type": "predecessor",
"display": "68198408-f209-4a04-887d-e4ea95ba4dfd",
"resource": "https://plan.cit-plan-1136.local/fhir/DocumentReference/277"
}
]
},
"search": {
"mode": "match"
}
},
{
"fullUrl": "https://plan.cit-plan-1136.local/fhir/DocumentReference/277",
"resource": {
"resourceType": "DocumentReference",
"id": "277",
"meta": {
"versionId": "1",
"lastUpdated": "2022-09-16T10:15:00.226+00:00",
"source": "#93ee8212-65da-9e",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference"
]
},
"status": "current",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "69730-0"
}
]
},
"date": "2022-09-16T10:15:00.078+00:00",
"content": [
{
"attachment": {
"url": "http://some.com/"
}
}
]
},
"search": {
"mode": "include"
}
}
]
}
GET [base]/PlanDefinition/237/_history/2
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCIsIlBsYW5EZWZpbml0aW9uJGFwcGx5Il19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "PlanDefinition",
"id": "237",
"meta": {
"versionId": "2",
"lastUpdated": "2022-09-16T10:14:20.390+00:00",
"source": "#3249ecfc-daa9-99",
"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-1136.local/fhir/Organization/38441"
}
},
{
"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:32d4b882-3e10-43cd-adb9-dbc75d657de4",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "otherEnv"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:8266453b-3bd4-4f78-80f8-3cedaaf9f8c1"
}
],
"version": "1.0",
"title": "Updated Title",
"status": "active",
"relatedArtifact": [
{
"type": "documentation",
"resource": "https://plan.cit-plan-1136.local/fhir/DocumentReference/238"
}
],
"action": [
{
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/PlanDefinition/239"
}
]
}
POST [base]/PlanDefinition
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCIsIlBsYW5EZWZpbml0aW9uJGFwcGx5Il19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.1.0 (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-1136.local/fhir/Organization/81468"
}
},
{
"url": "role",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/modifier-role",
"code": "owner"
}
]
}
}
]
}
],
"version": "1.0",
"status": "active",
"action": [
{
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/overviewUsageMode",
"code": "display-item"
}
]
}
}
],
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/ActivityDefinition/155",
"action": [
{
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/overviewUsageMode",
"code": "display-item"
}
]
}
}
],
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/ActivityDefinition/156"
}
]
}
]
}
Response
{
"resourceType": "PlanDefinition",
"id": "157",
"meta": {
"versionId": "1",
"lastUpdated": "2022-09-16T10:13:19.633+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-1136.local/fhir/Organization/81468"
}
},
{
"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:a2109624-b9df-4a6d-a5a9-8dfc64c53eac",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:10599775-e20f-4178-a661-c967cc4093ee"
}
],
"version": "1.0",
"status": "active",
"action": [
{
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/overviewUsageMode",
"code": "display-item"
}
]
}
}
],
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/ActivityDefinition/155",
"action": [
{
"extension": [
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode",
"valueCodeableConcept": {
"coding": [
{
"system": "http://ehealth.sundhed.dk/cs/overviewUsageMode",
"code": "display-item"
}
]
}
}
],
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/ActivityDefinition/156"
}
]
}
]
}
POST [base]/PlanDefinition/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCIsIlBsYW5EZWZpbml0aW9uJGFwcGx5Il19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.1.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": "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-1136.local/fhir/Organization/56958"
}
},
{
"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;\">WARNING</td><td>[Parameters.parameter[0].resource.ofType(PlanDefinition), Line 1, Col 114]</td><td><pre>pdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed</pre></td></tr><tr><td style=\"font-weight: bold;\">WARNING</td><td>[Parameters.parameter[0].resource.ofType(PlanDefinition), Line 1, Col 114]</td><td><pre>pdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed</pre></td></tr></table></div>"
},
"issue": [
{
"severity": "warning",
"code": "processing",
"diagnostics": "pdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed",
"location": [
"Parameters.parameter[0].resource.ofType(PlanDefinition)",
"Line 1, Col 114"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "pdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed",
"location": [
"Parameters.parameter[0].resource.ofType(PlanDefinition)",
"Line 1, Col 114"
]
}
]
}
PUT [base]/PlanDefinition/241
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUGxhbkRlZmluaXRpb24uY3JlYXRlIiwiQWN0aXZpdHlEZWZpbml0aW9uLnVwZGF0ZSIsIkFjdGl2aXR5RGVmaW5pdGlvbi5yZWFkIiwiUGxhbkRlZmluaXRpb24uc2VhcmNoIiwiJHRlc3Qtb25seS1jcmVhdGUiLCJQbGFuRGVmaW5pdGlvbi51cGRhdGUiLCJQbGFuRGVmaW5pdGlvbi5yZWFkIiwiRG9jdW1lbnRSZWZlcmVuY2UucmVhZCIsIlBsYW5EZWZpbml0aW9uJGFwcGx5Il19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
If-Match: "1"
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "PlanDefinition",
"id": "241",
"meta": {
"versionId": "1",
"lastUpdated": "2022-09-16T10:14:21.112+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-1136.local/fhir/Organization/68513"
}
},
{
"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:4ea0fda5-b30b-41fb-a075-29ed643caa92",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:bb304692-8f4d-4451-b61b-3a92743ef8d5"
}
],
"version": "1.0",
"status": "active",
"action": [
{
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/PlanDefinition/240"
}
]
}
Response
{
"resourceType": "PlanDefinition",
"id": "241",
"meta": {
"versionId": "2",
"lastUpdated": "2022-09-16T10:14:21.433+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-1136.local/fhir/Organization/68513"
}
},
{
"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:4ea0fda5-b30b-41fb-a075-29ed643caa92",
"assigner": {
"identifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
}
},
{
"url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment",
"valueIdentifier": {
"system": "http://ehealth.sundhed.dk/id/ehealth-environment",
"value": "cit-plan-1136"
}
}
],
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:bb304692-8f4d-4451-b61b-3a92743ef8d5"
}
],
"version": "1.0",
"status": "active",
"action": [
{
"definitionCanonical": "https://plan.cit-plan-1136.local/fhir/PlanDefinition/240"
}
]
}