Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example CapabilityStatement/knowledge-repository (JSON)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

Knowledge Repository Base Capability Statement

{
  "resourceType": "CapabilityStatement",
  "id": "knowledge-repository",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>Knowledge Repository Service Conformance Statement</h2>\n      <div>\n        <p>Basic conformance statement for a Knowledge Repository Service. A server can support more functionality\n           than defined here, but this is the minimum amount</p>\n\n      </div>\n      <table>\n        <tr>\n          <td>Mode</td>\n          <td>SERVER</td>\n        </tr>\n        <tr>\n          <td>Description</td>\n          <td>RESTful Knowledge Repository Server</td>\n        </tr>\n        <tr>\n          <td>Transaction</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>System History</td>\n          <td/>\n        </tr>\n        <tr>\n          <td>System Search</td>\n          <td/>\n        </tr>\n      </table>\n      <table>\n        <tr>\n          <th>\n            <b>Resource Type</b>\n          </th>\n          <th>\n            <b>Profile</b>\n          </th>\n          <th>\n            <b>Read</b>\n          </th>\n          <th>\n            <b>V-Read</b>\n          </th>\n          <th>\n            <b>Search</b>\n          </th>\n          <th>\n            <b>Update</b>\n          </th>\n          <th>\n            <b>Updates</b>\n          </th>\n          <th>\n            <b>Create</b>\n          </th>\n          <th>\n            <b>Delete</b>\n          </th>\n          <th>\n            <b>History</b>\n          </th>\n        </tr>\n      </table>\n    </div>"
  },
  "url": "http://hl7.org/fhir/knowledge-repository",
  "name": "Knowledge Repository Service Conformance Statement",
  "status": "draft",
  "date": "2017-02-25",
  "publisher": "HL7, Inc",
  "contact": [
    {
      "name": "FHIR Project",
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "Basic conformance statement for a Knowledge Repository Service. A server can support more functionality    than defined here, but this is the minimum amount",
  "kind": "capability",
  "software": {
    "name": "ACME Knowledge Repository Service"
  },
  "fhirVersion": "5.0.0",
  "format": [
    "json",
    "xml"
  ],
  "rest": [
    {
      "mode": "server",
      "documentation": "RESTful Knowledge Repository Service",
      "security": {
        "cors": true,
        "service": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/restful-security-service",
                "code": "Certificates"
              }
            ]
          }
        ]
      },
      "resource": [
        {
          "type": "Library",
          "profile": "http://hl7.org/fhir/StructureDefinition/Library",
          "interaction": [
            {
              "code": "read",
              "documentation": "Read allows clients to get the logical definitions of the libraries"
            },
            {
              "code": "search-type",
              "documentation": "Search allows clients to filter libraries based on a provided search parameter"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-description",
              "type": "string"
            },
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-identifier",
              "type": "token"
            },
            {
              "name": "status",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-status",
              "type": "token"
            },
            {
              "name": "title",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-title",
              "type": "string"
            },
            {
              "name": "topic",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-topic",
              "type": "token"
            },
            {
              "name": "version",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-version",
              "type": "token"
            },
            {
              "name": "composed-of",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-composed-of",
              "type": "reference"
            },
            {
              "name": "depends-on",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-depends-on",
              "type": "reference"
            },
            {
              "name": "derived-from",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-derived-from",
              "type": "reference"
            },
            {
              "name": "predecessor",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-predecessor",
              "type": "reference"
            },
            {
              "name": "successor",
              "definition": "http://hl7.org/fhir/SearchParameter/Library-successor",
              "type": "reference"
            }
          ]
        },
        {
          "type": "PlanDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
          "interaction": [
            {
              "code": "read",
              "documentation": "Read allows clients to get the logical definitions of the plan definitions"
            },
            {
              "code": "search-type",
              "documentation": "Search allows clients to filter plan definitions based on a provided search parameter"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-description",
              "type": "string"
            },
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-identifier",
              "type": "token"
            },
            {
              "name": "status",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-status",
              "type": "token"
            },
            {
              "name": "title",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-title",
              "type": "string"
            },
            {
              "name": "topic",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-topic",
              "type": "token"
            },
            {
              "name": "version",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-version",
              "type": "token"
            },
            {
              "name": "composed-of",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-composed-of",
              "type": "reference"
            },
            {
              "name": "depends-on",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-depends-on",
              "type": "reference"
            },
            {
              "name": "derived-from",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-derived-from",
              "type": "reference"
            },
            {
              "name": "predecessor",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-predecessor",
              "type": "reference"
            },
            {
              "name": "successor",
              "definition": "http://hl7.org/fhir/SearchParameter/PlanDefinition-successor",
              "type": "reference"
            }
          ]
        },
        {
          "type": "ActivityDefinition",
          "profile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
          "interaction": [
            {
              "code": "read",
              "documentation": "Read allows clients to get the logical definitions of the activity definitions"
            },
            {
              "code": "search-type",
              "documentation": "Search allows clients to filter activity definitions based on a provided search parameter"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-description",
              "type": "string"
            },
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-identifier",
              "type": "token"
            },
            {
              "name": "status",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-status",
              "type": "token"
            },
            {
              "name": "title",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-title",
              "type": "string"
            },
            {
              "name": "topic",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-topic",
              "type": "token"
            },
            {
              "name": "version",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-version",
              "type": "token"
            },
            {
              "name": "composed-of",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-composed-of",
              "type": "reference"
            },
            {
              "name": "depends-on",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-depends-on",
              "type": "reference"
            },
            {
              "name": "derived-from",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-derived-from",
              "type": "reference"
            },
            {
              "name": "predecessor",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-predecessor",
              "type": "reference"
            },
            {
              "name": "successor",
              "definition": "http://hl7.org/fhir/SearchParameter/ActivityDefinition-successor",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Measure",
          "profile": "http://hl7.org/fhir/StructureDefinition/Measure",
          "interaction": [
            {
              "code": "read",
              "documentation": "Read allows clients to get the logical definitions of the measures"
            },
            {
              "code": "search-type",
              "documentation": "Search allows clients to filter measures based on a provided search parameter"
            }
          ],
          "searchParam": [
            {
              "name": "description",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-description",
              "type": "string"
            },
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-identifier",
              "type": "token"
            },
            {
              "name": "status",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-status",
              "type": "token"
            },
            {
              "name": "title",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-title",
              "type": "string"
            },
            {
              "name": "topic",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-topic",
              "type": "token"
            },
            {
              "name": "version",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-version",
              "type": "token"
            },
            {
              "name": "composed-of",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-composed-of",
              "type": "reference"
            },
            {
              "name": "depends-on",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-depends-on",
              "type": "reference"
            },
            {
              "name": "derived-from",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-derived-from",
              "type": "reference"
            },
            {
              "name": "predecessor",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-predecessor",
              "type": "reference"
            },
            {
              "name": "successor",
              "definition": "http://hl7.org/fhir/SearchParameter/Measure-successor",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Questionnaire",
          "profile": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
          "interaction": [
            {
              "code": "read",
              "documentation": "Read allows clients to get the logical definitions of the measures"
            },
            {
              "code": "search-type",
              "documentation": "Search allows clients to filter measures based on a provided search parameter"
            }
          ],
          "searchParam": [
            {
              "name": "code",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-code",
              "type": "token"
            },
            {
              "name": "context",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-context",
              "type": "token"
            },
            {
              "name": "date",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-date",
              "type": "date"
            },
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-identifier",
              "type": "token"
            },
            {
              "name": "publisher",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-publisher",
              "type": "string"
            },
            {
              "name": "status",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-status",
              "type": "token"
            },
            {
              "name": "title",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-title",
              "type": "string"
            },
            {
              "name": "version",
              "definition": "http://hl7.org/fhir/SearchParameter/Questionnaire-version",
              "type": "token"
            }
          ]
        }
      ],
      "operation": [
        {
          "name": "data-requirements",
          "definition": "http://hl7.org/fhir/OperationDefinition/Library-data-requirements"
        }
      ]
    }
  ]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.