@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://smart.who.int/ddcc/CapabilityStatement/WHO.DDCC.RegistryService> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "WHO.DDCC.RegistryService"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Capability Statement for a DDCC RegistryService</p>\n         \n    </div>"
  ] ; # 
  fhir:url [ fhir:v "http://smart.who.int/ddcc/CapabilityStatement/WHO.DDCC.RegistryService"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "WHO_DDCC_RegistryService"] ; # 
  fhir:title [ fhir:v "WHO DDCC Registry Service"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2021-05-06"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "WHO"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "WHO" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://who.int" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "CapabilityStatement for WHO DDCC Registry Service actor."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ]
     ] )
  ] ) ; # 
  fhir:kind [ fhir:v "requirements"] ; # 
  fhir:fhirVersion [ fhir:v "4.3.0"] ; # 
  fhir:format ( [ fhir:v "application/fhir+xml"] [ fhir:v "application/fhir+json"] ) ; # 
  fhir:rest ( [
     fhir:mode [ fhir:v "server" ] ;
     fhir:documentation [ fhir:v "DDCC Registry Service Server Actor" ] ;
     fhir:resource ( [
       fhir:type [ fhir:v "Composition" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCComposition"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCComposition>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ] ;
         fhir:documentation [ fhir:v "DDCC Registry Service Actor for accepting a Registr Health Certificate transaction" ]
       ] ) ;
       fhir:operation ( [
         fhir:name [ fhir:v "$document" ] ;
         fhir:definition [
           fhir:v "http://hl7.org/fhir/OperationDefinition/Composition-document"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/OperationDefinition/Composition-document>
         ] ;
         fhir:documentation [ fhir:v "DDCC Registry Service Actor for responding to a Retrieve Health Certificate or Retrieve Health Folder transaction" ]
       ] )
     ] [
       fhir:type [ fhir:v "Patient" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCPatient"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCPatient>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "Organization" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCOrganization>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "Provenance" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCProvenance"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCProvenance>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "Practitioner" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCPractitioner"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCPractitioner>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "PractitionerRole" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCPractitionerRole"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCPractitionerRole>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "Immunization" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCImmunization"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCImmunization>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] [
       fhir:type [ fhir:v "List" ] ;
       fhir:supportedProfile ( [
         fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCFolder"^^xsd:anyURI ;
         fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCFolder>
       ] ) ;
       fhir:documentation [ fhir:v "." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ]
       ] )
     ] ) ;
     fhir:interaction ( [
       fhir:code [ fhir:v "batch" ] ;
       fhir:documentation [ fhir:v "DDCC Registry Service Actor for accepting a Registry Health Certificate" ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

