STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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

Capabilitystatement-example.json

Raw JSON (canonical form)

General Condition Example

{
  "resourceType": "CapabilityStatement",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      <p>The EHR Server supports the following transactions for the resource Person: read, vread, \n        update, history, search(name,gender), create and updates.</p>\n      \n      <p>The EHR System supports the following message: admin-notify::Person.</p>\n      \n      <p>The EHR Application has a \n        <a href=\"http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796\">general document profile</a>.\n      </p>\n    \n    </div>"
  },
  "url": "68D043B5-9ECF-4559-A57A-396E0D452311",
  "version": "20130510",
  "name": "ACME EHR capability statement",
  "status": "draft",
  "experimental": true,
  "date": "2012-01-04",
  "publisher": "ACME Corporation",
  "contact": [
    {
      "name": "System Administrator",
      "telecom": [
        {
          "system": "email",
          "value": "wile@acme.org"
        }
      ]
    }
  ],
  "description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface",
  "purpose": "Main EHR capability statement, published for contracting and operational support",
  "copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems",
  "kind": "instance",
  "software": {
    "name": "EHR",
    "version": "0.00.020.2134",
    "releaseDate": "2012-01-04"
  },
  "implementation": {
    "description": "main EHR at ACME",
    "url": "http://10.2.3.4/fhir"
  },
  "fhirVersion": "1.0.0",
  "acceptUnknown": "both",
  "format": [
    "xml",
    "json"
  ],
  "rest": [
    {
      "mode": "server",
      "documentation": "Main FHIR endpoint for acem health",
      "security": {
        "cors": true,
        "service": [
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/restful-security-service",
                "code": "SMART-on-FHIR"
              }
            ]
          }
        ],
        "description": "See Smart on FHIR documentation",
        "certificate": [
          {
            "type": "application/jwt",
            "blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ="
          }
        ]
      },
      "resource": [
        {
          "type": "Patient",
          "profile": {
            "reference": "http://fhir.hl7.org/base/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "vread",
              "documentation": "Only supported for patient records since 12-Dec 2012"
            },
            {
              "code": "update"
            },
            {
              "code": "history-instance"
            },
            {
              "code": "create"
            },
            {
              "code": "history-type"
            }
          ],
          "versioning": "versioned-update",
          "readHistory": true,
          "updateCreate": false,
          "conditionalCreate": true,
          "conditionalUpdate": false,
          "conditionalDelete": "not-supported",
          "searchInclude": [
            "Organization"
          ],
          "searchRevInclude": [
            "Person"
          ],
          "searchParam": [
            {
              "name": "identifier",
              "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier",
              "type": "token",
              "documentation": "Only supports search by institution MRN"
            },
            {
              "name": "careprovider",
              "definition": "http://hl7.org/fhir/SearchParameter/Patient-careprovider",
              "type": "reference"
            }
          ]
        }
      ],
      "interaction": [
        {
          "code": "transaction"
        },
        {
          "code": "history-system"
        }
      ],
      "compartment": [
        "http://hl7.org/fhir/compartment/Patient"
      ]
    }
  ],
  "messaging": [
    {
      "endpoint": [
        {
          "protocol": {
            "system": "http://hl7.org/fhir/message-transport",
            "code": "mllp"
          },
          "address": "mllp:10.1.1.10:9234"
        }
      ],
      "reliableCache": 30,
      "documentation": "ADT A08 equivalent for external system notifications",
      "event": [
        {
          "code": {
            "system": "http://hl7.org/fhir/message-type",
            "code": "admin-notify"
          },
          "category": "Consequence",
          "mode": "receiver",
          "focus": "Patient",
          "request": {
            "reference": "StructureDefinition/daf-patient"
          },
          "response": {
            "reference": "StructureDefinition/MessageHeader"
          },
          "documentation": "Notification of an update to a patient resource. changing the links is not supported"
        }
      ]
    }
  ],
  "document": [
    {
      "mode": "consumer",
      "documentation": "Basic rules for all documents in the EHR system",
      "profile": {
        "reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796"
      }
    }
  ]
}

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.