Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Capabilitystatement-phr-example.ttl

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

PHR Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CapabilityStatement;
  fhir:Resource.id [ fhir:value "phr"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CapabilityStatement.name [ fhir:value "PHR Template"];
  fhir:CapabilityStatement.status [ fhir:value "draft"];
  fhir:CapabilityStatement.experimental [ fhir:value "true"];
  fhir:CapabilityStatement.date [ fhir:value "2013-06-18"];
  fhir:CapabilityStatement.publisher [ fhir:value "FHIR Project"];
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:CapabilityStatement.description [ fhir:value "Prototype Capability Statement for September 2013 Connectathon"];
  fhir:CapabilityStatement.kind [ fhir:value "capability"];
  fhir:CapabilityStatement.software [
     fhir:CapabilityStatement.name [ fhir:value "ACME PHR Server" ]
  ];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.3.0"];
  fhir:CapabilityStatement.format [
     fhir:value "json";
     fhir:index 0
  ], [
     fhir:value "xml";
     fhir:index 1
  ];
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.documentation [ fhir:value "Protoype server Capability Statement for September 2013 Connectathon" ];
     fhir:CapabilityStatement.security [
       fhir:CapabilityStatement.service [
         fhir:index 0;
         fhir:CodeableConcept.text [ fhir:value "OAuth" ]
       ];
       fhir:CapabilityStatement.description [ fhir:value "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:CapabilityStatement.resource [
       fhir:index 0;
       fhir:CapabilityStatement.type [ fhir:value "Patient" ];
       fhir:CapabilityStatement.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.code [ fhir:value "read" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement.code [ fhir:value "search-type" ];
         fhir:CapabilityStatement.documentation [ fhir:value "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:index 1;
       fhir:CapabilityStatement.type [ fhir:value "DocumentReference" ];
       fhir:CapabilityStatement.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.code [ fhir:value "read" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement.code [ fhir:value "search-type" ]
       ];
       fhir:CapabilityStatement.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.type [ fhir:value "token" ];
         fhir:CapabilityStatement.documentation [ fhir:value "_id parameter always supported. For the connectathon, servers may elect which search parameters are supported" ]
       ]
     ], [
       fhir:index 2;
       fhir:CapabilityStatement.type [ fhir:value "Condition" ];
       fhir:CapabilityStatement.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.code [ fhir:value "read" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement.code [ fhir:value "search-type" ]
       ];
       fhir:CapabilityStatement.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.type [ fhir:value "token" ];
         fhir:CapabilityStatement.documentation [ fhir:value "Standard _id parameter" ]
       ]
     ], [
       fhir:index 3;
       fhir:CapabilityStatement.type [ fhir:value "DiagnosticReport" ];
       fhir:CapabilityStatement.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.code [ fhir:value "read" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement.code [ fhir:value "search-type" ]
       ];
       fhir:CapabilityStatement.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.name [ fhir:value "_id" ];
         fhir:CapabilityStatement.type [ fhir:value "token" ];
         fhir:CapabilityStatement.documentation [ fhir:value "Standard _id parameter" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement.name [ fhir:value "service" ];
         fhir:CapabilityStatement.type [ fhir:value "token" ];
         fhir:CapabilityStatement.documentation [ fhir:value "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.