eHealth Infrastructure 2.7.0 - Release 14
Publish Box goes here
No examples are currently available for the profile.
GET [base]/PlanDefinition?_id=https%3A%2F%2Fplan.cit-plan-1230.local%2Ffhir%2FPlanDefinition%2F266%2F_history%2F1&_include%3Aiterate=PlanDefinition%3Adefinition
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.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "Bundle", "id": "ef887440-c3f5-4013-9655-eb00936712af", "meta": { "lastUpdated": "2023-03-07T19:09:46.567+00:00" }, "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "https://plan.cit-plan-1230.local/fhir/PlanDefinition?_format=json&_id=https%3A%2F%2Fplan.cit-plan-1230.local%2Ffhir%2FPlanDefinition%2F266%2F_history%2F1&_include%3Aiterate=PlanDefinition%3Adefinition&_pretty=true" } ], "entry": [ { "fullUrl": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/266", "resource": { "resourceType": "PlanDefinition", "id": "266", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T19:09:46.290+00:00", "source": "#27cda25a-2f2e-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-1230.local/fhir/Organization/994" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "1.0", "status": "active", "action": [ { "definitionCanonical": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/265" } ] }, "search": { "mode": "match" } }, { "fullUrl": "https://plan.cit-plan-1230.local/fhir/ActivityDefinition/264", "resource": { "resourceType": "ActivityDefinition", "id": "264", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T19:09:46.037+00:00", "source": "#7fa1352c-f638-9b", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition" ] }, "extension": [ { "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-modifier-role", "extension": [ { "url": "reference", "valueReference": { "reference": "https://organization.cit-plan-1230.local/fhir/Organization/6452" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "1.0", "name": "3c1e3e83-42bd-438a-9d26-4b00decf9c54", "status": "active", "topic": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/definition-topic", "code": "treatment" } ] } ], "code": { "coding": [ { "system": "urn:oid:1.2.208.176.2.1", "code": "NPU03011" } ] } }, "search": { "mode": "include" } }, { "fullUrl": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/265", "resource": { "resourceType": "PlanDefinition", "id": "265", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T19:09:46.184+00:00", "source": "#054f6e73-fc36-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-1230.local/fhir/Organization/2975" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "1.0", "status": "active", "action": [ { "definitionCanonical": "https://plan.cit-plan-1230.local/fhir/ActivityDefinition/264" } ] }, "search": { "mode": "include" } } ] }
GET [base]/PlanDefinition/283/_history/2
{ "resourceType": "PlanDefinition", "id": "283", "meta": { "versionId": "2", "lastUpdated": "2023-03-07T19:10:22.307+00:00", "source": "#f868dcf5-6136-95", "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-1230.local/fhir/Organization/28691" } }, { "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:ab26835b-c0e6-4108-82c5-46673698392c", "assigner": { "identifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } } }, { "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:74aaa3d8-d6e6-45a6-aa6f-f51ebe933eda" } ], "version": "1.0", "title": "Updated Title", "status": "active", "relatedArtifact": [ { "type": "documentation", "resource": "https://plan.cit-plan-1230.local/fhir/DocumentReference/284" } ], "action": [ { "definitionCanonical": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/285" } ] }
POST [base]/PlanDefinition
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.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-1230.local/fhir/Organization/1408" } }, { "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-1230.local/fhir/ActivityDefinition/201", "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-1230.local/fhir/ActivityDefinition/202" } ] } ] }
{ "resourceType": "PlanDefinition", "id": "203", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T19:09:27.854+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-1230.local/fhir/Organization/1408" } }, { "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:a6a5a75c-5349-47c6-9994-7c7e7a31e8b8", "assigner": { "identifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment", "valueIdentifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } ], "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:uuid:43ca521b-be3e-4966-b42d-15f532e3925d" } ], "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-1230.local/fhir/ActivityDefinition/201", "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-1230.local/fhir/ActivityDefinition/202" } ] } ] }
POST [base]/PlanDefinition/$validate
{ "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-1230.local/fhir/Organization/71930" } }, { "url": "role", "valueCodeableConcept": { "coding": [ { "system": "http://ehealth.sundhed.dk/cs/modifier-role", "code": "owner" } ] } } ] } ], "version": "1.0", "status": "active" } } ] }
{ "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/287
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.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "PlanDefinition", "id": "287", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T19:10:22.572+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-1230.local/fhir/Organization/58086" } }, { "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:8bafd21f-6178-4fc6-ae05-fdcbbf884606", "assigner": { "identifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment", "valueIdentifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } ], "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:uuid:037efe6e-2475-4ee3-b420-637c04c66549" } ], "version": "1.0", "status": "active", "action": [ { "definitionCanonical": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/286" } ] }
{ "resourceType": "PlanDefinition", "id": "287", "meta": { "versionId": "2", "lastUpdated": "2023-03-07T19:10:22.670+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-1230.local/fhir/Organization/58086" } }, { "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:8bafd21f-6178-4fc6-ae05-fdcbbf884606", "assigner": { "identifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } } }, { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment", "valueIdentifier": { "system": "http://ehealth.sundhed.dk/id/ehealth-environment", "value": "cit-plan-1230" } } ], "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:uuid:037efe6e-2475-4ee3-b420-637c04c66549" } ], "version": "1.0", "status": "active", "action": [ { "definitionCanonical": "https://plan.cit-plan-1230.local/fhir/PlanDefinition/286" } ] }