eHealth Infrastructure - Local Development build (v2.6.0). See the Directory of published versions
Active as of 2023-01-07 |
{
"resourceType" : "CapabilityStatement",
"id" : "careplan",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>careplan</h2><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td>y</td></tr><tr><td>System History</td><td>y</td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET past versions of resources (vread interaction)\">V-Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"PATCH a new resource version (patch interaction)\">Patch</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th><th><b title=\"DELETE a resource (delete interaction)\">Delete</b></th></tr><tr><td>CarePlan</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td></tr><tr><td>CommunicationRequest</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td>y</td></tr><tr><td>Condition</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/Condition\">http://hl7.org/fhir/StructureDefinition/Condition</a></td><td>y</td><td>y</td><td></td><td></td><td>y</td><td>y</td><td></td></tr><tr><td>Consent</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td></tr><tr><td>EpisodeOfCare</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare</a></td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td><td></td></tr><tr><td>Goal</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td></tr><tr><td>OperationDefinition</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/OperationDefinition\">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td>y</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Provenance</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance</a></td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td></td></tr><tr><td>ServiceRequest</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest</a></td><td>y</td><td>y</td><td></td><td>y</td><td></td><td></td><td></td></tr></table></div>"
},
"url" : "http://ehealth.sundhed.dk/fhir/CapabilityStatement/careplan",
"version" : "2.6.0",
"name" : "careplan",
"status" : "active",
"date" : "2023-01-07T02:02:35.982+00:00",
"publisher" : "Systematic | Trifork",
"contact" : [
{
"name" : "Systematic | Trifork",
"telecom" : [
{
"system" : "url",
"value" : "http://ehealth.sundhed.dk"
}
]
}
],
"kind" : "instance",
"software" : {
"name" : "careplan",
"version" : "1.15.1"
},
"implementation" : {
"description" : "eHealth careplan service",
"url" : "https://careplan.devtest.systematic-ehealth.com/fhir"
},
"fhirVersion" : "4.0.1",
"format" : [
"application/fhir+xml",
"xml",
"application/fhir+json",
"json",
"application/x-turtle",
"ttl",
"html/json",
"html/xml",
"html/turtle"
],
"rest" : [
{
"mode" : "server",
"resource" : [
{
"type" : "CarePlan",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan",
"interaction" : [
{
"code" : "update"
},
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
}
],
"conditionalUpdate" : true,
"searchInclude" : [
"CarePlan:activity-reference",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"searchParam" : [
{
"name" : "_id",
"type" : "token",
"documentation" : "The ID of the resource"
},
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
},
{
"name" : "activity-reference",
"type" : "reference",
"documentation" : "Activity details defined in specific resource"
},
{
"name" : "care-team",
"type" : "reference",
"documentation" : "Who's involved in plan?"
},
{
"name" : "category",
"type" : "token",
"documentation" : "Type of plan"
},
{
"name" : "date",
"type" : "date",
"documentation" : "Time period plan covers"
},
{
"name" : "episodeOfCare",
"type" : "reference",
"documentation" : "EpisodeOfCare"
},
{
"name" : "goal",
"type" : "reference",
"documentation" : "Goal of the care plan"
},
{
"name" : "identifier",
"type" : "token",
"documentation" : "External Ids for this plan"
},
{
"name" : "part-of",
"type" : "reference",
"documentation" : "Part of referenced CarePlan"
},
{
"name" : "patient",
"type" : "reference",
"documentation" : "Who care plan is for"
},
{
"name" : "status",
"type" : "token",
"documentation" : "draft | active | suspended | completed | entered-in-error | cancelled | unknown"
},
{
"name" : "status-scheduled-time",
"type" : "date",
"documentation" : "Scheduled time for status change"
},
{
"name" : "team-scheduled-time",
"type" : "date",
"documentation" : "Scheduled time for team change"
}
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
},
{
"name" : "update-care-teams",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams",
"documentation" : "The operation modifies the care team assignment of the care plan and all of its sub plans."
},
{
"name" : "suggest-care-teams",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlan-i-suggest-care-teams",
"documentation" : "Suggest care teams matching the conditions required by the care plan on either a regional or a municipality level. The suggested care teams has reason codes matching all the conditions addressed by the care plan and has a managing organization matching the input region code or municipality code. One of region code or municipality code must be input. If both region code and municipality code is input, then the municipality code is ignored. Return a bundle with matching care teams and their managing organizations."
}
]
},
{
"type" : "CommunicationRequest",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request",
"interaction" : [
{
"code" : "update"
},
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
},
{
"code" : "delete"
},
{
"code" : "create"
}
],
"conditionalCreate" : true,
"conditionalUpdate" : true,
"searchInclude" : [
"CommunicationRequest:based-on",
"CommunicationRequest:context"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"searchParam" : [
{
"name" : "_content",
"type" : "string",
"documentation" : "Search the contents of the resource's data using a fulltext search"
},
{
"name" : "_has",
"type" : "string",
"documentation" : "Return resources linked to by the given target"
},
{
"name" : "_id",
"type" : "token",
"documentation" : "The ID of the resource"
},
{
"name" : "_language",
"type" : "string",
"documentation" : "The language of the resource"
},
{
"name" : "_lastUpdated",
"type" : "date",
"documentation" : "Only return resources which were last updated as specified by the given range"
},
{
"name" : "_profile",
"type" : "uri",
"documentation" : "Search for resources which have the given profile"
},
{
"name" : "_security",
"type" : "token",
"documentation" : "Search for resources which have the given security labels"
},
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
},
{
"name" : "_text",
"type" : "string",
"documentation" : "Search the contents of the resource's narrative using a fulltext search"
},
{
"name" : "authored",
"type" : "date",
"documentation" : "When request transitioned to being actionable"
},
{
"name" : "based-on",
"type" : "reference",
"documentation" : "Fulfills plan or proposal"
},
{
"name" : "category",
"type" : "token",
"documentation" : "Message category"
},
{
"name" : "encounter",
"type" : "reference",
"documentation" : "Encounter leading to message"
},
{
"name" : "episodeOfCare",
"type" : "reference",
"documentation" : "Episode leading to message"
},
{
"name" : "group-identifier",
"type" : "token",
"documentation" : "Composite request this is part of"
},
{
"name" : "identifier",
"type" : "token",
"documentation" : "Unique identifier"
},
{
"name" : "medium",
"type" : "token",
"documentation" : "A channel of communication"
},
{
"name" : "occurrence",
"type" : "date",
"documentation" : "When scheduled"
},
{
"name" : "patient",
"type" : "reference",
"documentation" : "Focus of message"
},
{
"name" : "priority",
"type" : "token",
"documentation" : "Message urgency"
},
{
"name" : "reasonCode",
"type" : "token",
"documentation" : "ReasonCode"
},
{
"name" : "recipient",
"type" : "reference",
"documentation" : "Message recipient"
},
{
"name" : "replaces",
"type" : "reference",
"documentation" : "Request(s) replaced by this request"
},
{
"name" : "requester",
"type" : "reference",
"documentation" : "Individual making the request"
},
{
"name" : "sender",
"type" : "reference",
"documentation" : "Message sender"
},
{
"name" : "status",
"type" : "token",
"documentation" : "draft | active | suspended | cancelled | completed | entered-in-error | unknown"
},
{
"name" : "subject",
"type" : "reference",
"documentation" : "Focus of message"
}
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
}
]
},
{
"type" : "Condition",
"profile" : "http://hl7.org/fhir/StructureDefinition/Condition",
"interaction" : [
{
"code" : "vread"
},
{
"code" : "read"
},
{
"code" : "patch"
},
{
"code" : "create"
}
],
"conditionalCreate" : true,
"searchInclude" : [
"*"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
}
]
},
{
"type" : "Consent",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent",
"interaction" : [
{
"code" : "update"
},
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
},
{
"code" : "create"
}
],
"conditionalCreate" : true,
"conditionalUpdate" : true,
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"searchParam" : [
{
"name" : "data",
"type" : "reference",
"documentation" : "The actual data reference"
},
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
},
{
"name" : "actor",
"type" : "reference",
"documentation" : "Resource for the actor (or group, by role)"
},
{
"name" : "category",
"type" : "token",
"documentation" : "Classification of the consent statement - for indexing/retrieval"
},
{
"name" : "identifier",
"type" : "token",
"documentation" : "Identifier for this record (external references)"
},
{
"name" : "patient",
"type" : "reference",
"documentation" : "Who the consent applies to"
},
{
"name" : "period",
"type" : "date",
"documentation" : "Period that this consent applies"
},
{
"name" : "status",
"type" : "token",
"documentation" : "draft | proposed | active | rejected | inactive | entered-in-error"
}
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
}
]
},
{
"type" : "EpisodeOfCare",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare",
"interaction" : [
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
},
{
"code" : "patch"
}
],
"searchInclude" : [
"EpisodeOfCare:condition"
],
"searchRevInclude" : [
"CarePlan:episodeOfCare"
],
"searchParam" : [
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
},
{
"name" : "condition",
"type" : "reference",
"documentation" : "Conditions/problems/diagnoses this episode of care is for"
},
{
"name" : "identifier",
"type" : "token",
"documentation" : "Business Identifier(s) relevant for this EpisodeOfCare"
},
{
"name" : "organization",
"type" : "reference",
"documentation" : "The organization that has assumed the specific responsibilities of this EpisodeOfCare"
},
{
"name" : "patient",
"type" : "reference",
"documentation" : "The patient who is the focus of this episode of care"
},
{
"name" : "status",
"type" : "token",
"documentation" : "The current status of the Episode of Care as provided (does not check the status history collection)"
},
{
"name" : "status-scheduled-time",
"type" : "date",
"documentation" : "Scheduled time for status change"
},
{
"name" : "team",
"type" : "reference",
"documentation" : "The list of practitioners that may be facilitating this episode of care for specific purposes."
},
{
"name" : "team-scheduled-time",
"type" : "date",
"documentation" : "Scheduled time for team change"
}
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
},
{
"name" : "update-care-teams",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams",
"documentation" : "Modify the care team assignment of the episode of care and all care plans that has the episode of care as context."
},
{
"name" : "is-context-allowed",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed",
"documentation" : "Checks that it is allowed to set an EpisodeOfCare as context.\r\nIf the user requesting context is a patient, then the patient input parameter should be specified.\r\nIf the user requesting context is a practitioner, then the careTeam input parameter should be specified.\r\nThrows an exception if it is not allowed to select the Episode Of Care context.\r\n## Output\r\nFor valid Episode of Care is returned references that cause the Episode of Care to be valid context. \r\nFor a practitioner, two output parameters will be returned on success:\r\n- CareTeam: The Careteam that gave access\r\n- EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam"
}
]
},
{
"type" : "Goal",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal",
"interaction" : [
{
"code" : "update"
},
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
},
{
"code" : "create"
}
],
"conditionalCreate" : true,
"conditionalUpdate" : true,
"searchInclude" : [
"*",
"Goal:patient",
"Goal:subject"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"searchParam" : [
{
"name" : "_content",
"type" : "string",
"documentation" : "Search the contents of the resource's data using a fulltext search"
},
{
"name" : "_filter",
"type" : "string",
"documentation" : "Search the contents of the resource's data using a filter"
},
{
"name" : "_has",
"type" : "string",
"documentation" : "Return resources linked to by the given target"
},
{
"name" : "_id",
"type" : "token",
"documentation" : "The ID of the resource"
},
{
"name" : "_language",
"type" : "string",
"documentation" : "The language of the resource"
},
{
"name" : "_lastUpdated",
"type" : "date",
"documentation" : "Only return resources which were last updated as specified by the given range"
},
{
"name" : "_profile",
"type" : "uri",
"documentation" : "Search for resources which have the given profile"
},
{
"name" : "_security",
"type" : "token",
"documentation" : "Search for resources which have the given security labels"
},
{
"name" : "_source",
"type" : "uri",
"documentation" : "Search for resources which have the given source value (Resource.meta.source)"
},
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
},
{
"name" : "_text",
"type" : "string",
"documentation" : "Search the contents of the resource's narrative using a fulltext search"
},
{
"name" : "addresses",
"type" : "reference",
"documentation" : "What the goal addresses"
},
{
"name" : "category",
"type" : "token",
"documentation" : "E.g. Treatment, dietary, behavioral, etc."
},
{
"name" : "identifier",
"type" : "token",
"documentation" : "External Ids for this goal"
},
{
"name" : "lifecycle-status",
"type" : "token",
"documentation" : "proposed | accepted | planned | in-progress | on-target | ahead-of-target | behind-target | sustaining | achieved | on-hold | cancelled | entered-in-error | rejected"
},
{
"name" : "patient",
"type" : "reference",
"documentation" : "Who this goal is intended for"
},
{
"name" : "start-date",
"type" : "date",
"documentation" : "When goal pursuit begins"
},
{
"name" : "subject",
"type" : "reference",
"documentation" : "Who this goal is intended for"
},
{
"name" : "target-date",
"type" : "date",
"documentation" : "Reach goal on or before"
}
]
},
{
"type" : "OperationDefinition",
"profile" : "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
"interaction" : [
{
"code" : "read"
}
],
"searchInclude" : [
"*"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
]
},
{
"type" : "Provenance",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance",
"interaction" : [
{
"code" : "search-type"
},
{
"code" : "vread"
},
{
"code" : "read"
}
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"searchParam" : [
{
"name" : "target",
"type" : "reference",
"documentation" : "Target Reference(s) (usually version specific)"
},
{
"name" : "_tag",
"type" : "token",
"documentation" : "Search for resources which have the given tag"
}
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
}
]
},
{
"type" : "ServiceRequest",
"profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest",
"interaction" : [
{
"code" : "update"
},
{
"code" : "vread"
},
{
"code" : "read"
}
],
"conditionalUpdate" : true,
"searchInclude" : [
"*"
],
"searchRevInclude" : [
"CarePlan:activity-reference",
"CarePlan:care-team",
"CarePlan:episodeOfCare",
"CarePlan:goal",
"CarePlan:part-of",
"CarePlan:patient",
"CommunicationRequest:based-on",
"CommunicationRequest:encounter",
"CommunicationRequest:episodeOfCare",
"CommunicationRequest:patient",
"CommunicationRequest:recipient",
"CommunicationRequest:replaces",
"CommunicationRequest:requester",
"CommunicationRequest:sender",
"CommunicationRequest:subject",
"Consent:actor",
"Consent:data",
"Consent:patient",
"EpisodeOfCare:condition",
"EpisodeOfCare:organization",
"EpisodeOfCare:patient",
"EpisodeOfCare:team",
"Goal:addresses",
"Goal:patient",
"Goal:subject",
"Provenance:target"
],
"operation" : [
{
"name" : "validate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
}
]
}
],
"interaction" : [
{
"code" : "transaction"
},
{
"code" : "history-system"
}
],
"operation" : [
{
"name" : "migrate",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-migrate",
"documentation" : "Data migration"
},
{
"name" : "get-patient-procedures",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-patient-procedures",
"documentation" : "This operation returns an overview of patient activities within a time period and filtered by either EpisodeOfCare or Condition code(s). On success, the returned Bundle contains a Parameters structure detailing the count of measurements received and expected. This is done per ServiceRequest with status active for those part of a CarePlan with status active related to eligible EpisodeOfCare resources. Eligible EpisodeOfCare are those with status active that refer to the given Patient and are either given as EpisodeOfCare reference in input or are referencing a Condition with a condition code that matches at least one of the Condition codes possibly given as input. The measurement regime expressed in ServiceRequest.occurrence[x] is, when possible, resolved to time slot(s) corresponding to datetime/period where an action is supposed to take place, typically performed by the Patient. When the occurrenceTiming variant is used, resolved time slots overlapping with the input time periode are considered. For occurrenceTiming expression which are either adhoc or unresolved, the effective datetime/period of a measurement is considered when checked for overlap with input time period.\r\n## Input\r\nThe operation has three mandatory inputs, a Patient reference, a start date and an end date. Additionally the operation has three optional inputs: a list of reference(s) to EpisodeOfCare, a list of Codings for Condition and a list of Codings for tags.\r\n### Patient reference\r\nMandatory reference for the Patient which the procedure overview is computed for.\r\n### Start and end datetimes\r\nStart and end datetime are both mandatory, and together specify the period of interest in the patient procedure overview. As stated above, for resolvable past and future time slots as well as adhoc and unresolved timings there must overlap with this period.\r\n### EpisodeOfCare list\r\nThe list of EpisodeOfCare references is optional. If EpisodeOfCare are provided, these will be used to further filter which active EpisodeOfCare, CarePlan and ServiceRequest are considered for the patient procedure overview.\r\n### Condition Coding list\r\nThe list of Coding for Condition is optional. If Condition Coding are provided, the EpisodeOfCare considered are those referring to a Condition matching at least one of the codes in the list. As above, the EpisodeOfCare (one or more) considered further determines which active EpisodeOfCare, CarePlan and ServiceRequest are considered.\r\n### Tag Coding list\r\nThe list of Coding for tags is optional. If tag Coding are provided, the EpisodeOfCare considered are those including a tag matching at least one of the codes in the list. As above, both the Condition (one or more) and EpisodeOfCare (one or more) considered further determines which active EpisodeOfCare, CarePlan and ServiceRequest are considered.\r\n### Extra boolean\r\nThis is an optional parameter that can be set to true if activities allowing 'Extra' submissions should be included in the response. \r\n## Output\r\nFor valid inputs, the server will compute and return a Bundle. The Bundle contains a Parameters resource with resolved measurement regimes and associated counts of measurement submitted and counts expected. Such counts are also included in the Parameters structure when the measurement regime is either adhoc or unresolved. In addition, the Bundle contains CarePlan and ServiceRequest referenced in the Parameters. The Bundle can contain an OperationOutcome describing any encountered warnings.\r\n### Output Parameters\r\nThe output contains rows (encoded in parameters) for each matching and active ServiceRequest with resolved timings overlapping with the requested period. \r\n\r\nRows are represented as Parameters.parameter with names: item_1, item_2, etc. Columns are represented as Parameters.parameter.part with name and value \r\n```\r\nExample:\r\n'resource': {\r\n 'resourceType': 'Parameters',\r\n 'parameter': [{\r\n 'name': 'item_1',\r\n 'part': [{\r\n 'name': 'CarePlan',\r\n 'valueReference': {\r\n 'reference': 'https://careplan.devtest.systematic-ehealth.com/fhir/CarePlan/164581'\r\n }\r\n }]\r\n }]\r\n}\r\n ```\r\n\r\n### Columns\r\n\r\n- CarePlan: Reference to the CarePlan that the ServiceRequest belongs to.\r\n- ServiceRequest: Reference to the ServiceRequest.\r\n- ServiceRequestVersionId: The version of the ServiceRequest (version specified at time of submit-measurement or the current version (for expected activities)).\r\n- Activity: Description of the planned activity.\r\n- ResolvedTimingStart: A planned start time for the activity in the requested period.\r\n- ResolvedTimingEnd: A planned end time for the activity in the requested period. May be identical to start if no duration is specified in the measurement regime.\r\n- TotalSubmitted: The number of measurements already submitted for this ServiceRequest and resolved timing.\r\n- SubmittedTimely: The number of measurements where the measurement time matches the resolved timing.\r\n- TimingType:\r\n * Resolved: a measurement regime that is supported by the infrastructure and where resolved timing and requested number of measurements can be calculated.\r\n * Unresolved: a measurement regime that is not supported by the infrastructure. Resolved Timing Start, end, submitted timely and Occurrences requested will be empty.\r\n * Adhoc: A ServiceRequest without a measurement regime or a measurement regime stating ad-hoc.\r\n- OccurencesRequested: Expected number of measurements."
},
{
"name" : "create-episode-of-care",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-create-episode-of-care",
"documentation" : "This operation persists an EpisodeOfCare based on the transient value of an EpisodeOfCare provided in the input.\r\n## Input\r\nThe input is a Bundle which must contain exactly one EpisodeOfCare, conditions referenced in diagnosis list and at least one Provenance resource. All Provenances in the input must have the EpisodeOfCare as target. At least one Provenance must be interpreted into a 'Privacy-provenance' (see below).\r\n### The EpisodeOfCare resource\r\nThe EpisodeOfCare has to have `PLANNED` status \r\nThe 'id' property of the EpisodeOfCare will be reassigned by the server, but can be referenced by other resources in the same bundle. \r\nThe 'managingOrganization' property of the EpisodeOfCare references the GDPR Data Controller (Danish: 'Dataansvarlig').\r\n### The privacy-Provenance resource\r\nA privacy-Provenance is a Provenance resource characterized by having at least one entry in Provenance.policy which data are transported, stored, or processed in the system. Possible values are:\r\n- 'http://ehealth.sundhed.dk/policy/dk/sundhedsloven'\r\n- 'http://ehealth.sundhed.dk/policy/dk/serviceloven'\r\n### Diagnosis referenced Condition resource\r\nFor any diagnosis listed, the referenced Condition must be concerning the same Patient as the EpisodeOfCare.\r\n## Output\r\nFor valid inputs, the server will create, persist and return a new EpisodeOfCare, client-supplied provenances, conditions and origin-provenance carrying a server-assigned ids.\r\nTo get resources bodies in the output the request header has to contain parameter ```Prefer: return=representation```.\r\n### The origin-Provenance resource\r\nWhenever an EpisodeOfCare is created, the server automatically creates an 'origin' Provenance resource point to it (in addition to the client-supplied Privacy-Provenance). This Origin-Provenance resource is filled with data from the JWT access token in order to record the origin of the EpisodeOfCare resource. For instance agent.whoReference points to a resource which is created as a shadow identity from the JWT token."
},
{
"name" : "apply",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-apply",
"documentation" : "This operation creates a careplan for a specific episodeOfCare using this PlanDefinition as a template."
},
{
"name" : "process-message",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message",
"documentation" : "Accept a FHIR Message Bundle for processing"
},
{
"name" : "perform-reindexing-pass",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass",
"documentation" : "Forces a single pass of the resource reindexing processor"
},
{
"name" : "meta",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"
},
{
"name" : "get-resource-counts",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts",
"documentation" : "Provides the number of resources currently stored on the server, broken down by resource type"
},
{
"name" : "reindex-terminology",
"definition" : "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"
}
]
}
]
}
IG © 2021+ Systematic | Trifork. Package dk.ehealth.sundhed.fhir.ig.core#2.6.0 based on FHIR 4.0.1. Generated 2023-01-12