@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.nz/fhir/ig/cca/CapabilityStatement/CcaCapabilityStatement> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "CcaCapabilityStatement"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">CCA capabilities</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://hl7.org.nz/fhir/ig/cca/CapabilityStatement/CcaCapabilityStatement"^^xsd:anyURI ;
     fhir:l <http://hl7.org.nz/fhir/ig/cca/CapabilityStatement/CcaCapabilityStatement>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "HPI_CapabilityStatement"] ; # 
  fhir:title [ fhir:v "Capability Statement describing CCA FHIR APIs"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2020-04-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Te Aho o Te Kahu, Cancer Control Agency"] ; # 
  fhir:description [ fhir:v "This is the computable resource that describes the RESTful endpoint"] ; # 
  fhir:kind [ fhir:v "instance"] ; # 
  fhir:implementation [
     fhir:description [ fhir:v "The regimen query endpoint" ] ;
     fhir:url [
       fhir:v "http://moh.org.nz/hpi/fhir"^^xsd:anyURI ;
       fhir:l <http://moh.org.nz/hpi/fhir>
     ]
  ] ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:format ( [ fhir:v "json"] ) ; # 
  fhir:rest ( [
     fhir:mode [ fhir:v "server" ] ;
     fhir:resource ( [
       fhir:type [ fhir:v "PlanDefinition" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://hl7.org.nz/fhir/StructureDefinition/CcaPlanDefinition"^^xsd:anyURI ;
         fhir:l <http://hl7.org.nz/fhir/StructureDefinition/CcaPlanDefinition>
       ] ) ;
       fhir:documentation [ fhir:v "PlanDefinition query\n" ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ] ;
         fhir:documentation [ fhir:v "Used to retrieve a PlanDefinition resource by Id." ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

