Implementation Guide (Release 0.2.0 )

This page is part of a downloaded copy of this specification. This page is part of the Patient Reported Outcomes (PRO) FHIR IG (v0.2.0: STU 1 Ballot 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

## Turtle Format: CapabilityStatement-server

Raw ttl

    @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 -------------------------------------------------------------------

     a fhir:CapabilityStatement;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "server"];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<ul><li>FHIR Version: 3.0.0</li><li>Supported formats: xml, json</li><li>Published: 2017-03-08</li><li>Published by: Health eData Inc</li></ul><p>The Section describes the expected capabilities etc....</p></div>"
      ];
      fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/us/patient-reported-outcomes/CapabilityStatement/server"];
      fhir:CapabilityStatement.version [ fhir:value "0.2.0"];
      fhir:CapabilityStatement.name [ fhir:value "Server"];
      fhir:CapabilityStatement.status [ fhir:value "draft"];
      fhir:CapabilityStatement.date [ fhir:value "2017-03-08T00:00:00+11:00"^^xsd:dateTime];
      fhir:CapabilityStatement.publisher [ fhir:value "Health eData Inc"];
      fhir:CapabilityStatement.contact [
         fhir:index 0;
         fhir:ContactDetail.telecom [
           fhir:index 0;
           fhir:ContactPoint.system [ fhir:value "other" ];
           fhir:ContactPoint.value [ fhir:value "ehaas@healthedatainc.com" ]     ]
      ];
      fhir:CapabilityStatement.description [ fhir:value "This resource defines the expected capabilities "];
      fhir:CapabilityStatement.kind [ fhir:value "requirements"];
      fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.0"];
      fhir:CapabilityStatement.format [
         fhir:value "xml";
         fhir:index 0
      ], [
         fhir:value "json";
         fhir:index 1
      ];
      fhir:CapabilityStatement.rest [
         fhir:index 0;
         fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
         fhir:CapabilityStatement.rest.resource [
           fhir:index 0;
           fhir:CapabilityStatement.rest.resource.type [ fhir:value "Basic" ];
           fhir:CapabilityStatement.rest.resource.interaction [
             fhir:index 0;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "search-type" ]       ], [
             fhir:index 1;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
             fhir:index 2;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "history-instance" ]       ], [
             fhir:index 3;
             fhir:Element.extension [
               fhir:index 0;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" ];
               fhir:Extension.valueCode [ fhir:value "SHOULD" ]         ];
             fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "vread" ]       ]     ]
      ].

    # - ontology header ------------------------------------------------------------

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.