plan
type: CapabilityStatement
node role: treeRoot
id:
  v: plan
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: CapabilityStatement plan Implementation Guide Version: 8.0.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 Published on: 2026-01-13 11:12:47+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. This CapabilityStatement instantiates the CapabilityStatement http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data FHIR RESTful Capabilities Mode: server Summary of System-wide Operations Conformance Operation Documentation SHALL $reindex SHALL $migrate Data migration SHALL $export-poll-status Operation for polling the status of a previously initiated FHIR Bulk Data System Level Export. A complete URL including the '_jobId' is returned in the 'Content-Location' response header when initiating the export. A 'GET' request to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk data files. A 'DELETE' request can be used to cancel the export. If the export has already finished, the delete will return '404 Not Found', else the export job will be cancelled and a '202 Accepted' is returned with an operation outcome response. Parameters _jobId: the job ID for the Bulk Export job which was returned in the 'Content-Location' header when initiating the export SHALL $export FHIR Operation to initiate an export of data from a FHIR server. The type of resources returned can be restricted using the '_type' parameter, and the '_…
url:
  v: http://ehealth.sundhed.dk/fhir/CapabilityStatement/plan
  l: plan
version:
  v: 8.0.0
name:
  v: plan
status:
  v: active
date:
  v: 2026-01-13T11:12:47.537+00:00
publisher:
  v: Den telemedicinske infrastruktur (eHealth Infrastructure)
contact:
  name:
    v: Den telemedicinske infrastruktur (eHealth Infrastructure)
  telecom:
    system:
      v: url
    value:
      v: http://ehealth.sundhed.dk
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: DK
    display:
      v: Denmark
kind:
  v: instance
instantiates:
  v: http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data
  l: bulk-data
software:
  name:
    v: plan
  version:
    v: 2.16.0
implementation:
  description:
    v: eHealth plan service
  url:
    v: https://plan.devtest.systematic-ehealth.com/fhir
    l: fhir
fhir version:
  v: 4.0.1
format:
  v: application/fhir+xml
format:
  v: xml
format:
  v: application/fhir+json
format:
  v: json
format:
  v: application/x-turtle
format:
  v: ttl
format:
  v: html/json
format:
  v: html/xml
format:
  v: html/turtle
rest:
  mode:
    v: server
  resource:
    type:
      v: ActivityDefinition
    profile:
      v: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-activitydefinition
      l: ehealth-activitydefinition
    interaction:
      code:
        v: update
    interaction:
      code:
        v: search-type
    interaction:
      code:
        v: vread
    interaction:
      code:
        v: read
    interaction:
      code:
        v: create
    conditional create:
      v: true
    conditional update:
      v: true
    search include:
      v: ActivityDefinition:composed-of
    search include:
      v: ActivityDefinition:depends-on
    search include:
      v: ActivityDefinition:derived-from
    search include:
      v: ActivityDefinition:predecessor
    search include:
      v: ActivityDefinition:successor
    search rev include:
      v: ActivityDefinition:composed-of
    search rev include:
      v: ActivityDefinition:depends-on
    search rev include:
      v: ActivityDefinition:derived-from
    search rev include:
      v: ActivityDefinition:intendedAudience
    search rev include:
      v: ActivityDefinition:modifier_role_reference
    search rev include:
      v: ActivityDefinition:predecessor
    search rev include:
      v: ActivityDefinition:successor
    search rev include:
      v: DocumentReference:authenticator
    search rev include:
      v: DocumentReference:author
    search rev include:
      v: DocumentReference:custodian
    search rev include:
      v: DocumentReference:encounter
    search rev include:
      v: DocumentReference:intendedOrganization
    search rev include:
      v: DocumentReference:modifier_role_reference
    search rev include:
      v: DocumentReference:patient
    search rev include:
      v: DocumentReference:related
    search rev include:
      v: DocumentReference:relatesto
    search rev include:
      v: DocumentReference:subject
    search rev include:
      v: PlanDefinition:composed-of
    search rev include:
      v: PlanDefinition:definition
    search rev include:
      v: PlanDefinition:depends-on
    search rev include:
      v: PlanDefinition:derived-from
    search rev include:
      v: PlanDefinition:documentation
    search rev include:
      v: PlanDefinition:intendedAudience
    search rev include:
      v: PlanDefinition:modifier_role_reference
    search rev include:
      v: PlanDefinition:predecessor
    search rev include:
      v: PlanDefinition:successor
    search param:
      name:
        v: _content
      type:
        v: string
      documentation:
        v: Search the contents of the resource's data using a fulltext search
    search param:
      name:
        v: _has
      type:
        v: string
      documentation:
        v: Return resources linked to by the given target
    search param:
      name:
        v: _id
      type:
        v: token
      documentation:
        v: The ID of the resource
    search param:
      name:
        v: _language
      type:
        v: string
      documentation:
        v: The language of the resource
    search param:
      name:
        v: _lastUpdated
      type:
        v: date
      documentation:
        v: Only return resources which were last updated as specified by the given range
    search param:
      name:
        v: _profile

v: uri

v: Search for resources which have the given profile

name:
  v: _security
type:
  v: token
documentation:
  v: Search for resources which have the given security labels

name:
  v: _source
type:
  v: uri
documentation:
  v: Search for resources which have the given source value (Resource.meta.source)

name:
  v: _tag
type:
  v: token
documentation:
  v: Search for resources which have the given tag

name:
  v: _text
type:
  v: string
documentation:
  v: Search the contents of the resource's narrative using a fulltext search

name:
  v: base
type:
  v: token
documentation:
  v: Base of resource

name:
  v: baseEnvironment
type:
  v: token
documentation:
  v: Base Environment of resource

name:
  v: composed-of
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: context
type:
  v: token
documentation:
  v: A use context assigned to the activity definition

name:
  v: context-quantity
type:
  v: quantity
documentation:
  v: A quantity- or range-valued use context assigned to the activity definition

name:
  v: context-type
type:
  v: token
documentation:
  v: A type of use context assigned to the activity definition

name:
  v: context-type-value
type:
  v: composite
documentation:
  v: A use context type and value assigned to the activity definition

name:
  v: date
type:
  v: date
documentation:
  v: The activity definition publication date

name:
  v: depends-on
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: derived-from
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: description
type:
  v: string
documentation:
  v: The description of the activity definition

name:
  v: effective
type:
  v: date
documentation:
  v: The time during which the activity definition is intended to be in use

name:
  v: ehealthPredecessor
type:
  v: token
documentation:
  v: Predecessor of resource

name:
  v: employeeTitle
type:
  v: string
documentation:
  v: Title intented for clinicians

name:
  v: identifier
type:
  v: token
documentation:
  v: External identifier for the activity definition

name:
  v: intendedAudience
type:
  v: reference
documentation:
  v: The intended audience of the plan definition

name:
  v: jurisdiction
type:
  v: token
documentation:
  v: Intended jurisdiction for the activity definition

name:
  v: modifier_role_reference
type:
  v: reference
documentation:
  v: Reference to either Organization, CareTeam, Practitioner

name:
  v: modifier_role_role
type:
  v: token
documentation:
  v: Role of Organization, CareTeam, Practitioner

name:
  v: name
type:
  v: string
documentation:
  v: Computationally friendly name of the activity definition

name:
  v: predecessor
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: publisher
type:
  v: string
documentation:
  v: Name of the publisher of the activity definition

name:
  v: recommendation
type:
  v: token
documentation:
  v: Recommendation for the plan definition

name:
  v: status
type:
  v: token
documentation:
  v: The current status of the activity definition

name:
  v: successor
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: title
type:
  v: string
documentation:
  v: The human-friendly name of the activity definition

name:
  v: topic
type:
  v: token
documentation:
  v: Topics associated with the module

name:
  v: url
type:
  v: uri
documentation:
  v: The uri that identifies the activity definition

name:
  v: version
type:
  v: token
documentation:
  v: The business version of the activity definition

name:
  v: validate
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate
  l: Multi-it-validate

name:
  v: create-clone
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone
  l: ActivityDefinitionPlanDefinition-i-create-clone
documentation:
  v: ### Input - resourceId: reference to the ActivityDefinition resource that should be cloned - clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation - default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned - deep-clone-references: References to resources to create as new resources rather than referencing the existing ones. ### Output Bundle containing all resources that were created during the operation. ### Validation - New business versions require that the user has modifier-role: owner or co-author for the resource - New copy does not require that the user has a modifier-role. - New business version can be made only when no draft resource exists (having identical base identifier). - Read/search/create privileges are required for the resource types affected by $create-clone

type:
  v: Binary
profile:
  v: http://hl7.org/fhir/StructureDefinition/Binary
  l: Binary
interaction:
  code:
    v: vread
interaction:
  code:
    v: read
search include:
  v: *
search rev include:
  v: ActivityDefinition:composed-of
search rev include:
  v: ActivityDefinition:depends-on
search rev include:
  v: ActivityDefinition:derived-from
search rev include:
  v: ActivityDefinition:intendedAudience
search rev include:
  v: ActivityDefinition:modifier_role_reference
search rev include:
  v: ActivityDefinition:predecessor
search rev include:
  v: ActivityDefinition:successor
search rev include:
  v: DocumentReference:authenticator
search rev include:
  v: DocumentReference:author
search rev include:
  v: DocumentReference:custodian
search rev include:
  v: DocumentReference:encounter
search rev include:
  v: DocumentReference:intendedOrganization
search rev include:
  v: DocumentReference:modifier_role_reference
search rev include:
  v: DocumentReference:patient
search rev include:
  v: DocumentReference:related
search rev include:
  v: DocumentReference:relatesto
search rev include:
  v: DocumentReference:subject
search rev include:
  v: PlanDefinition:composed-of
search rev include:
  v: PlanDefinition:definition
search rev include:
  v: PlanDefinition:depends-on
search rev include:
  v: PlanDefinition:derived-from
search rev include:
  v: PlanDefinition:documentation
search rev include:
  v: PlanDefinition:intendedAudience
search rev include:
  v: PlanDefinition:modifier_role_reference
search rev include:
  v: PlanDefinition:predecessor
search rev include:
  v: PlanDefinition:successor

type:
  v: DocumentReference
profile:
  v: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference
  l: ehealth-documentreference
interaction:
  code:
    v: update
interaction:
  code:
    v: search-type
interaction:
  code:
    v: vread
interaction:
  code:
    v: read
interaction:
  code:
    v: create
conditional create:
  v: true
conditional update:
  v: true
search include:
  v: *
search include:
  v: DocumentReference:authenticator
search include:
  v: DocumentReference:author
search include:
  v: DocumentReference:custodian
search include:
  v: DocumentReference:encounter
search include:
  v: DocumentReference:intendedOrganization
search include:
  v: DocumentReference:modifier_role_reference
search include:
  v: DocumentReference:patient
search include:
  v: DocumentReference:related
search include:
  v: DocumentReference:relatesto
search include:
  v: DocumentReference:subject
search rev include:
  v: ActivityDefinition:composed-of
search rev include:
  v: ActivityDefinition:depends-on
search rev include:
  v: ActivityDefinition:derived-from
search rev include:
  v: ActivityDefinition:intendedAudience
search rev include:
  v: ActivityDefinition:modifier_role_reference
search rev include:
  v: ActivityDefinition:predecessor
search rev include:
  v: ActivityDefinition:successor
search rev include:
  v: DocumentReference:authenticator
search rev include:
  v: DocumentReference:author
search rev include:
  v: DocumentReference:custodian
search rev include:
  v: DocumentReference:encounter
search rev include:
  v: DocumentReference:intendedOrganization
search rev include:
  v: DocumentReference:modifier_role_reference
search rev include:
  v: DocumentReference:patient
search rev include:
  v: DocumentReference:related
search rev include:
  v: DocumentReference:relatesto
search rev include:
  v: DocumentReference:subject
search rev include:
  v: PlanDefinition:composed-of
search rev include:
  v: PlanDefinition:definition
search rev include:
  v: PlanDefinition:depends-on
search rev include:
  v: PlanDefinition:derived-from
search rev include:
  v: PlanDefinition:documentation
search rev include:
  v: PlanDefinition:intendedAudience
search rev include:
  v: PlanDefinition:modifier_role_reference
search rev include:
  v: PlanDefinition:predecessor
search rev include:
  v: PlanDefinition:successor
search param:
  name:
    v: _content
  type:
    v: string
  documentation:
    v: Search the contents of the resource's data using a fulltext search
search param:
  name:
    v: _filter
  type:
    v: string
  documentation:
    v: Search the contents of the resource's data using a filter
search param:
  name:
    v: _has
  type:
    v: string
  documentation:
    v: Return resources linked to by the given target
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _language
  type:
    v: string
  documentation:
    v: The language of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
  documentation:
    v: Only return resources which were last updated as specified by the given range
search param:
  name:
    v: _profile
  type:
    v: uri
  documentation:
    v: Search for resources which have the given profile
search param:
  name:
    v: _security
  type:
    v: token
  documentation:
    v: Search for resources which have the given security labels
search param:
  name:
    v: _source
  type:
    v: uri
  documentation:
    v: Search for resources which have the given source value (Resource.meta.source)
search param:
  name:
    v: _tag
  type:
    v: token
  documentation:
    v: Search for resources which have the given tag
search param:
  name:
    v: _text
  type:
    v: string
  documentation:
    v: Search the contents of the resource's narrative using a fulltext search
search param:
  name:
    v: authenticator
  type:
    v: reference
  documentation:
    v: Who/what authenticated the document
search param:
  name:
    v: author
  type:
    v: reference
  documentation:
    v: Who and/or what authored the document
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Categorization of document
search param:
  name:
    v: contenttype
  type:
    v: token

v: Mime type of the content, with charset etc.

name:
  v: custodian
type:
  v: reference
documentation:
  v: Organization which maintains the document

name:
  v: date
type:
  v: date
documentation:
  v: When this document reference was created

name:
  v: description
type:
  v: string
documentation:
  v: Human-readable description

name:
  v: encounter
type:
  v: reference
documentation:
  v: Context of the document content

name:
  v: event
type:
  v: token
documentation:
  v: Main clinical acts documented

name:
  v: facility
type:
  v: token
documentation:
  v: Kind of facility where patient was seen

name:
  v: format
type:
  v: token
documentation:
  v: Format/content rules for the document

name:
  v: identifier
type:
  v: token
documentation:
  v: Master Version Specific Identifier

name:
  v: intendedOrganization
type:
  v: reference
documentation:
  v: The Organization which is intended to use the DocumentReference

name:
  v: language
type:
  v: token
documentation:
  v: Human language of the content (BCP-47)

name:
  v: location
type:
  v: uri
documentation:
  v: Uri where the data can be found

name:
  v: modifier_role_reference
type:
  v: reference
documentation:
  v: Reference to modifier Organization

name:
  v: modifier_role_role
type:
  v: token
documentation:
  v: Role of Organization related to modification of the DocumentReference

name:
  v: patient
type:
  v: reference
documentation:
  v: Who/what is the subject of the document

name:
  v: period
type:
  v: date
documentation:
  v: Time of service that is being documented

name:
  v: related
type:
  v: reference
documentation:
  v: Related identifiers or resources

name:
  v: relatesto
type:
  v: reference
documentation:
  v: Target of the relationship

name:
  v: relation
type:
  v: token
documentation:
  v: replaces | transforms | signs | appends

name:
  v: relationship
type:
  v: composite
documentation:
  v: Combination of relation and relatesTo

name:
  v: security-label
type:
  v: token
documentation:
  v: Document security-tags

name:
  v: setting
type:
  v: token
documentation:
  v: Additional details about where the content was created (e.g. clinical specialty)

name:
  v: status
type:
  v: token
documentation:
  v: current | superseded | entered-in-error

name:
  v: subject
type:
  v: reference
documentation:
  v: Who/what is the subject of the document

name:
  v: type
type:
  v: token
documentation:
  v: Kind of document (LOINC if possible)

name:
  v: use-context-context
type:
  v: token
documentation:
  v: A use context assigned to the DocumentReference

name:
  v: use-context-context-type
type:
  v: token
documentation:
  v: A type of use context assigned to the DocumentReference

name:
  v: use-context-context-type-value
type:
  v: composite
documentation:
  v: A use context type and value assigned to the DocumentReference

name:
  v: validate
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate
  l: Multi-it-validate

type:
  v: OperationDefinition
profile:
  v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
  l: OperationDefinition
interaction:
  code:
    v: read
search include:
  v: *
search rev include:
  v: ActivityDefinition:composed-of
search rev include:
  v: ActivityDefinition:depends-on
search rev include:
  v: ActivityDefinition:derived-from
search rev include:
  v: ActivityDefinition:intendedAudience
search rev include:
  v: ActivityDefinition:modifier_role_reference
search rev include:
  v: ActivityDefinition:predecessor
search rev include:
  v: ActivityDefinition:successor
search rev include:
  v: DocumentReference:authenticator
search rev include:
  v: DocumentReference:author
search rev include:
  v: DocumentReference:custodian
search rev include:
  v: DocumentReference:encounter
search rev include:
  v: DocumentReference:intendedOrganization
search rev include:
  v: DocumentReference:modifier_role_reference
search rev include:
  v: DocumentReference:patient
search rev include:
  v: DocumentReference:related
search rev include:
  v: DocumentReference:relatesto
search rev include:
  v: DocumentReference:subject
search rev include:
  v: PlanDefinition:composed-of
search rev include:
  v: PlanDefinition:definition
search rev include:
  v: PlanDefinition:depends-on
search rev include:
  v: PlanDefinition:derived-from
search rev include:
  v: PlanDefinition:documentation
search rev include:
  v: PlanDefinition:intendedAudience
search rev include:
  v: PlanDefinition:modifier_role_reference
search rev include:
  v: PlanDefinition:predecessor
search rev include:
  v: PlanDefinition:successor

type:
  v: PlanDefinition
profile:
  v: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition
  l: ehealth-plandefinition
interaction:
  code:
    v: update
interaction:
  code:
    v: search-type
interaction:
  code:
    v: vread
interaction:
  code:
    v: read
interaction:
  code:
    v: create
conditional create:
  v: true
conditional update:
  v: true
search include:
  v: *
search include:
  v: PlanDefinition:composed-of
search include:
  v: PlanDefinition:definition
search include:
  v: PlanDefinition:depends-on
search include:
  v: PlanDefinition:derived-from
search include:
  v: PlanDefinition:documentation
search include:
  v: PlanDefinition:predecessor
search include:
  v: PlanDefinition:successor
search rev include:
  v: ActivityDefinition:composed-of
search rev include:
  v: ActivityDefinition:depends-on
search rev include:
  v: ActivityDefinition:derived-from
search rev include:
  v: ActivityDefinition:intendedAudience
search rev include:
  v: ActivityDefinition:modifier_role_reference
search rev include:
  v: ActivityDefinition:predecessor
search rev include:
  v: ActivityDefinition:successor
search rev include:
  v: DocumentReference:authenticator
search rev include:
  v: DocumentReference:author
search rev include:
  v: DocumentReference:custodian
search rev include:
  v: DocumentReference:encounter
search rev include:
  v: DocumentReference:intendedOrganization
search rev include:
  v: DocumentReference:modifier_role_reference
search rev include:
  v: DocumentReference:patient
search rev include:
  v: DocumentReference:related
search rev include:
  v: DocumentReference:relatesto
search rev include:
  v: DocumentReference:subject
search rev include:
  v: PlanDefinition:composed-of
search rev include:
  v: PlanDefinition:definition
search rev include:
  v: PlanDefinition:depends-on
search rev include:
  v: PlanDefinition:derived-from
search rev include:
  v: PlanDefinition:documentation
search rev include:
  v: PlanDefinition:intendedAudience
search rev include:
  v: PlanDefinition:modifier_role_reference
search rev include:
  v: PlanDefinition:predecessor
search rev include:
  v: PlanDefinition:successor
search param:
  name:
    v: _content
  type:
    v: string
  documentation:
    v: Search the contents of the resource's data using a fulltext search
search param:
  name:
    v: _has
  type:
    v: string
  documentation:
    v: Return resources linked to by the given target
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _language
  type:
    v: string
  documentation:
    v: The language of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
  documentation:
    v: Only return resources which were last updated as specified by the given range
search param:
  name:
    v: _profile
  type:
    v: uri
  documentation:
    v: Search for resources which have the given profile
search param:
  name:
    v: _security
  type:
    v: token
  documentation:
    v: Search for resources which have the given security labels
search param:
  name:
    v: _source
  type:
    v: uri
  documentation:
    v: Search for resources which have the given source value (Resource.meta.source)
search param:
  name:
    v: _tag
  type:
    v: token
  documentation:
    v: Search for resources which have the given tag
search param:
  name:
    v: _text
  type:
    v: string
  documentation:
    v: Search the contents of the resource's narrative using a fulltext search
search param:
  name:
    v: base
  type:
    v: token
  documentation:
    v: Base of resource
search param:
  name:
    v: baseEnvironment
  type:
    v: token
  documentation:
    v: Base Environment of resource
search param:
  name:
    v: composed-of
  type:
    v: reference
  documentation:
    v: What resource is being referenced
search param:
  name:
    v: context
  type:
    v: token
  documentation:
    v: A use context assigned to the plan definition
search param:
  name:
    v: context-quantity
  type:
    v: quantity
  documentation:
    v: A quantity- or range-valued use context assigned to the plan definition
search param:
  name:
    v: context-type
  type:
    v: token

v: A type of use context assigned to the plan definition

name:
  v: context-type-value
type:
  v: composite
documentation:
  v: A use context type and value assigned to the plan definition

name:
  v: date
type:
  v: date
documentation:
  v: The plan definition publication date

name:
  v: definition
type:
  v: reference
documentation:
  v: Activity or plan definitions used by plan definition

name:
  v: depends-on
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: derived-from
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: description
type:
  v: string
documentation:
  v: The description of the plan definition

name:
  v: documentation
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: effective
type:
  v: date
documentation:
  v: The time during which the plan definition is intended to be in use

name:
  v: ehealthPredecessor
type:
  v: token
documentation:
  v: Predecessor of resource

name:
  v: employeeTitle
type:
  v: string
documentation:
  v: Title intented for clinicians

name:
  v: identifier
type:
  v: token
documentation:
  v: External identifier for the plan definition

name:
  v: intendedAudience
type:
  v: reference
documentation:
  v: The intended audience of the plan definition

name:
  v: jurisdiction
type:
  v: token
documentation:
  v: Intended jurisdiction for the plan definition

name:
  v: modifier_role_reference
type:
  v: reference
documentation:
  v: Reference to either Organization, CareTeam, Practitioner

name:
  v: modifier_role_role
type:
  v: token
documentation:
  v: Role of Organization, CareTeam, Practitioner

name:
  v: name
type:
  v: string
documentation:
  v: Computationally friendly name of the plan definition

name:
  v: predecessor
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: publisher
type:
  v: string
documentation:
  v: Name of the publisher of the plan definition

name:
  v: recommendation
type:
  v: token
documentation:
  v: Recommendation for the plan definition

name:
  v: status
type:
  v: token
documentation:
  v: The current status of the plan definition

name:
  v: successor
type:
  v: reference
documentation:
  v: What resource is being referenced

name:
  v: title
type:
  v: string
documentation:
  v: The human-friendly name of the plan definition

name:
  v: topic
type:
  v: token
documentation:
  v: Topics associated with the module

name:
  v: type
type:
  v: token
documentation:
  v: The type of artifact the plan (e.g. order-set, eca-rule, protocol)

name:
  v: url
type:
  v: uri
documentation:
  v: The uri that identifies the plan definition

name:
  v: version
type:
  v: token
documentation:
  v: The business version of the plan definition

name:
  v: validate
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate
  l: Multi-it-validate

name:
  v: import
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-t-import
  l: PlanDefinition-t-import
documentation:
  v: Import a Plandefinition ### Parameters - planDefinitionPackage: Binary package produced by the export operation ### Output Bundle containing the created resources. PlanDefinitions, ActivityDefinitions, and Questionnaires will be created. Imports QFFD DocumentReference into Document-Transformation service.Libraries and Organizations are used to find the corresponding resources on the target system.

name:
  v: export
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-is-export
  l: PlanDefinition-is-export
documentation:
  v: Export a PlanDefinition. ### Export Contents The export contains the PlanDefinition including referenced resources:- PlanDefinitions - ActivityDefinitions - Questionnaires - Libraries - Organizations - DocumentReference + QFDD Each resource is returned in a separate JSon file. ### Parameters - exclude: references to ActivityDefinitions or PlanDefinitions to exclude from the export. ### Output Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files. All returned objects are Fhir resources. See the implementation guide for details

name:
  v: create-clone
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/ActivityDefinitionPlanDefinition-i-create-clone
  l: ActivityDefinitionPlanDefinition-i-create-clone
documentation:
  v: ### Input - resourceId: reference to the PlanDefinition resource that should be cloned - clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation - default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned - deep-clone-references: References to resources to create as new resources rather than referencing the existing ones. ### Output Bundle containing all resources that were created during the operation. ### Validation - New business versions require that the user has modifier-role: owner or co-author for the resource - New copy does not require that the user has a modifier-role. - New business version can be made only when no draft resource exists (having identical base identifier). - Read/search/create privileges are required for the resource types affected by $create-clone

name:
  v: apply
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-i-apply
  l: PlanDefinition-i-apply
documentation:
  v: Create a careplan with service requests for a specific episodeOfCare using the PlanDefinition as a template. ### HTTP Methods - If using POST the operation will persist resources and return the careplan. - If using GET the operation will return transient resources in a transaction bundle. The bundle with transient careplan and servicerequest resources can then be modified before being persisted using a FHIR transaction. ### Parameters - episodeOfCare: Reference(EpisodeOfCare) - The episode of care for which the plan is being applied. ### Output CarePlan or Bundle of transient CarePlan and ServiceRequest resources.

name:
  v: reindex
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex
  l: -s-reindex

name:
  v: migrate
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-migrate
  l: -s-migrate
documentation:
  v: Data migration

name:
  v: export-poll-status
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-export-poll-status
  l: -s-export-poll-status
documentation:
  v: Operation for polling the status of a previously initiated FHIR Bulk Data System Level Export. A complete URL including the '_jobId' is returned in the 'Content-Location' response header when initiating the export. A 'GET' request to the polling location will return '202 Accepted' with a response header 'X-Progress' containing a status message for the progress of the export job. When the job has finished, the polling location will return '200 OK', and the contents of the body will be a JSON object providing metadata and links to the generated bulk data files. A 'DELETE' request can be used to cancel the export. If the export has already finished, the delete will return '404 Not Found', else the export job will be cancelled and a '202 Accepted' is returned with an operation outcome response. ### Parameters - _jobId: the job ID for the Bulk Export job which was returned in the 'Content-Location' header when initiating the export

name:
  v: export
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/PlanDefinition-is-export
  l: PlanDefinition-is-export
documentation:
  v: FHIR Operation to initiate an export of data from a FHIR server. The type of resources returned can be restricted using the '_type' parameter, and the '_since' parameter can be used to restrict resources to be only included if changed since the supplied time. The FHIR server support invocation of this operation using the [FHIR Asynchronous Request Pattern](http://hl7.org/fhir/R4/async.html). ## Initiation of export The initiation of an export must specify the request header 'Prefer: respond-async', and will return '202 Accepted' with a polling location in the response header 'Content-Location'. The polling location is for the endpoint '$export-poll-status' and has the export job ID as parameter '_jobId'. ### Parameters - _outputFormat: Optional parameter to specify the output format of the exported files. Default is 'application/fhir+ndjson' - _type: Optional parameter to specify a comma separated list of resource types to be included in the export. If not provided, all resource types will be included. - _since: Optional parameter to specify a time. Only resources that have been created or modified after this time will be included in the export (i.e., if Resource.meta.lastUpdated is later than the supplied _since time). - _typeFilter: Optional parameter to apply search filter of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied when searching resources. - _typePostFetchFilterUrl: Optional parameter to apply filtering of resources for export. It is a string of comma-delimited FHIR REST search queries in the format [resourceType]?[parameters]. The filter will be applied on resources after being fetched from the database. - _exportId: Optional parameter to specify a client provided identifier for the export. Resulting exported files (Binary) will be labeled with the identifer in meta extension 'https://hapifhir.org/NamingSystem/bulk-export-identifier' ## Polling status …

name:
  v: meta
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta
  l: -s-meta

name:
  v: get-resource-counts
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts
  l: -s-get-resource-counts
documentation:
  v: Provides the number of resources currently stored on the server, broken down by resource type

name:
  v: expunge
definition:
  v: https://plan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-expunge
  l: -s-expunge