FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CapabilityStatement/phr (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

PHR Example

@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:id [ fhir:v "phr"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n     \n      \n      <p>Prototype Capability Statement for September 2013 Connectathon</p>\n     \n      \n      <p>The server offers read and search support on the following resource types:</p>\n     \n      \n      <ul>\n      \n        \n        <li>Patient</li>\n      \n        \n        <li>DocumentReference</li>\n      \n        \n        <li>Condition</li>\n      \n        \n        <li>DiagnosticReport</li>\n    \n      \n      </ul>\n    \n    \n    </div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fhir" ]
  ] ) ; # 
  fhir:name [ fhir:v "PHRTemplate"] ; # 
  fhir:title [ fhir:v "PHR Template"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2013-06-18"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Prototype Capability Statement for September 2013 Connectathon"] ; # 
  fhir:kind [ fhir:v "capability"] ; # 
  fhir:software [
     fhir:name [ fhir:v "ACME PHR Server" ]
  ] ; # 
  fhir:fhirVersion [ fhir:v "6.0.0"] ; # 
  fhir:format ( [ fhir:v "json"] [ fhir:v "xml"] ) ; # 
  fhir:rest ( [
     fhir:mode [ fhir:v "server" ] ;
     fhir:documentation [ fhir:v "Protoype server Capability Statement for September 2013 Connectathon" ] ;
     fhir:security [
       fhir:service ( [
         fhir:text [ fhir:v "OAuth" ]
       ] ) ;
       fhir:description [ fhir:v "We recommend that PHR servers use standard OAuth using a          standard 3rd party provider. We are not testing the ability to provide an          OAuth authentication/authorization service itself, and nor is providing          any security required for the connectathon at all" ]
     ] ;
     fhir:resource ( [
       fhir:type [ fhir:v "Patient" ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "search-type" ] ;
         fhir:documentation [ fhir:v "When a client searches patients with no search criteria, they get a list of all patients they have access too. Servers may elect to offer additional search parameters, but this is not required" ]
       ] )
     ] [
       fhir:type [ fhir:v "DocumentReference" ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "search-type" ]
       ] ) ;
       fhir:searchParam ( [
         fhir:name [ fhir:v "_id" ] ;
         fhir:type [ fhir:v "token" ] ;
         fhir:documentation [ fhir:v "_id parameter always supported. For the connectathon, servers may elect which search parameters are supported" ]
       ] )
     ] [
       fhir:type [ fhir:v "Condition" ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "search-type" ]
       ] ) ;
       fhir:searchParam ( [
         fhir:name [ fhir:v "_id" ] ;
         fhir:type [ fhir:v "token" ] ;
         fhir:documentation [ fhir:v "Standard _id parameter" ]
       ] )
     ] [
       fhir:type [ fhir:v "DiagnosticReport" ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "search-type" ]
       ] ) ;
       fhir:searchParam ( [
         fhir:name [ fhir:v "_id" ] ;
         fhir:type [ fhir:v "token" ] ;
         fhir:documentation [ fhir:v "Standard _id parameter" ]
       ] [
         fhir:name [ fhir:v "service" ] ;
         fhir:type [ fhir:v "token" ] ;
         fhir:documentation [ fhir:v "which diagnostic discipline/department created the report" ]
       ] )
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.