{
  "resourceType": "CapabilityStatement",
  "status": "active",
  "date": "2018-06-13T05:57:42+00:00",
  "publisher": "Not provided",
  "kind": "instance",
  "software": {
    "name": "HAPI FHIR Server",
    "version": "3.2.0"
  },
  "fhirVersion": "3.0.1",
  "acceptUnknown": "extensions",
  "format": [
    "application/fhir+xml",
    "application/fhir+json"
  ],
  "rest": [
    {
      "mode": "server",
      "resource": [
        {
          "type": "ActivityDefinition",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/ActivityDefinition"
          },
          "interaction": [
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "_tag",
              "type": "token"
            }
          ]
        },
        {
          "type": "Appointment",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Appointment"
          }
        },
        {
          "type": "CarePlan",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/CarePlan"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchInclude": [
            "CarePlan:care-team",
            "CarePlan:context",
            "CarePlan:goal",
            "CarePlan:supportingInfo",
            "CareTeam:managing-organization",
            "EpisodeOfCare:care-manager"
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference",
              "documentation": "Who care plan is for"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "draft | active | suspended | completed | entered-in-error | cancelled | unknown"
            },
            {
              "name": "care-team",
              "type": "reference",
              "documentation": "Who's involved in plan?"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "category",
              "type": "token",
              "documentation": "Type of plan"
            },
            {
              "name": "context",
              "type": "reference",
              "documentation": "Created in context of"
            },
            {
              "name": "priority-code",
              "type": "string"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "draft | active | suspended | completed | entered-in-error | cancelled | unknown"
            },
            {
              "name": "subject",
              "type": "reference",
              "documentation": "Who care plan is for"
            },
            {
              "name": "care-team",
              "type": "reference",
              "documentation": "Who's involved in plan?"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "care-team",
              "type": "reference",
              "documentation": "Who's involved in plan?"
            },
            {
              "name": "category",
              "type": "token",
              "documentation": "Type of plan"
            },
            {
              "name": "context",
              "type": "reference",
              "documentation": "Created in context of"
            },
            {
              "name": "priority-code",
              "type": "string"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "draft | active | suspended | completed | entered-in-error | cancelled | unknown"
            },
            {
              "name": "subject",
              "type": "reference",
              "documentation": "Who care plan is for"
            },
            {
              "name": "patient",
              "type": "reference",
              "documentation": "Who care plan is for"
            }
          ]
        },
        {
          "type": "CareTeam",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/CareTeam"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "managing-organization",
              "type": "reference"
            }
          ]
        },
        {
          "type": "Communication",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Communication"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "based-on",
              "type": "reference",
              "documentation": "Request fulfilled by this communication"
            }
          ]
        },
        {
          "type": "Consent",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Consent"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "Endpoint",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Endpoint"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "EpisodeOfCare",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/EpisodeOfCare"
          },
          "interaction": [
            {
              "code": "read"
            }
          ]
        },
        {
          "type": "HealthcareService",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/HealthcareService"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "organization",
              "type": "reference",
              "documentation": "The organization that provides this Healthcare Service"
            },
            {
              "name": "organization",
              "type": "token",
              "documentation": "The organization that provides this Healthcare Service"
            }
          ]
        },
        {
          "type": "Location",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Location"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "MedicationStatement",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/MedicationStatement"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "subject",
              "type": "reference",
              "documentation": "The identity of a patient, animal or group to list statements for"
            }
          ]
        },
        {
          "type": "Observation",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Observation"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "patient",
              "type": "reference",
              "documentation": "The subject that the observation is about (if patient)"
            },
            {
              "name": "code",
              "type": "token",
              "documentation": "The code of the observation type"
            },
            {
              "name": "date",
              "type": "date",
              "documentation": "Obtained date/time. If the obtained element is a period, a date that falls in the period"
            }
          ]
        },
        {
          "type": "OperationDefinition",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/OperationDefinition"
          },
          "interaction": [
            {
              "code": "read"
            }
          ]
        },
        {
          "type": "Organization",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Organization"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "Any identifier for the organization (not the accreditation issuer's identifier)"
            },
            {
              "name": "_has",
              "type": "string"
            },
            {
              "name": "accessType",
              "type": "string"
            }
          ]
        },
        {
          "type": "Patient",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Patient"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "A patient identifier"
            }
          ]
        },
        {
          "type": "Person",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Person"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "A person Identifier"
            },
            {
              "name": "patient",
              "type": "token",
              "documentation": "The Person links to this Patient"
            },
            {
              "name": "practitioner",
              "type": "token",
              "documentation": "The Person links to this Practitioner"
            }
          ]
        },
        {
          "type": "PlanDefinition",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/PlanDefinition"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ]
        },
        {
          "type": "Practitioner",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Practitioner"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "PractitionerRole",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/PractitionerRole"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "searchParam": [
            {
              "name": "practitioner",
              "type": "reference",
              "documentation": "Practitioner that is able to provide the defined services for the organation"
            }
          ]
        },
        {
          "type": "Questionnaire",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/Questionnaire"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "delete"
            },
            {
              "code": "create"
            },
            {
              "code": "search-type"
            }
          ],
          "conditionalUpdate": true,
          "searchParam": [
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "context",
              "type": "string"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "publisher",
              "type": "string",
              "documentation": "Name of the publisher of the questionnaire"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "_profile",
              "type": "token"
            },
            {
              "name": "_profile",
              "type": "token"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "_tag",
              "type": "token"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the questionnaire"
            },
            {
              "name": "_language",
              "type": "string",
              "documentation": "The language of the resource"
            },
            {
              "name": "identifier",
              "type": "token",
              "documentation": "External identifier for the questionnaire"
            }
          ]
        },
        {
          "type": "QuestionnaireResponse",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/QuestionnaireResponse"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "ReferralRequest",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/ReferralRequest"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "update"
            },
            {
              "code": "create"
            }
          ]
        },
        {
          "type": "StructureDefinition",
          "profile": {
            "reference": "http://hl7.org/fhir/Profile/StructureDefinition"
          },
          "interaction": [
            {
              "code": "read"
            },
            {
              "code": "search-type"
            }
          ]
        }
      ],
      "operation": [
        {
          "name": "search-regional-activities-by-care-plan",
          "definition": {
            "reference": "OperationDefinition/ActivityDefinition--search-regional-activities-by-care-plan"
          }
        },
        {
          "name": "get-next-bookable-appointment",
          "definition": {
            "reference": "OperationDefinition/Appointment--get-next-bookable-appointment"
          }
        },
        {
          "name": "confirm-appointment",
          "definition": {
            "reference": "OperationDefinition/Appointment--confirm-appointment"
          }
        },
        {
          "name": "add-activitydefinitions",
          "definition": {
            "reference": "OperationDefinition/CarePlan--add-activitydefinitions"
          }
        },
        {
          "name": "activate",
          "definition": {
            "reference": "OperationDefinition/CarePlan--activate"
          }
        },
        {
          "name": "send",
          "definition": {
            "reference": "OperationDefinition/CarePlan--send"
          }
        },
        {
          "name": "send-to-service-request-list",
          "definition": {
            "reference": "OperationDefinition/CarePlan--send-to-service-request-list"
          }
        },
        {
          "name": "send-unconfirmed",
          "definition": {
            "reference": "OperationDefinition/CarePlan--send-unconfirmed"
          }
        },
        {
          "name": "assign",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-assign"
          }
        },
        {
          "name": "send-and-assign",
          "definition": {
            "reference": "OperationDefinition/CarePlan--send-and-assign"
          }
        },
        {
          "name": "priorities",
          "definition": {
            "reference": "OperationDefinition/CarePlan--priorities"
          }
        },
        {
          "name": "search-servicerequests",
          "definition": {
            "reference": "OperationDefinition/CarePlan--search-servicerequests"
          }
        },
        {
          "name": "refresh-status",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-refresh-status"
          }
        },
        {
          "name": "set-goal",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-set-goal"
          }
        },
        {
          "name": "set-priority",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-set-priority"
          }
        },
        {
          "name": "with-supporting-info",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-with-supporting-info"
          }
        },
        {
          "name": "add-freeform-activity",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-add-freeform-activity"
          }
        },
        {
          "name": "add-coaching-activity",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-add-coaching-activity"
          }
        },
        {
          "name": "add-activity",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-add-activity"
          }
        },
        {
          "name": "add-questionnaire-response",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-add-questionnaire-response"
          }
        },
        {
          "name": "add-symptoms",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-add-symptoms"
          }
        },
        {
          "name": "complete",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-complete"
          }
        },
        {
          "name": "reactivate",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-reactivate"
          }
        },
        {
          "name": "start-coaching-plan",
          "definition": {
            "reference": "OperationDefinition/CarePlan--start-coaching-plan"
          }
        },
        {
          "name": "complete-coaching-activity",
          "definition": {
            "reference": "OperationDefinition/CarePlan-i-complete-coaching-activity"
          }
        },
        {
          "name": "getMissingRequiredConsentsByPatientId",
          "definition": {
            "reference": "OperationDefinition/Consent--getMissingRequiredConsentsByPatientId"
          }
        },
        {
          "name": "updateByQuestionnaireResponse",
          "definition": {
            "reference": "OperationDefinition/Consent--updateByQuestionnaireResponse"
          }
        },
        {
          "name": "populateConsentQuestionnaireResponse",
          "definition": {
            "reference": "OperationDefinition/Consent--populateConsentQuestionnaireResponse"
          }
        },
        {
          "name": "get-template-by-code",
          "definition": {
            "reference": "OperationDefinition/Observation--get-template-by-code"
          }
        },
        {
          "name": "search-by-healthcare-service",
          "definition": {
            "reference": "OperationDefinition/Organization--search-by-healthcare-service"
          }
        },
        {
          "name": "create-account",
          "definition": {
            "reference": "OperationDefinition/Patient--create-account"
          }
        },
        {
          "name": "everything",
          "definition": {
            "reference": "OperationDefinition/Patient-i-everything"
          }
        },
        {
          "name": "search-by-nationalid",
          "definition": {
            "reference": "OperationDefinition/Patient--search-by-nationalid"
          }
        },
        {
          "name": "get-by-patientid",
          "definition": {
            "reference": "OperationDefinition/Person--get-by-patientid"
          }
        },
        {
          "name": "search-patient-by-partial-identifier",
          "definition": {
            "reference": "OperationDefinition/Person--search-patient-by-partial-identifier"
          }
        },
        {
          "name": "search-practitioner-by-partial-name",
          "definition": {
            "reference": "OperationDefinition/Person--search-practitioner-by-partial-name"
          }
        },
        {
          "name": "create-careplan",
          "definition": {
            "reference": "OperationDefinition/PlanDefinition-i-create-careplan"
          }
        },
        {
          "name": "apply",
          "definition": {
            "reference": "OperationDefinition/PlanDefinition--apply"
          }
        },
        {
          "name": "apply",
          "definition": {
            "reference": "OperationDefinition/PlanDefinition-i-apply"
          }
        },
        {
          "name": "create-account",
          "definition": {
            "reference": "OperationDefinition/Practitioner--create-account"
          }
        },
        {
          "name": "search-by-nationalid",
          "definition": {
            "reference": "OperationDefinition/Practitioner--search-by-nationalid"
          }
        },
        {
          "name": "populate",
          "definition": {
            "reference": "OperationDefinition/Questionnaire-i-populate"
          }
        },
        {
          "name": "add-symptoms",
          "definition": {
            "reference": "OperationDefinition/QuestionnaireResponse--add-symptoms"
          }
        },
        {
          "name": "check-symptoms",
          "definition": {
            "reference": "OperationDefinition/QuestionnaireResponse--check-symptoms"
          }
        }
      ]
    }
  ]
}