eHealth Infrastructure
2.5.0 - release

eHealth Infrastructure - Local Development build (v2.5.0). See the Directory of published versions

: careplan - TTL Representation

Active as of 2022-10-11

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "careplan"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>careplan</h2><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td>y</td></tr><tr><td>System History</td><td>y</td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET past versions of resources (vread interaction)\">V-Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"PATCH a new resource version (patch interaction)\">Patch</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th><th><b title=\"DELETE a resource (delete interaction)\">Delete</b></th></tr><tr><td>CarePlan</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td></tr><tr><td>CommunicationRequest</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td>y</td></tr><tr><td>Condition</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/Condition\">http://hl7.org/fhir/StructureDefinition/Condition</a></td><td>y</td><td>y</td><td></td><td></td><td>y</td><td>y</td><td></td></tr><tr><td>Consent</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td></tr><tr><td>EpisodeOfCare</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare</a></td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td><td></td></tr><tr><td>Goal</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td></td><td>y</td><td></td></tr><tr><td>OperationDefinition</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/OperationDefinition\">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a></td><td>y</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Provenance</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance</a></td><td>y</td><td>y</td><td>y</td><td></td><td></td><td></td><td></td></tr><tr><td>ServiceRequest</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest</a></td><td>y</td><td>y</td><td></td><td>y</td><td></td><td></td><td></td></tr></table></div>"
  ];
  fhir:CapabilityStatement.url [ fhir:value "http://ehealth.sundhed.dk/fhir/CapabilityStatement/careplan"];
  fhir:CapabilityStatement.version [ fhir:value "2.5.0"];
  fhir:CapabilityStatement.name [ fhir:value "careplan"];
  fhir:CapabilityStatement.status [ fhir:value "active"];
  fhir:CapabilityStatement.date [ fhir:value "2022-10-11T03:11:19.288+00:00"^^xsd:dateTime];
  fhir:CapabilityStatement.publisher [ fhir:value "Systematic | Trifork"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Systematic | Trifork" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://ehealth.sundhed.dk" ]     ]
  ];
  fhir:CapabilityStatement.kind [ fhir:value "instance"];
  fhir:CapabilityStatement.software [
     fhir:CapabilityStatement.software.name [ fhir:value "careplan" ];
     fhir:CapabilityStatement.software.version [ fhir:value "1.14.4" ]
  ];
  fhir:CapabilityStatement.implementation [
     fhir:CapabilityStatement.implementation.description [ fhir:value "eHealth careplan service" ];
     fhir:CapabilityStatement.implementation.url [ fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir" ]
  ];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"];
  fhir:CapabilityStatement.format [
     fhir:value "application/fhir+xml";
     fhir:index 0
  ], [
     fhir:value "xml";
     fhir:index 1
  ], [
     fhir:value "application/fhir+json";
     fhir:index 2
  ], [
     fhir:value "json";
     fhir:index 3
  ], [
     fhir:value "application/x-turtle";
     fhir:index 4
  ], [
     fhir:value "ttl";
     fhir:index 5
  ], [
     fhir:value "html/json";
     fhir:index 6
  ], [
     fhir:value "html/xml";
     fhir:index 7
  ], [
     fhir:value "html/turtle";
     fhir:index 8
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CarePlan" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalUpdate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 1       ], [
         fhir:value "CarePlan:goal";
         fhir:index 2       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 3       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "activity-reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Activity details defined in specific resource" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "care-team" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who's involved in plan?" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Type of plan" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Time period plan covers" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "episodeOfCare" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "EpisodeOfCare" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "goal" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Goal of the care plan" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "External Ids for this plan" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "part-of" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Part of referenced CarePlan" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who care plan is for" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "draft | active | suspended | completed | entered-in-error | cancelled | unknown" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status-scheduled-time" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Scheduled time for status change" ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "team-scheduled-time" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Scheduled time for team change" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "update-care-teams" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "The operation modifies the care team assignment of the care plan and all of its sub plans." ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "suggest-care-teams" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlan-i-suggest-care-teams";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlan-i-suggest-care-teams>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "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." ]       ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "CommunicationRequest" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-request>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalCreate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.conditionalUpdate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 0       ], [
         fhir:value "CommunicationRequest:context";
         fhir:index 1       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_content" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search the contents of the resource's data using a fulltext search" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_has" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_language" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The language of the resource" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_lastUpdated" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Only return resources which were last updated as specified by the given range" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_profile" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "uri" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given profile" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_security" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given security labels" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_text" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search the contents of the resource's narrative using a fulltext search" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "authored" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "When request transitioned to being actionable" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "based-on" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Fulfills plan or proposal" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Message category" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "encounter" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Encounter leading to message" ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "episodeOfCare" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Episode leading to message" ]       ], [
         fhir:index 14;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "group-identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Composite request this is part of" ]       ], [
         fhir:index 15;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Unique identifier" ]       ], [
         fhir:index 16;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "medium" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "A channel of communication" ]       ], [
         fhir:index 17;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "occurrence" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "When scheduled" ]       ], [
         fhir:index 18;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Focus of message" ]       ], [
         fhir:index 19;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "priority" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Message urgency" ]       ], [
         fhir:index 20;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "reasonCode" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "ReasonCode" ]       ], [
         fhir:index 21;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "recipient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Message recipient" ]       ], [
         fhir:index 22;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "replaces" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Request(s) replaced by this request" ]       ], [
         fhir:index 23;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "requester" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Individual making the request" ]       ], [
         fhir:index 24;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "sender" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Message sender" ]       ], [
         fhir:index 25;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "draft | active | suspended | cancelled | completed | entered-in-error | unknown" ]       ], [
         fhir:index 26;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Focus of message" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Condition" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalCreate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "*";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ]     ], [
       fhir:index 3;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Consent" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalCreate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.conditionalUpdate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "data" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The actual data reference" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "actor" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Resource for the actor (or group, by role)" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Classification of the consent statement - for indexing/retrieval" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Identifier for this record (external references)" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who the consent applies to" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "period" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Period that this consent applies" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "draft | proposed | active | rejected | inactive | entered-in-error" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ]     ], [
       fhir:index 4;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "EpisodeOfCare" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "patch" ]       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "condition" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Conditions/problems/diagnoses this episode of care is for" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Business Identifier(s) relevant for this EpisodeOfCare" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "organization" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The organization that has assumed the specific responsibilities of this EpisodeOfCare" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The patient who is the focus of this episode of care" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The current status of the Episode of Care as provided (does not check the status history collection)" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status-scheduled-time" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Scheduled time for status change" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "team" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The list of practitioners that may be facilitating this episode of care for specific purposes." ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "team-scheduled-time" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Scheduled time for team change" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "update-care-teams" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/CarePlanEpisodeOfCare-i-update-care-teams>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Modify the care team assignment of the episode of care and all care plans that has the episode of care as context." ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "is-context-allowed" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed>         ];
         fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "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" ]       ]     ], [
       fhir:index 5;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Goal" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-goal>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalCreate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.conditionalUpdate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "*";
         fhir:index 0       ], [
         fhir:value "Goal:patient";
         fhir:index 1       ], [
         fhir:value "Goal:subject";
         fhir:index 2       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_content" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search the contents of the resource's data using a fulltext search" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_filter" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search the contents of the resource's data using a filter" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_has" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Return resources linked to by the given target" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The ID of the resource" ]       ], [
         fhir:index 4;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_language" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "The language of the resource" ]       ], [
         fhir:index 5;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_lastUpdated" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Only return resources which were last updated as specified by the given range" ]       ], [
         fhir:index 6;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_profile" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "uri" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given profile" ]       ], [
         fhir:index 7;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_security" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given security labels" ]       ], [
         fhir:index 8;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_source" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "uri" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given source value (Resource.meta.source)" ]       ], [
         fhir:index 9;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ], [
         fhir:index 10;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_text" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "string" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search the contents of the resource's narrative using a fulltext search" ]       ], [
         fhir:index 11;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "addresses" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "What the goal addresses" ]       ], [
         fhir:index 12;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "category" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "E.g. Treatment, dietary, behavioral, etc." ]       ], [
         fhir:index 13;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "External Ids for this goal" ]       ], [
         fhir:index 14;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "lifecycle-status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "proposed | accepted | planned | in-progress | on-target | ahead-of-target | behind-target | sustaining | achieved | on-hold | cancelled | entered-in-error | rejected" ]       ], [
         fhir:index 15;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "patient" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who this goal is intended for" ]       ], [
         fhir:index 16;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "start-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "When goal pursuit begins" ]       ], [
         fhir:index 17;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "subject" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Who this goal is intended for" ]       ], [
         fhir:index 18;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "target-date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "date" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Reach goal on or before" ]       ]     ], [
       fhir:index 6;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "OperationDefinition" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/OperationDefinition";
         fhir:link <http://hl7.org/fhir/StructureDefinition/OperationDefinition>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "*";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ]     ], [
       fhir:index 7;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Provenance" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "target" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Target Reference(s) (usually version specific)" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "_tag" ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement.rest.resource.searchParam.documentation [ fhir:value "Search for resources which have the given tag" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ]     ], [
       fhir:index 8;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "ServiceRequest" ];
       fhir:CapabilityStatement.rest.resource.profile [
         fhir:value "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest";
         fhir:link <http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ];
       fhir:CapabilityStatement.rest.resource.conditionalUpdate [ fhir:value "true"^^xsd:boolean ];
       fhir:CapabilityStatement.rest.resource.searchInclude [
         fhir:value "*";
         fhir:index 0       ];
       fhir:CapabilityStatement.rest.resource.searchRevInclude [
         fhir:value "CarePlan:activity-reference";
         fhir:index 0       ], [
         fhir:value "CarePlan:care-team";
         fhir:index 1       ], [
         fhir:value "CarePlan:episodeOfCare";
         fhir:index 2       ], [
         fhir:value "CarePlan:goal";
         fhir:index 3       ], [
         fhir:value "CarePlan:part-of";
         fhir:index 4       ], [
         fhir:value "CarePlan:patient";
         fhir:index 5       ], [
         fhir:value "CommunicationRequest:based-on";
         fhir:index 6       ], [
         fhir:value "CommunicationRequest:encounter";
         fhir:index 7       ], [
         fhir:value "CommunicationRequest:episodeOfCare";
         fhir:index 8       ], [
         fhir:value "CommunicationRequest:patient";
         fhir:index 9       ], [
         fhir:value "CommunicationRequest:recipient";
         fhir:index 10       ], [
         fhir:value "CommunicationRequest:replaces";
         fhir:index 11       ], [
         fhir:value "CommunicationRequest:requester";
         fhir:index 12       ], [
         fhir:value "CommunicationRequest:sender";
         fhir:index 13       ], [
         fhir:value "CommunicationRequest:subject";
         fhir:index 14       ], [
         fhir:value "Consent:actor";
         fhir:index 15       ], [
         fhir:value "Consent:data";
         fhir:index 16       ], [
         fhir:value "Consent:patient";
         fhir:index 17       ], [
         fhir:value "EpisodeOfCare:condition";
         fhir:index 18       ], [
         fhir:value "EpisodeOfCare:organization";
         fhir:index 19       ], [
         fhir:value "EpisodeOfCare:patient";
         fhir:index 20       ], [
         fhir:value "EpisodeOfCare:team";
         fhir:index 21       ], [
         fhir:value "Goal:addresses";
         fhir:index 22       ], [
         fhir:value "Goal:patient";
         fhir:index 23       ], [
         fhir:value "Goal:subject";
         fhir:index 24       ], [
         fhir:value "Provenance:target";
         fhir:index 25       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "validate" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate";
           fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate>         ]       ]     ];
     fhir:CapabilityStatement.rest.interaction [
       fhir:index 0;
       fhir:CapabilityStatement.rest.interaction.code [ fhir:value "transaction" ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.interaction.code [ fhir:value "history-system" ]     ];
     fhir:CapabilityStatement.rest.operation [
       fhir:index 0;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "get-patient-procedures" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-patient-procedures";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-patient-procedures>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "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 two optional inputs: a list of reference(s) to EpisodeOfCare and a list of Codings for Condition.\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, but either of EpisodeOfCare or Condition codes must be provided. 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, but either of EpisodeOfCare or Condition codes must be provided. 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## Output\r\nFor valid inputs, the server will compute and return a Bundle. The Bundle contains a Parameters resource with resolved measurement regimes and associated counts of measurement submitted and counts expected. Such counts are also included in the Parameters structure when the measurement regime is either adhoc or unresolved. In addition, the Bundle contains CarePlan and ServiceRequest referenced in the Parameters. The Bundle can contain an OperationOutcome describing any encountered warnings.\r\n### Output Parameters\r\nThe output contains rows (encoded in parameters) for each matching and active ServiceRequest with resolved timings overlapping with the requested period. \r\n\r\nRows are represented as Parameters.parameter with names: item_1, item_2, etc. Columns are represented as Parameters.parameter.part with name and value \r\n```\r\nExample:\r\n'resource': {\r\n    'resourceType': 'Parameters',\r\n    'parameter': [{\r\n            'name': 'item_1',\r\n            'part': [{\r\n                    'name': 'CarePlan',\r\n                    'valueReference': {\r\n                        'reference': 'https://careplan.devtest.systematic-ehealth.com/fhir/CarePlan/164581'\r\n                    }\r\n            }]\r\n    }]\r\n}\r\n ```\r\n\r\n### Columns\r\n\r\n- CarePlan: Reference to the CarePlan that the ServiceRequest belongs to.\r\n- ServiceRequest: Reference to the ServiceRequest.\r\n- ServiceRequestVersionId: The version of the ServiceRequest (version specified at time of submit-measurement or the current version (for expected activities)).\r\n- Activity: Description of the planned activity.\r\n- ResolvedTimingStart: A planned start time for the activity in the requested period.\r\n- ResolvedTimingEnd: A planned end time for the activity in the requested period. May be identical to start if no duration is specified in the measurement regime.\r\n- TotalSubmitted: The number of measurements already submitted for this ServiceRequest and resolved timing.\r\n- SubmittedTimely: The number of measurements where the measurement time matches the resolved timing.\r\n- TimingType:\r\n    * Resolved: a measurement regime that is supported by the infrastructure and where resolved timing and requested number of measurements can be calculated.\r\n    * Unresolved: a measurement regime that is not supported by the infrastructure. Resolved Timing Start, end, submitted timely and Occurrences requested will be empty.\r\n    * Adhoc: A ServiceRequest without a measurement regime or a measurement regime stating ad-hoc.\r\n- OccurencesRequested: Expected number of measurements." ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "create-episode-of-care" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-create-episode-of-care";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-create-episode-of-care>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "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." ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "apply" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-apply";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-apply>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "This operation creates a careplan for a specific episodeOfCare using this PlanDefinition as a template." ]     ], [
       fhir:index 3;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "meta" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta>       ]     ], [
       fhir:index 4;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "get-resource-counts" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Provides the number of resources currently stored on the server, broken down by resource type" ]     ], [
       fhir:index 5;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "reindex-terminology" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology>       ]     ], [
       fhir:index 6;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "process-message" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Accept a FHIR Message Bundle for processing" ]     ], [
       fhir:index 7;
       fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "perform-reindexing-pass" ];
       fhir:CapabilityStatement.rest.resource.operation.definition [
         fhir:value "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass";
         fhir:link <https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass>       ];
       fhir:CapabilityStatement.rest.resource.operation.documentation [ fhir:value "Forces a single pass of the resource reindexing processor" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.