{
  "resourceType": "CapabilityStatement",
  "url": "http://nictiz.nl/fhir/CapabilityStatement/bglz-servercapabilities",
  "version": "1.0.5",
  "name": "bglzServer",
  "status": "active",
  "date": "2022-10-25",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This CapabilityStatement describes the minimal requirements for a server to expose BgLZ information based on the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB), release 2017.",
  "purpose": "This CapabilityStatement is informative in nature and does not represent the minimum or maximum set of capabilities the client or server should support. The aim is to design the CapabilityStatement as complete as possible, however for the exact set of capabilities the implementation guide of the corresponding information standard should be consulted.",
  "copyright": "CC0",
  "kind": "requirements",
  "fhirVersion": "3.0.2",
  "acceptUnknown": "both",
  "format": [
    "xml",
    "json"
  ],
  "profile": [
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient",
      "display": "nl-core-patient"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner",
      "display": "nl-core-practitioner"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole",
      "display": "nl-core-practitionerrole"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization",
      "display": "nl-core-organization"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-careteam",
      "display": "nl-core-careteam"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-careplan",
      "display": "nl-core-careplan"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective",
      "display": "zib-TreatmentDirective"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective",
      "display": "zib-AdvanceDirective"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-Problem",
      "display": "zib-Problem"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-AllergyIntolerance",
      "display": "zib-AllergyIntolerance"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation",
      "display": "zib-LaboratoryTestResult-Observation"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-Procedure",
      "display": "zib-Procedure"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective",
      "display": "zib-TreatmentObjective"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice",
      "display": "zib-MedicalDevice"
    }
  ],
  "rest": [
    {
      "mode": "server",
      "resource": [
        {
          "type": "Patient",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "Patient:general-practitioner"
          ]
        },
        {
          "type": "Observation",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "Observation:related-target",
            "Observation:specimen"
          ],
          "searchParam": [
            {
              "name": "category",
              "type": "token"
            }
          ]
        },
        {
          "type": "Consent",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "category",
              "type": "token"
            }
          ]
        },
        {
          "type": "Procedure",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "AllergyIntolerance",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "Condition",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "CareTeam",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "CareTeam:participant"
          ]
        },
        {
          "type": "CarePlan",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "CarePlan:activity-goal",
            "CarePlan:activity-outcomereference:Observation",
            "CarePlan:activity-medicaldevice",
            "DeviceUseStatement:device:Device"
          ],
          "searchParam": [
            {
              "name": "activity-goal",
              "definition": "http://nictiz.nl/fhir/SearchParameter/careplan-activity-goal",
              "type": "reference"
            },
            {
              "name": "activity-outcomereference",
              "definition": "http://nictiz.nl/fhir/SearchParameter/careplan-activity-outcomereference",
              "type": "reference"
            },
            {
              "name": "activity-medicaldevice",
              "definition": "http://nictiz.nl/fhir/SearchParameter/careplan-medicaldevice",
              "type": "reference"
            }
          ]
        }
      ],
      "operation": [
        {
          "name": "Last N Observations Query",
          "definition": {
            "reference": "http://hl7.org/fhir/OperationDefinition/Observation-lastn",
            "display": "Observation-lastn"
          }
        }
      ]
    }
  ]
}