FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource CapabilityStatement/FHIR Server from package dk.ehealth.sundhed.fhir.ig.core#current (141 ms)

Package dk.ehealth.sundhed.fhir.ig.core
Type CapabilityStatement
Id Id
FHIR Version R4
Source http://ehealth.sundhed.dk/fhir/https://build.fhir.org/ig/fut-infrastructure/implementation-guide/CapabilityStatement-careplan.html
Url http://ehealth.sundhed.dk/fhir/CapabilityStatement/careplan
Version 3.3.0
Status active
Date 2024-10-28T02:03:02.540+00:00
Name careplan
Experimental False
Realm dk
Kind instance

Resources that use this resource

No resources found


Resources that this resource uses

OperationDefinition
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-apply Create a careplan
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-create-episode-of-care Create an EpisodeOfCare
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-patient-procedures Get patient procedures
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlan-i-suggest-care-teams Suggest care teams
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams Modify care team assignment
https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed Is context allowed
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan ehealth-careplan
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request ehealth-communication-request
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent ehealth-consent
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare ehealth-episodeofcare
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal ehealth-goal
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance ehealth-provenance
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest ehealth-servicerequest


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: CapabilityStatement careplan

  • Implementation Guide Version: 3.3.0
  • FHIR Version: 4.0.1
  • Supported Formats: application/fhir+xml, xml, application/fhir+json, json, application/x-turtle, ttl, html/json, html/xml, html/turtle
  • Supported Patch Formats:
  • Published on: 2024-10-28 02:03:02+0000
  • Published by: Den telemedicinske infrastruktur (eHealth Infrastructure)

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

FHIR RESTful Capabilities

Mode: server

Summary of System-wide Interactions
  • Supports the transactioninteraction.
  • Supports the history-systeminteraction.

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRV-RSUPCDSearches_include_revincludeOperations
CarePlanhttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplanyyyy_id, _lastUpdated, _tag, activity-reference, care-team, category, condition, date, episodeOfCare, goal, identifier, instantiates-canonical, part-of, participant-actor, participant-function, participant-function-actor, patient, status, status-history-end-time, status-history-start-time, status-history-status, status-scheduled-status, status-scheduled-time, team-scheduled-timeCarePlan:activity-reference, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:part-ofCarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate, $update-care-teams, $suggest-care-teams
CommunicationRequesthttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-requestyyyyyy_content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, authored, based-on, category, encounter, episodeOfCare, group-identifier, identifier, medium, occurrence, patient, priority, reasonCode, recipient, replaces, requester, sender, status, subjectCommunicationRequest:based-on, CommunicationRequest:contextCarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate
Conditionhttp://hl7.org/fhir/StructureDefinition/Conditionyyyy*CarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate
Consenthttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consentyyyyydata, _tag, actor, category, identifier, patient, period, statusCarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate
EpisodeOfCarehttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcareyyyy_tag, condition, identifier, organization, participant-actor, participant-function, participant-function-actor, patient, status, status-scheduled-time, team, team-scheduled-timeEpisodeOfCare:conditionCarePlan:episodeOfCare$validate, $update-care-teams, $is-context-allowed
Goalhttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goalyyyyy_content, _filter, _has, _id, _language, _lastUpdated, _profile, _security, _source, _tag, _text, addresses, category, identifier, lifecycle-status, patient, start-date, subject, target-date*, Goal:patient, Goal:subjectCarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target
OperationDefinitionhttp://hl7.org/fhir/StructureDefinition/OperationDefinitiony*CarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target
Provenancehttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenanceyyytarget, _tagCarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate
ServiceRequesthttp://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequestyyy*CarePlan:activity-reference, CarePlan:care-team, CarePlan:condition, CarePlan:episodeOfCare, CarePlan:goal, CarePlan:instantiates-canonical, CarePlan:part-of, CarePlan:participant-actor, 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:participant-actor, EpisodeOfCare:patient, EpisodeOfCare:team, Goal:addresses, Goal:patient, Goal:subject, Provenance:target$validate

Resource Conformance: supported CarePlan

Base System Profile
ehealth-careplan
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports update, search-type, vread, read.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_idtoken

The ID of the resource

SHALL_lastUpdateddate

Only return resources which were last updated as specified by the given range

SHALL_tagtoken

Search for resources which have the given tag

SHALLactivity-referencereference

Activity details defined in specific resource

SHALLcare-teamreference

Who's involved in plan?

SHALLcategorytoken

Type of plan

SHALLconditionreference

Health issues this plan addresses

SHALLdatedate

Time period plan covers

SHALLepisodeOfCarereference

EpisodeOfCare

SHALLgoalreference

Goal of the care plan

SHALLidentifiertoken

External Ids for this plan

SHALLinstantiates-canonicalreference

Instantiates FHIR protocol or definition

SHALLpart-ofreference

Part of referenced CarePlan

SHALLparticipant-actorreference

Reference to the participant

SHALLparticipant-functiontoken

The role of the participant

SHALLparticipant-function-actorcomposite

A Participant with a specific function and actor

SHALLpatientreference

Who care plan is for

SHALLstatustoken

draft | active | suspended | completed | entered-in-error | cancelled | unknown

SHALLstatus-history-end-timedate

end time of historic status change

SHALLstatus-history-start-timedate

start time of historic status change

SHALLstatus-history-statustoken

status of historic status change

SHALLstatus-scheduled-statustoken

Scheduled status for status change

SHALLstatus-scheduled-timedate

Scheduled time for status change

SHALLteam-scheduled-timedate

Scheduled time for team change

 
Extended Operations
ConformanceOperationDocumentation
SHALL$validate
SHALL$update-care-teams

The operation modifies the care team assignment of the care plan and all of its sub plans.

SHALL$suggest-care-teams

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.

Resource Conformance: supported CommunicationRequest

Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports update, search-type, vread, read, delete, create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_contentstring

Search the contents of the resource's data using a fulltext search

SHALL_hasstring

Return resources linked to by the given target

SHALL_idtoken

The ID of the resource

SHALL_languagestring

The language of the resource

SHALL_lastUpdateddate

Only return resources which were last updated as specified by the given range

SHALL_profileuri

Search for resources which have the given profile

SHALL_securitytoken

Search for resources which have the given security labels

SHALL_tagtoken

Search for resources which have the given tag

SHALL_textstring

Search the contents of the resource's narrative using a fulltext search

SHALLauthoreddate

When request transitioned to being actionable

SHALLbased-onreference

Fulfills plan or proposal

SHALLcategorytoken

Message category

SHALLencounterreference

Encounter leading to message

SHALLepisodeOfCarereference

Episode leading to message

SHALLgroup-identifiertoken

Composite request this is part of

SHALLidentifiertoken

Unique identifier

SHALLmediumtoken

A channel of communication

SHALLoccurrencedate

When scheduled

SHALLpatientreference

Focus of message

SHALLprioritytoken

Message urgency

SHALLreasonCodetoken

ReasonCode

SHALLrecipientreference

Message recipient

SHALLreplacesreference

Request(s) replaced by this request

SHALLrequesterreference

Individual making the request

SHALLsenderreference

Message sender

SHALLstatustoken

draft | active | suspended | cancelled | completed | entered-in-error | unknown

SHALLsubjectreference

Focus of message

 
Extended Operations
ConformanceOperationDocumentation
SHALL$validate

Resource Conformance: supported Condition

Base System Profile
Condition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports vread, read, patch, create.

Extended Operations
ConformanceOperationDocumentation
SHALL$validate

Resource Conformance: supported Consent

Base System Profile
ehealth-consent
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports update, search-type, vread, read, create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLdatareference

The actual data reference

SHALL_tagtoken

Search for resources which have the given tag

SHALLactorreference

Resource for the actor (or group, by role)

SHALLcategorytoken

Classification of the consent statement - for indexing/retrieval

SHALLidentifiertoken

Identifier for this record (external references)

SHALLpatientreference

Who the consent applies to

SHALLperioddate

Period that this consent applies

SHALLstatustoken

draft | proposed | active | rejected | inactive | entered-in-error

 
Extended Operations
ConformanceOperationDocumentation
SHALL$validate

Resource Conformance: supported EpisodeOfCare

Base System Profile
ehealth-episodeofcare
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, vread, read, patch.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_tagtoken

Search for resources which have the given tag

SHALLconditionreference

Conditions/problems/diagnoses this episode of care is for

SHALLidentifiertoken

Business Identifier(s) relevant for this EpisodeOfCare

SHALLorganizationreference

The organization that has assumed the specific responsibilities of this EpisodeOfCare

SHALLparticipant-actorreference

The reference to the actor

SHALLparticipant-functiontoken

The role of the participant

SHALLparticipant-function-actorcomposite

A Participant with a specific function and actor

SHALLpatientreference

The patient who is the focus of this episode of care

SHALLstatustoken

The current status of the Episode of Care as provided (does not check the status history collection)

SHALLstatus-scheduled-timedate

Scheduled time for status change

SHALLteamreference

The list of practitioners that may be facilitating this episode of care for specific purposes.

SHALLteam-scheduled-timedate

Scheduled time for team change

 
Extended Operations
ConformanceOperationDocumentation
SHALL$validate
SHALL$update-care-teams

Modify the care team assignment of the episode of care and all care plans that has the episode of care as context.

SHALL$is-context-allowed

Checks that it is allowed to set an EpisodeOfCare as context. If the user requesting context is a patient, then the patient input parameter should be specified. If the user requesting context is a practitioner, then the careTeam input parameter should be specified. Throws an exception if it is not allowed to select the Episode Of Care context.

Output

For valid Episode of Care is returned references that cause the Episode of Care to be valid context. For a practitioner, two output parameters will be returned on success:

  • CareTeam: The Careteam that gave access
  • EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam

Resource Conformance: supported Goal

Base System Profile
ehealth-goal
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports update, search-type, vread, read, create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_contentstring

Search the contents of the resource's data using a fulltext search

SHALL_filterstring

Search the contents of the resource's data using a filter

SHALL_hasstring

Return resources linked to by the given target

SHALL_idtoken

The ID of the resource

SHALL_languagestring

The language of the resource

SHALL_lastUpdateddate

Only return resources which were last updated as specified by the given range

SHALL_profileuri

Search for resources which have the given profile

SHALL_securitytoken

Search for resources which have the given security labels

SHALL_sourceuri

Search for resources which have the given source value (Resource.meta.source)

SHALL_tagtoken

Search for resources which have the given tag

SHALL_textstring

Search the contents of the resource's narrative using a fulltext search

SHALLaddressesreference

What the goal addresses

SHALLcategorytoken

E.g. Treatment, dietary, behavioral, etc.

SHALLidentifiertoken

External Ids for this goal

SHALLlifecycle-statustoken

proposed | accepted | planned | in-progress | on-target | ahead-of-target | behind-target | sustaining | achieved | on-hold | cancelled | entered-in-error | rejected

SHALLpatientreference

Who this goal is intended for

SHALLstart-datedate

When goal pursuit begins

SHALLsubjectreference

Who this goal is intended for

SHALLtarget-datedate

Reach goal on or before

 

Resource Conformance: supported OperationDefinition

Base System Profile
OperationDefinition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports read.

Resource Conformance: supported Provenance

Base System Profile
ehealth-provenance
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, vread, read.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLtargetreference

Target Reference(s) (usually version specific)

SHALL_tagtoken

Search for resources which have the given tag

 
Extended Operations
ConformanceOperationDocumentation
SHALL$validate

Resource Conformance: supported ServiceRequest

Base System Profile
ehealth-servicerequest
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports update, vread, read.

Extended Operations
ConformanceOperationDocumentation
SHALL$validate

Operations

Use


Source

{
  "resourceType" : "CapabilityStatement",
  "id" : "careplan",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CapabilityStatement careplan</b></p><a name=\"careplan\"> </a><a name=\"hccareplan\"> </a><a name=\"careplan-da-DK\"> </a><h2 id=\"title\"/><ul><li>Implementation Guide Version: 3.3.0 </li><li>FHIR Version: 4.0.1 </li><li>Supported Formats: <code>application/fhir+xml</code>, <code>xml</code>, <code>application/fhir+json</code>, <code>json</code>, <code>application/x-turtle</code>, <code>ttl</code>, <code>html/json</code>, <code>html/xml</code>, <code>html/turtle</code></li><li>Supported Patch Formats: </li><li>Published on: 2024-10-28 02:03:02+0000 </li><li>Published by: Den telemedicinske infrastruktur (eHealth Infrastructure) </li></ul><blockquote class=\"impl-note\"><p><strong>Note to Implementers: FHIR Capabilities</strong></p><p>Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.</p></blockquote><h2 id=\"rest\">FHIR RESTful Capabilities</h2><div class=\"panel panel-default\"><div class=\"panel-heading\"><h3 id=\"mode1\" class=\"panel-title\">Mode: <code>server</code></h3></div><div class=\"panel-body\"><div class=\"lead\"><em>Summary of System-wide Interactions</em></div><ul><li>Supports the <code>transaction</code>interaction.</li><li>Supports the <code>history-system</code>interaction.</li></ul></div></div><h3 id=\"resourcesCap1\">Capabilities by Resource/Profile</h3><h4 id=\"resourcesSummary1\">Summary</h4><p>The summary table lists the resources that are part of this configuration, and for each resource it lists:</p><ul><li>The relevant profiles (if any)</li><li>The interactions supported by each resource (<b><span class=\"bg-info\">R</span></b>ead, <b><span class=\"bg-info\">S</span></b>earch, <b><span class=\"bg-info\">U</span></b>pdate, and <b><span class=\"bg-info\">C</span></b>reate, are always shown, while <b><span class=\"bg-info\">VR</span></b>ead, <b><span class=\"bg-info\">P</span></b>atch, <b><span class=\"bg-info\">D</span></b>elete, <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">I</span></b>nstance, or <b><span class=\"bg-info\">H</span></b>istory on <b><span class=\"bg-info\">T</span></b>ype are only present if at least one of the resources has support for them.</li><li><span>The required, recommended, and some optional search parameters (if any). </span></li><li>The linked resources enabled for <code>_include</code></li><li>The other resources enabled for <code>_revinclude</code></li><li>The operations on the resource (if any)</li></ul><div class=\"table-responsive\"><table class=\"table table-condensed table-hover\"><thead><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th class=\"text-center\"><b title=\"GET a resource (read interaction)\">R</b></th><th class=\"text-center\"><b title=\"GET past versions of resources (vread interaction)\">V-R</b></th><th class=\"text-center\"><b title=\"GET all set of resources of the type (search interaction)\">S</b></th><th class=\"text-center\"><b title=\"PUT a new resource version (update interaction)\">U</b></th><th class=\"text-center\"><b title=\"PATCH a new resource version (patch interaction)\">P</b></th><th class=\"text-center\"><b title=\"POST a new resource (create interaction)\">C</b></th><th class=\"text-center\"><b title=\"DELETE a resource (delete interaction)\">D</b></th><th><b title=\"Required and recommended search parameters\">Searches</b></th><th><code><b>_include</b></code></th><th><code><b>_revinclude</b></code></th><th><b>Operations</b></th></tr></thead><tbody><tr><td><a href=\"#CarePlan1-1\">CarePlan</a></td><td><a href=\"StructureDefinition-ehealth-careplan.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_id, _lastUpdated, _tag, activity-reference, care-team, category, condition, date, episodeOfCare, goal, identifier, instantiates-canonical, part-of, participant-actor, participant-function, participant-function-actor, patient, status, status-history-end-time, status-history-start-time, status-history-status, status-scheduled-status, status-scheduled-time, team-scheduled-time</td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:part-of</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code>, <code>$update-care-teams</code>, <code>$suggest-care-teams</code></td></tr><tr><td><a href=\"#CommunicationRequest1-2\">CommunicationRequest</a></td><td><a href=\"StructureDefinition-ehealth-communication-request.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td>_content, _has, _id, _language, _lastUpdated, _profile, _security, _tag, _text, authored, based-on, category, encounter, episodeOfCare, group-identifier, identifier, medium, occurrence, patient, priority, reasonCode, recipient, replaces, requester, sender, status, subject</td><td><code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:context</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code></td></tr><tr><td><a href=\"#Condition1-3\">Condition</a></td><td><a href=\"http://hl7.org/fhir/R4/condition.html\">http://hl7.org/fhir/StructureDefinition/Condition</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td></td><td><code>*</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code></td></tr><tr><td><a href=\"#Consent1-4\">Consent</a></td><td><a href=\"StructureDefinition-ehealth-consent.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td>data, _tag, actor, category, identifier, patient, period, status</td><td/><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code></td></tr><tr><td><a href=\"#EpisodeOfCare1-5\">EpisodeOfCare</a></td><td><a href=\"StructureDefinition-ehealth-episodeofcare.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>_tag, condition, identifier, organization, participant-actor, participant-function, participant-function-actor, patient, status, status-scheduled-time, team, team-scheduled-time</td><td><code>EpisodeOfCare:condition</code></td><td><code>CarePlan:episodeOfCare</code></td><td><code>$validate</code>, <code>$update-care-teams</code>, <code>$is-context-allowed</code></td></tr><tr><td><a href=\"#Goal1-6\">Goal</a></td><td><a href=\"StructureDefinition-ehealth-goal.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td>_content, _filter, _has, _id, _language, _lastUpdated, _profile, _security, _source, _tag, _text, addresses, category, identifier, lifecycle-status, patient, start-date, subject, target-date</td><td><code>*</code>, <code>Goal:patient</code>, <code>Goal:subject</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#OperationDefinition1-7\">OperationDefinition</a></td><td><a href=\"http://hl7.org/fhir/R4/operationdefinition.html\">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td><code>*</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td/></tr><tr><td><a href=\"#Provenance1-8\">Provenance</a></td><td><a href=\"StructureDefinition-ehealth-provenance.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td>target, _tag</td><td/><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code></td></tr><tr><td><a href=\"#ServiceRequest1-9\">ServiceRequest</a></td><td><a href=\"StructureDefinition-ehealth-servicerequest.html\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest</a></td><td class=\"text-center\">y</td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\">y</td><td class=\"text-center\"></td><td class=\"text-center\"></td><td class=\"text-center\"></td><td></td><td><code>*</code></td><td><code>CarePlan:activity-reference</code>, <code>CarePlan:care-team</code>, <code>CarePlan:condition</code>, <code>CarePlan:episodeOfCare</code>, <code>CarePlan:goal</code>, <code>CarePlan:instantiates-canonical</code>, <code>CarePlan:part-of</code>, <code>CarePlan:participant-actor</code>, <code>CarePlan:patient</code>, <code>CommunicationRequest:based-on</code>, <code>CommunicationRequest:encounter</code>, <code>CommunicationRequest:episodeOfCare</code>, <code>CommunicationRequest:patient</code>, <code>CommunicationRequest:recipient</code>, <code>CommunicationRequest:replaces</code>, <code>CommunicationRequest:requester</code>, <code>CommunicationRequest:sender</code>, <code>CommunicationRequest:subject</code>, <code>Consent:actor</code>, <code>Consent:data</code>, <code>Consent:patient</code>, <code>EpisodeOfCare:condition</code>, <code>EpisodeOfCare:organization</code>, <code>EpisodeOfCare:participant-actor</code>, <code>EpisodeOfCare:patient</code>, <code>EpisodeOfCare:team</code>, <code>Goal:addresses</code>, <code>Goal:patient</code>, <code>Goal:subject</code>, <code>Provenance:target</code></td><td><code>$validate</code></td></tr></tbody></table></div><hr/><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"CarePlan1-1\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>CarePlan</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-careplan.html\">ehealth-careplan</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_lastUpdated</td><td><code>date</code></td><td><div><p>Only return resources which were last updated as specified by the given range</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>activity-reference</td><td><code>reference</code></td><td><div><p>Activity details defined in specific resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>care-team</td><td><code>reference</code></td><td><div><p>Who's involved in plan?</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>Type of plan</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>condition</td><td><code>reference</code></td><td><div><p>Health issues this plan addresses</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>date</td><td><code>date</code></td><td><div><p>Time period plan covers</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>EpisodeOfCare</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>goal</td><td><code>reference</code></td><td><div><p>Goal of the care plan</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>External Ids for this plan</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>instantiates-canonical</td><td><code>reference</code></td><td><div><p>Instantiates FHIR protocol or definition</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>part-of</td><td><code>reference</code></td><td><div><p>Part of referenced CarePlan</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-actor</td><td><code>reference</code></td><td><div><p>Reference to the participant</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-function</td><td><code>token</code></td><td><div><p>The role of the participant</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-function-actor</td><td><code>composite</code></td><td><div><p>A Participant with a specific function and actor</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Who care plan is for</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>draft | active | suspended | completed | entered-in-error | cancelled | unknown</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-history-end-time</td><td><code>date</code></td><td><div><p>end time of historic status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-history-start-time</td><td><code>date</code></td><td><div><p>start time of historic status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-history-status</td><td><code>token</code></td><td><div><p>status of historic status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-scheduled-status</td><td><code>token</code></td><td><div><p>Scheduled status for status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-scheduled-time</td><td><code>date</code></td><td><div><p>Scheduled time for status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>team-scheduled-time</td><td><code>date</code></td><td><div><p>Scheduled time for team change</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-CarePlanEpisodeOfCare-i-update-care-teams.html\">$update-care-teams</a></td><td><div><p>The operation modifies the care team assignment of the care plan and all of its sub plans.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-CarePlan-i-suggest-care-teams.html\">$suggest-care-teams</a></td><td><div><p>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.</p>\n</div></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"CommunicationRequest1-2\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>CommunicationRequest</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-communication-request.html\">ehealth-communication-request</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>delete</code>, <code>create</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_content</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a fulltext search</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_has</td><td><code>string</code></td><td><div><p>Return resources linked to by the given target</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_language</td><td><code>string</code></td><td><div><p>The language of the resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_lastUpdated</td><td><code>date</code></td><td><div><p>Only return resources which were last updated as specified by the given range</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>uri</code></td><td><div><p>Search for resources which have the given profile</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_security</td><td><code>token</code></td><td><div><p>Search for resources which have the given security labels</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_text</td><td><code>string</code></td><td><div><p>Search the contents of the resource's narrative using a fulltext search</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>authored</td><td><code>date</code></td><td><div><p>When request transitioned to being actionable</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>based-on</td><td><code>reference</code></td><td><div><p>Fulfills plan or proposal</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>Message category</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>encounter</td><td><code>reference</code></td><td><div><p>Encounter leading to message</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>episodeOfCare</td><td><code>reference</code></td><td><div><p>Episode leading to message</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>group-identifier</td><td><code>token</code></td><td><div><p>Composite request this is part of</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Unique identifier</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>medium</td><td><code>token</code></td><td><div><p>A channel of communication</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>occurrence</td><td><code>date</code></td><td><div><p>When scheduled</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Focus of message</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>priority</td><td><code>token</code></td><td><div><p>Message urgency</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>reasonCode</td><td><code>token</code></td><td><div><p>ReasonCode</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>recipient</td><td><code>reference</code></td><td><div><p>Message recipient</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>replaces</td><td><code>reference</code></td><td><div><p>Request(s) replaced by this request</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>requester</td><td><code>reference</code></td><td><div><p>Individual making the request</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>sender</td><td><code>reference</code></td><td><div><p>Message sender</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>draft | active | suspended | cancelled | completed | entered-in-error | unknown</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Focus of message</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Condition1-3\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Condition</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"http://hl7.org/fhir/R4/condition.html\">Condition</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>vread</code>, <code>read</code>, <code>patch</code>, <code>create</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Consent1-4\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Consent</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-consent.html\">ehealth-consent</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>create</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>data</td><td><code>reference</code></td><td><div><p>The actual data reference</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>actor</td><td><code>reference</code></td><td><div><p>Resource for the actor (or group, by role)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>Classification of the consent statement - for indexing/retrieval</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Identifier for this record (external references)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Who the consent applies to</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>period</td><td><code>date</code></td><td><div><p>Period that this consent applies</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>draft | proposed | active | rejected | inactive | entered-in-error</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"EpisodeOfCare1-5\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>EpisodeOfCare</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-episodeofcare.html\">ehealth-episodeofcare</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>patch</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>condition</td><td><code>reference</code></td><td><div><p>Conditions/problems/diagnoses this episode of care is for</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>Business Identifier(s) relevant for this EpisodeOfCare</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>organization</td><td><code>reference</code></td><td><div><p>The organization that has assumed the specific responsibilities of this EpisodeOfCare</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-actor</td><td><code>reference</code></td><td><div><p>The reference to the actor</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-function</td><td><code>token</code></td><td><div><p>The role of the participant</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>participant-function-actor</td><td><code>composite</code></td><td><div><p>A Participant with a specific function and actor</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>The patient who is the focus of this episode of care</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status</td><td><code>token</code></td><td><div><p>The current status of the Episode of Care as provided (does not check the status history collection)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>status-scheduled-time</td><td><code>date</code></td><td><div><p>Scheduled time for status change</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>team</td><td><code>reference</code></td><td><div><p>The list of practitioners that may be facilitating this episode of care for specific purposes.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>team-scheduled-time</td><td><code>date</code></td><td><div><p>Scheduled time for team change</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-CarePlanEpisodeOfCare-i-update-care-teams.html\">$update-care-teams</a></td><td><div><p>Modify the care team assignment of the episode of care and all care plans that has the episode of care as context.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td><a href=\"OperationDefinition-EpisodeOfCare-i-is-context-allowed.html\">$is-context-allowed</a></td><td><div><p>Checks that it is allowed to set an EpisodeOfCare as context.\nIf the user requesting context is a patient, then the patient input parameter should be specified.\nIf the user requesting context is a practitioner, then the careTeam input parameter should be specified.\nThrows an exception if it is not allowed to select the Episode Of Care context.</p>\n<h2>Output</h2>\n<p>For valid Episode of Care is returned references that cause the Episode of Care to be valid context.\nFor a practitioner, two output parameters will be returned on success:</p>\n<ul>\n<li>CareTeam: The Careteam that gave access</li>\n<li>EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam</li>\n</ul>\n</div></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Goal1-6\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Goal</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-goal.html\">ehealth-goal</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>search-type</code>, <code>vread</code>, <code>read</code>, <code>create</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>_content</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a fulltext search</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_filter</td><td><code>string</code></td><td><div><p>Search the contents of the resource's data using a filter</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_has</td><td><code>string</code></td><td><div><p>Return resources linked to by the given target</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_id</td><td><code>token</code></td><td><div><p>The ID of the resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_language</td><td><code>string</code></td><td><div><p>The language of the resource</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_lastUpdated</td><td><code>date</code></td><td><div><p>Only return resources which were last updated as specified by the given range</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_profile</td><td><code>uri</code></td><td><div><p>Search for resources which have the given profile</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_security</td><td><code>token</code></td><td><div><p>Search for resources which have the given security labels</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_source</td><td><code>uri</code></td><td><div><p>Search for resources which have the given source value (Resource.meta.source)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_text</td><td><code>string</code></td><td><div><p>Search the contents of the resource's narrative using a fulltext search</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>addresses</td><td><code>reference</code></td><td><div><p>What the goal addresses</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>category</td><td><code>token</code></td><td><div><p>E.g. Treatment, dietary, behavioral, etc.</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>identifier</td><td><code>token</code></td><td><div><p>External Ids for this goal</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>lifecycle-status</td><td><code>token</code></td><td><div><p>proposed | accepted | planned | in-progress | on-target | ahead-of-target | behind-target | sustaining | achieved | on-hold | cancelled | entered-in-error | rejected</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>patient</td><td><code>reference</code></td><td><div><p>Who this goal is intended for</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>start-date</td><td><code>date</code></td><td><div><p>When goal pursuit begins</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>subject</td><td><code>reference</code></td><td><div><p>Who this goal is intended for</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>target-date</td><td><code>date</code></td><td><div><p>Reach goal on or before</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"OperationDefinition1-7\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>OperationDefinition</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"http://hl7.org/fhir/R4/operationdefinition.html\">OperationDefinition</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>read</code>.</li></ul></div></div><p/></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"Provenance1-8\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>Provenance</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-provenance.html\">ehealth-provenance</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>search-type</code>, <code>vread</code>, <code>read</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-lg-7\"><span class=\"lead\">Search Parameters</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Parameter</th><th>Type</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>target</td><td><code>reference</code></td><td><div><p>Target Reference(s) (usually version specific)</p>\n</div></td></tr><tr><td><b>SHALL</b></td><td>_tag</td><td><code>token</code></td><td><div><p>Search for resources which have the given tag</p>\n</div></td></tr></tbody></table></div><div class=\"col-lg-5\">�</div></div><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><div class=\"panel panel-default\"><div class=\"panel-heading\"><h4 id=\"ServiceRequest1-9\" class=\"panel-title\"><span style=\"float: right;\">Resource Conformance: supported </span>ServiceRequest</h4></div><div class=\"panel-body\"><div class=\"container\"><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Base System Profile</span><br/><a href=\"StructureDefinition-ehealth-servicerequest.html\">ehealth-servicerequest</a></div><div class=\"col-lg-3\"><span class=\"lead\">Profile Conformance</span><br/><b>SHALL</b></div><div class=\"col-lg-3\"><span class=\"lead\">Reference Policy</span><br/></div></div><p/><div class=\"row\"><div class=\"col-lg-6\"><span class=\"lead\">Interaction summary</span><br/><ul><li>Supports <code>update</code>, <code>vread</code>, <code>read</code>.</li></ul></div></div><p/><div class=\"row\"><div class=\"col-12\"><span class=\"lead\">Extended Operations</span><table class=\"table table-condensed table-hover\"><thead><tr><th>Conformance</th><th>Operation</th><th>Documentation</th></tr></thead><tbody><tr><td><b>SHALL</b></td><td>$validate</td><td><div/></td></tr></tbody></table></div></div></div></div></div><h3 id=\"operationsCap1\">Operations</h3><h4 id=\"operationsSummary1\">Use</h4></div>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/CapabilityStatement/careplan",
  "version" : "3.3.0",
  "name" : "careplan",
  "status" : "active",
  "date" : "2024-10-28T02:03:02.540+00:00",
  "publisher" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
  "contact" : [
    {
      "name" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://ehealth.sundhed.dk"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "DK",
          "display" : "Denmark"
        }
      ]
    }
  ],
  "kind" : "instance",
  "software" : {
    "name" : "careplan",
    "version" : "1.21.0"
  },
  "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:part-of"
          ],
          "searchRevInclude" : [
            "CarePlan:activity-reference",
            "CarePlan:care-team",
            "CarePlan:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "EpisodeOfCare:patient",
            "EpisodeOfCare:team",
            "Goal:addresses",
            "Goal:patient",
            "Goal:subject",
            "Provenance:target"
          ],
          "searchParam" : [
            {
              "name" : "_id",
              "type" : "token",
              "documentation" : "The ID of the resource"
            },
            {
              "name" : "_lastUpdated",
              "type" : "date",
              "documentation" : "Only return resources which were last updated as specified by the given range"
            },
            {
              "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" : "condition",
              "type" : "reference",
              "documentation" : "Health issues this plan addresses"
            },
            {
              "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" : "instantiates-canonical",
              "type" : "reference",
              "documentation" : "Instantiates FHIR protocol or definition"
            },
            {
              "name" : "part-of",
              "type" : "reference",
              "documentation" : "Part of referenced CarePlan"
            },
            {
              "name" : "participant-actor",
              "type" : "reference",
              "documentation" : "Reference to the participant"
            },
            {
              "name" : "participant-function",
              "type" : "token",
              "documentation" : "The role of the participant"
            },
            {
              "name" : "participant-function-actor",
              "type" : "composite",
              "documentation" : "A Participant with a specific function and actor"
            },
            {
              "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-history-end-time",
              "type" : "date",
              "documentation" : "end time of historic status change"
            },
            {
              "name" : "status-history-start-time",
              "type" : "date",
              "documentation" : "start time of historic status change"
            },
            {
              "name" : "status-history-status",
              "type" : "token",
              "documentation" : "status of historic status change"
            },
            {
              "name" : "status-scheduled-status",
              "type" : "token",
              "documentation" : "Scheduled status for status change"
            },
            {
              "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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" : "participant-actor",
              "type" : "reference",
              "documentation" : "The reference to the actor"
            },
            {
              "name" : "participant-function",
              "type" : "token",
              "documentation" : "The role of the participant"
            },
            {
              "name" : "participant-function-actor",
              "type" : "composite",
              "documentation" : "A Participant with a specific function and actor"
            },
            {
              "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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:condition",
            "CarePlan:episodeOfCare",
            "CarePlan:goal",
            "CarePlan:instantiates-canonical",
            "CarePlan:part-of",
            "CarePlan:participant-actor",
            "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:participant-actor",
            "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. Whether the ServiceRequest is included when Extra paremeter is set to true, is based on the ServiceRequest.includeAsExtra field.\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 * Extra: The service request may be performed outside the resolved timing.\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" : "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"
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.