{
  "resourceType": "CapabilityStatement",
  "id": "questionnaire",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>questionnaire</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=\"POST a new resource (create interaction)\">Create</b></th><th><b title=\"DELETE a resource (delete interaction)\">Delete</b></th></tr><tr><td>Basic</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/Basic\">http://hl7.org/fhir/StructureDefinition/Basic</a></td><td>y</td><td>y</td><td>y</td><td>y</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></tr><tr><td>Questionnaire</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/Questionnaire\">http://hl7.org/fhir/StructureDefinition/Questionnaire</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td></tr><tr><td>StructureDefinition</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion</a></td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td><td>y</td></tr></table></div>"
  },
  "url": "http://ehealth.sundhed.dk/fhir/CapabilityStatement/questionnaire",
  "version": "2.5.0",
  "name": "questionnaire",
  "status": "active",
  "date": "2022-10-11T03:06:13.343+00:00",
  "publisher": "Systematic | Trifork",
  "contact": [
    {
      "name": "Systematic | Trifork",
      "telecom": [
        {
          "system": "url",
          "value": "http://ehealth.sundhed.dk"
        }
      ]
    }
  ],
  "kind": "instance",
  "software": {
    "name": "questionnaire",
    "version": "2.0.3"
  },
  "implementation": {
    "description": "eHealth questionnaire service",
    "url": "https://questionnaire.devtest.systematic-ehealth.com/fhir"
  },
  "fhirVersion": "4.0.1",
  "format": [
    "application/fhir+xml",
    "xml",
    "application/fhir+json",
    "json",
    "application/x-turtle",
    "ttl",
    "html/json",
    "html/xml",
    "html/turtle"
  ],
  "rest": [
    {
      "mode": "server",
      "resource": [
        {
          "type": "Basic",
          "profile": "http://hl7.org/fhir/StructureDefinition/Basic",
          "interaction": [
            {
              "code": "update"
            },
            {
              "code": "search-type"
            },
            {
              "code": "vread"
            },
            {
              "code": "read"
            },
            {
              "code": "create"
            }
          ],
          "conditionalCreate": true,
          "conditionalUpdate": true,
          "searchInclude": [
            "*"
          ],
          "searchRevInclude": [
            "Basic:actionGuidanceForReference",
            "Basic:intendedAudience",
            "Basic:reference",
            "Basic:viewForReference",
            "Questionnaire:reference",
            "StructureDefinition:valueset"
          ],
          "searchParam": [
            {
              "name": "_content",
              "type": "string",
              "documentation": "Search the contents of the resource's data using a fulltext search"
            },
            {
              "name": "_has",
              "type": "string",
              "documentation": "Return resources linked to by the given target"
            },
            {
              "name": "_id",
              "type": "token",
              "documentation": "The ID of the resource"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "_lastUpdated",
              "type": "date",
              "documentation": "Only return resources which were last updated as specified by the given range"
            },
            {
              "name": "_profile",
              "type": "uri",
              "documentation": "Search for resources which have the given profile"
            },
            {
              "name": "_security",
              "type": "token",
              "documentation": "Search for resources which have the given security labels"
            },
            {
              "name": "_tag",
              "type": "token",
              "documentation": "Search for resources which have the given tag"
            },
            {
              "name": "_text",
              "type": "string",
              "documentation": "Search the contents of the resource's narrative using a fulltext search"
            },
            {
              "name": "actionGuidanceForReference",
              "type": "reference",
              "documentation": "Action guidance for reference"
            },
            {
              "name": "actionGuidanceForType",
              "type": "token",
              "documentation": "The action guidance for type"
            },
            {
              "name": "actionGuidanceType",
              "type": "token",
              "documentation": "The action guidance type"
            },
            {
              "name": "code",
              "type": "token",
              "documentation": "The code"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "The identifier"
            },
            {
              "name": "intendedAudience",
              "type": "reference",
              "documentation": "The intended audience"
            },
            {
              "name": "recommendation",
              "type": "token",
              "documentation": "The recommendation"
            },
            {
              "name": "reference",
              "type": "reference",
              "documentation": "The modifier reference"
            },
            {
              "name": "role",
              "type": "token",
              "documentation": "The modifier role"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "The current status"
            },
            {
              "name": "viewForReference",
              "type": "reference",
              "documentation": "View for reference"
            },
            {
              "name": "viewForType",
              "type": "token",
              "documentation": "The view for type"
            },
            {
              "name": "viewType",
              "type": "token",
              "documentation": "The view type"
            }
          ],
          "operation": [
            {
              "name": "validate",
              "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
            }
          ]
        },
        {
          "type": "OperationDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
          "interaction": [
            {
              "code": "read"
            }
          ],
          "searchInclude": [
            "*"
          ],
          "searchRevInclude": [
            "Basic:actionGuidanceForReference",
            "Basic:intendedAudience",
            "Basic:reference",
            "Basic:viewForReference",
            "Questionnaire:reference",
            "StructureDefinition:valueset"
          ]
        },
        {
          "type": "Questionnaire",
          "profile": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
          "interaction": [
            {
              "code": "update"
            },
            {
              "code": "search-type"
            },
            {
              "code": "vread"
            },
            {
              "code": "read"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            }
          ],
          "conditionalCreate": true,
          "conditionalUpdate": true,
          "searchInclude": [
            "*"
          ],
          "searchRevInclude": [
            "Basic:actionGuidanceForReference",
            "Basic:intendedAudience",
            "Basic:reference",
            "Basic:viewForReference",
            "Questionnaire:reference",
            "StructureDefinition:valueset"
          ],
          "searchParam": [
            {
              "name": "_content",
              "type": "string",
              "documentation": "Search the contents of the resource's data using a fulltext search"
            },
            {
              "name": "_has",
              "type": "string",
              "documentation": "Return resources linked to by the given target"
            },
            {
              "name": "_id",
              "type": "token",
              "documentation": "The ID of the resource"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "_lastUpdated",
              "type": "date",
              "documentation": "Only return resources which were last updated as specified by the given range"
            },
            {
              "name": "_profile",
              "type": "uri",
              "documentation": "Search for resources which have the given profile"
            },
            {
              "name": "_security",
              "type": "token",
              "documentation": "Search for resources which have the given security labels"
            },
            {
              "name": "_tag",
              "type": "token",
              "documentation": "Search for resources which have the given tag"
            },
            {
              "name": "_text",
              "type": "string",
              "documentation": "Search the contents of the resource's narrative using a fulltext search"
            },
            {
              "name": "base",
              "type": "token",
              "documentation": "Base of resource"
            },
            {
              "name": "baseEnvironment",
              "type": "token",
              "documentation": "Base Environment of resource"
            },
            {
              "name": "code",
              "type": "token",
              "documentation": "A code that corresponds to one of its items in the questionnaire"
            },
            {
              "name": "date",
              "type": "date",
              "documentation": "The questionnaire publication date"
            },
            {
              "name": "description",
              "type": "string",
              "documentation": "The description of the questionnaire"
            },
            {
              "name": "effective",
              "type": "date",
              "documentation": "The time during which the questionnaire is intended to be in use"
            },
            {
              "name": "ehealthPredecessor",
              "type": "token",
              "documentation": "Predecessor of resource"
            },
            {
              "name": "employeeTitle",
              "type": "string",
              "documentation": "Title intended for clinicians"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the questionnaire"
            },
            {
              "name": "jurisdiction",
              "type": "token",
              "documentation": "Intended jurisdiction for the questionnaire"
            },
            {
              "name": "name",
              "type": "string",
              "documentation": "Computationally friendly name of the questionnaire"
            },
            {
              "name": "publisher",
              "type": "string",
              "documentation": "Name of the publisher of the questionnaire"
            },
            {
              "name": "reference",
              "type": "reference",
              "documentation": "Modifier reference"
            },
            {
              "name": "role",
              "type": "token",
              "documentation": "Modifier role"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "The current status of the questionnaire"
            },
            {
              "name": "title",
              "type": "string",
              "documentation": "The human-friendly name of the questionnaire"
            },
            {
              "name": "type",
              "type": "token",
              "documentation": "Questionnaire type"
            },
            {
              "name": "url",
              "type": "uri",
              "documentation": "The uri that identifies the questionnaire"
            },
            {
              "name": "version",
              "type": "token",
              "documentation": "The business version of the questionnaire"
            }
          ],
          "operation": [
            {
              "name": "validate",
              "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
            },
            {
              "name": "create-clone",
              "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Questionnaire-i-create-clone",
              "documentation": "### Input\n- resourceId: reference to the Questionnaire resource that should be cloned\n- clone-operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation \n\n### Output\nBundle containing all resources that were created during the operation.\n\n### Validation\n- New business versions require that the user has modifier-role: owner or co-author for the resource\n- New copy does not require that the user has a modifier-role.\n- New business version can be made only when no draft resource exists (having identical base identifier).\n- Read/search/create privileges are required for the resource types affected by $create-clone"
            }
          ]
        },
        {
          "type": "StructureDefinition",
          "profile": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-definedquestion",
          "interaction": [
            {
              "code": "update"
            },
            {
              "code": "search-type"
            },
            {
              "code": "vread"
            },
            {
              "code": "read"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            }
          ],
          "conditionalCreate": true,
          "conditionalUpdate": true,
          "conditionalDelete": "single",
          "searchInclude": [
            "*",
            "StructureDefinition:valueset"
          ],
          "searchRevInclude": [
            "Basic:actionGuidanceForReference",
            "Basic:intendedAudience",
            "Basic:reference",
            "Basic:viewForReference",
            "Questionnaire:reference",
            "StructureDefinition:valueset"
          ],
          "searchParam": [
            {
              "name": "_content",
              "type": "string",
              "documentation": "Search the contents of the resource's data using a fulltext search"
            },
            {
              "name": "_filter",
              "type": "string",
              "documentation": "Search the contents of the resource's data using a filter"
            },
            {
              "name": "_has",
              "type": "string",
              "documentation": "Return resources linked to by the given target"
            },
            {
              "name": "_id",
              "type": "token",
              "documentation": "The ID of the resource"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "_lastUpdated",
              "type": "date",
              "documentation": "Only return resources which were last updated as specified by the given range"
            },
            {
              "name": "_profile",
              "type": "uri",
              "documentation": "Search for resources which have the given profile"
            },
            {
              "name": "_security",
              "type": "token",
              "documentation": "Search for resources which have the given security labels"
            },
            {
              "name": "_source",
              "type": "uri",
              "documentation": "Search for resources which have the given source value (Resource.meta.source)"
            },
            {
              "name": "_tag",
              "type": "token",
              "documentation": "Search for resources which have the given tag"
            },
            {
              "name": "_text",
              "type": "string",
              "documentation": "Search the contents of the resource's narrative using a fulltext search"
            },
            {
              "name": "abstract",
              "type": "token",
              "documentation": "Whether the structure is abstract"
            },
            {
              "name": "base",
              "type": "uri",
              "documentation": "Definition that this type is constrained/specialized from"
            },
            {
              "name": "base-path",
              "type": "token",
              "documentation": "Path that identifies the base element"
            },
            {
              "name": "context-type",
              "type": "token",
              "documentation": "resource | datatype | extension"
            },
            {
              "name": "date",
              "type": "date",
              "documentation": "The structure definition publication date"
            },
            {
              "name": "derivation",
              "type": "token",
              "documentation": "specialization | constraint - How relates to base definition"
            },
            {
              "name": "description",
              "type": "string",
              "documentation": "The description of the structure definition"
            },
            {
              "name": "experimental",
              "type": "token",
              "documentation": "For testing purposes, not real usage"
            },
            {
              "name": "ext-context",
              "type": "string",
              "documentation": "Where the extension can be used in instances"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the structure definition"
            },
            {
              "name": "jurisdiction",
              "type": "token",
              "documentation": "Intended jurisdiction for the structure definition"
            },
            {
              "name": "keyword",
              "type": "token",
              "documentation": "A code for the profile"
            },
            {
              "name": "kind",
              "type": "token",
              "documentation": "primitive-type | complex-type | resource | logical"
            },
            {
              "name": "name",
              "type": "string",
              "documentation": "Computationally friendly name of the structure definition"
            },
            {
              "name": "path",
              "type": "token",
              "documentation": "A path that is constrained in the profile"
            },
            {
              "name": "publisher",
              "type": "string",
              "documentation": "Name of the publisher of the structure definition"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "The current status of the structure definition"
            },
            {
              "name": "title",
              "type": "string",
              "documentation": "The human-friendly name of the structure definition"
            },
            {
              "name": "type",
              "type": "token",
              "documentation": "Type defined or constrained by this structure"
            },
            {
              "name": "url",
              "type": "uri",
              "documentation": "The uri that identifies the structure definition"
            },
            {
              "name": "valueset",
              "type": "reference",
              "documentation": "A vocabulary binding reference"
            },
            {
              "name": "version",
              "type": "token",
              "documentation": "The business version of the structure definition"
            }
          ],
          "operation": [
            {
              "name": "validate",
              "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/Multi-it-validate"
            }
          ]
        }
      ],
      "interaction": [
        {
          "code": "transaction"
        },
        {
          "code": "history-system"
        }
      ],
      "operation": [
        {
          "name": "migrate",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-migrate",
          "documentation": "Data migration"
        },
        {
          "name": "reindex-terminology",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"
        },
        {
          "name": "process-message",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message",
          "documentation": "Accept a FHIR Message Bundle for processing"
        },
        {
          "name": "perform-reindexing-pass",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass",
          "documentation": "Forces a single pass of the resource reindexing processor"
        },
        {
          "name": "meta",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"
        },
        {
          "name": "get-resource-counts",
          "definition": "https://questionnaire.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts",
          "documentation": "Provides the number of resources currently stored on the server, broken down by resource type"
        }
      ]
    }
  ]
}