{
  "resourceType" : "CapabilityStatement",
  "id" : "document-query",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>document-query</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 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></tr><tr><td>Binary</td><td><a href=\"http://hl7.org/fhir/StructureDefinition/Binary\">http://hl7.org/fhir/StructureDefinition/Binary</a></td><td></td><td></td><td></td><td></td></tr><tr><td>DocumentReference</td><td><a href=\"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference\">http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference</a></td><td></td><td>y</td><td></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></tr></table></div>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/CapabilityStatement/document-query",
  "version" : "2.8.0",
  "name" : "document-query",
  "status" : "active",
  "date" : "2023-05-13T02:12:43.578+00:00",
  "publisher" : "Systematic | Trifork",
  "contact" : [{
    "name" : "Systematic | Trifork",
    "telecom" : [{
      "system" : "url",
      "value" : "http://ehealth.sundhed.dk"
    }]
  }],
  "kind" : "instance",
  "software" : {
    "name" : "document-query",
    "version" : "1.8.3"
  },
  "implementation" : {
    "description" : "eHealth document-query service",
    "url" : "https://document-query.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" : "Binary",
      "profile" : "http://hl7.org/fhir/StructureDefinition/Binary",
      "searchInclude" : ["*"],
      "searchRevInclude" : ["DocumentReference:patient"],
      "operation" : [{
        "name" : "retrieve-document",
        "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/Binary-t-retrieve-document",
        "documentation" : "Retrieve document"
      }]
    },
    {
      "type" : "DocumentReference",
      "profile" : "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference",
      "interaction" : [{
        "code" : "search-type"
      }],
      "searchInclude" : ["*",
      "DocumentReference:patient"],
      "searchRevInclude" : ["DocumentReference:patient"],
      "searchParam" : [{
        "name" : "status",
        "type" : "token",
        "documentation" : "current | superseded"
      },
      {
        "name" : "category",
        "type" : "token",
        "documentation" : "Categorization of document"
      },
      {
        "name" : "date",
        "type" : "date",
        "documentation" : "Document creation time"
      },
      {
        "name" : "event",
        "type" : "token",
        "documentation" : "Main clinical acts documented"
      },
      {
        "name" : "facility",
        "type" : "token",
        "documentation" : "Kind of facility where patient was seen"
      },
      {
        "name" : "format",
        "type" : "token",
        "documentation" : "Format/content rules for the document"
      },
      {
        "name" : "patient",
        "type" : "reference",
        "documentation" : "Who/what is the subject of the document"
      },
      {
        "name" : "patient-identifier",
        "type" : "token",
        "documentation" : "Who/what is the subject of the document (identifier)"
      },
      {
        "name" : "period",
        "type" : "date",
        "documentation" : "Time of service that is being documented"
      },
      {
        "name" : "setting",
        "type" : "token",
        "documentation" : "Additional details about where the content was created (e.g. clinical specialty)"
      },
      {
        "name" : "type",
        "type" : "token",
        "documentation" : "Kind of document (LOINC if possible)"
      }]
    },
    {
      "type" : "OperationDefinition",
      "profile" : "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
      "interaction" : [{
        "code" : "read"
      }],
      "searchInclude" : ["*"],
      "searchRevInclude" : ["DocumentReference:patient"]
    }],
    "interaction" : [{
      "code" : "transaction"
    },
    {
      "code" : "history-system"
    }],
    "operation" : [{
      "name" : "process-message",
      "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-process-message",
      "documentation" : "Accept a FHIR Message Bundle for processing"
    },
    {
      "name" : "perform-reindexing-pass",
      "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-perform-reindexing-pass",
      "documentation" : "Forces a single pass of the resource reindexing processor"
    },
    {
      "name" : "meta",
      "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-meta"
    },
    {
      "name" : "get-resource-counts",
      "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-get-resource-counts",
      "documentation" : "Provides the number of resources currently stored on the server, broken down by resource type"
    },
    {
      "name" : "reindex-terminology",
      "definition" : "https://document-query.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-reindex-terminology"
    }]
  }]
}