This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any 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 ------------------------------------------------------------------- <http://hl7.org/fhir/CapabilityStatement2/phr> a fhir:CapabilityStatement2; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "phr"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n \n <p>Prototype Capability Statement for September 2013 Connectathon</p>\n \n <p>The server offers read and search support on the following resource types:</p>\n \n <ul>\n \n <li>Patient</li>\n \n <li>DocumentReference</li>\n \n <li>Condition</li>\n \n <li>DiagnosticReport</li>\n \n </ul>\n \n </div>" ]; fhir:CapabilityStatement2.name [ fhir:value "PHR Template"]; fhir:CapabilityStatement2.status [ fhir:value "draft"]; fhir:CapabilityStatement2.date [ fhir:value "2013-06-18"^^xsd:date]; fhir:CapabilityStatement2.publisher [ fhir:value "FHIR Project"]; fhir:CapabilityStatement2.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:CapabilityStatement2.description [ fhir:value "Prototype Capability Statement for September 2013 Connectathon"]; fhir:CapabilityStatement2.kind [ fhir:value "capability"]; fhir:CapabilityStatement2.software [ fhir:CapabilityStatement2.software.name [ fhir:value "ACME PHR Server" ] ]; fhir:CapabilityStatement2.fhirVersion [ fhir:value "4.5.0"]; fhir:CapabilityStatement2.format [ fhir:value "json"; fhir:index 0 ], [ fhir:value "xml"; fhir:index 1 ]; fhir:CapabilityStatement2.rest [ fhir:index 0; fhir:CapabilityStatement2.rest.mode [ fhir:value "server" ]; fhir:CapabilityStatement2.rest.documentation [ fhir:value "Protoype server Capability Statement for September 2013 Connectathon" ]; fhir:CapabilityStatement2.rest.resource [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.type [ fhir:value "Patient" ]; fhir:CapabilityStatement2.rest.resource.interaction [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "read" ] ], [ fhir:index 1; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "search-type" ]; fhir:CapabilityStatement2.rest.resource.interaction.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:CapabilityStatement2.rest.resource.type [ fhir:value "DocumentReference" ]; fhir:CapabilityStatement2.rest.resource.interaction [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "read" ] ], [ fhir:index 1; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "search-type" ] ]; fhir:CapabilityStatement2.rest.resource.searchParam [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "_id" ]; fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "token" ]; fhir:CapabilityStatement2.rest.resource.searchParam.documentation [ fhir:value "_id parameter always supported. For the connectathon, servers may elect which search parameters are supported" ] ] ], [ fhir:index 2; fhir:CapabilityStatement2.rest.resource.type [ fhir:value "Condition" ]; fhir:CapabilityStatement2.rest.resource.interaction [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "read" ] ], [ fhir:index 1; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "search-type" ] ]; fhir:CapabilityStatement2.rest.resource.searchParam [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "_id" ]; fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "token" ]; fhir:CapabilityStatement2.rest.resource.searchParam.documentation [ fhir:value "Standard _id parameter" ] ] ], [ fhir:index 3; fhir:CapabilityStatement2.rest.resource.type [ fhir:value "DiagnosticReport" ]; fhir:CapabilityStatement2.rest.resource.interaction [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "read" ] ], [ fhir:index 1; fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "search-type" ] ]; fhir:CapabilityStatement2.rest.resource.searchParam [ fhir:index 0; fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "_id" ]; fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "token" ]; fhir:CapabilityStatement2.rest.resource.searchParam.documentation [ fhir:value "Standard _id parameter" ] ], [ fhir:index 1; fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "service" ]; fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "token" ]; fhir:CapabilityStatement2.rest.resource.searchParam.documentation [ fhir:value "which diagnostic discipline/department created the report" ] ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/CapabilityStatement2/phr.ttl> a owl:Ontology; owl:imports fhir:fhir.ttl; owl:versionIRI <http://build.fhir.org/CapabilityStatement2/phr.ttl> . # -------------------------------------------------------------------------------------
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.