<?xml version="1.0" encoding="UTF-8"?>

<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="CcaCapabilityStatement"/>
  <text>
    <status value="additional"/><div xmlns="http://www.w3.org/1999/xhtml">CCA capabilities</div>
  </text>
  <url value="http://hl7.org.nz/fhir/ig/cca/CapabilityStatement/CcaCapabilityStatement"/>
  <version value="0.1.0"/>
  <name value="HPI_CapabilityStatement"/>
  <title value="Capability Statement describing CCA FHIR APIs"/>
  <status value="draft"/>
  <date value="2020-04-01"/>
  <publisher value="Te Aho o Te Kahu, Cancer Control Agency"/>
  <description value="This is the computable resource that describes the RESTful endpoint"/>
  <kind value="instance"/>
  <implementation>
    <description value="The regimen query endpoint"/>
    <url value="http://moh.org.nz/hpi/fhir"/>
  </implementation>
  <fhirVersion value="4.0.1"/>
  <format value="json"/>
  <rest>
    <mode value="server"/>
    <resource>
      <type value="PlanDefinition"/>
      <supportedProfile value="http://hl7.org.nz/fhir/StructureDefinition/CcaPlanDefinition"/>
      <documentation value="PlanDefinition query&#xA;"/>
      <interaction>
        <code value="read"/>
        <documentation value="Used to retrieve a PlanDefinition resource by Id."/>
      </interaction>
    </resource>
  </rest>
</CapabilityStatement>