{
  "resourceType": "CapabilityStatement",
  "url": "http://nictiz.nl/fhir/CapabilityStatement/ggz-clientcapabilities",
  "version": "1.0.5",
  "name": "GGZClient",
  "status": "active",
  "date": "2023-09-26",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This CapabilityStatement describes the minimal requirements for a client to retrieve GGZ 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-careteam",
      "display": "nl-core-careteam"
    },
    {
      "reference": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson",
      "display": "nl-core-relatedperson"
    },
    {
      "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://nictiz.nl/fhir/StructureDefinition/zib-FamilySituation",
      "display": "zib-FamilySituation"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-ParticipationInSociety",
      "display": "zib-ParticipationInSociety"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-HelpFromOthers",
      "display": "zib-HelpFromOthers"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement",
      "display": "zib-GeneralMeasurement"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-DrugUse",
      "display": "zib-DrugUse"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-AlcoholUse",
      "display": "zib-AlcoholUse"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-TobaccoUse",
      "display": "zib-TobaccoUse"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-Payer",
      "display": "zib-Payer"
    },
    {
      "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-FunctionalOrMentalStatus",
      "display": "zib-FunctionalOrMentalStatus"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-Problem",
      "display": "zib-Problem"
    },
    {
      "reference": "http://nictiz.nl/fhir/StructureDefinition/zib-LivingSituation",
      "display": "zib-LivingSituation"
    },
    {
      "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-TextResult",
      "display": "zib-TextResult"
    }
  ],
  "rest": [
    {
      "mode": "client",
      "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"
            },
            {
              "name": "code",
              "type": "token"
            }
          ]
        },
        {
          "type": "DiagnosticReport",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "Coverage",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "Coverage:payor:Patient",
            "Coverage:payor:Organization"
          ]
        },
        {
          "type": "Consent",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "category",
              "type": "token"
            }
          ]
        },
        {
          "type": "Condition",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "Procedure",
          "interaction": [
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "CarePlan",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "category",
              "type": "token"
            }
          ]
        },
        {
          "type": "CareTeam",
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "CareTeam:participant"
          ]
        }
      ],
      "operation": [
        {
          "name": "Last N Observations Query",
          "definition": {
            "reference": "http://hl7.org/fhir/OperationDefinition/Observation-lastn",
            "display": "Observation-lastn"
          }
        }
      ]
    }
  ]
}