Subscriptions R5 Backport
1.1.0 - Standard for Trial Use International flag

This page is part of the Subscriptions R5 Backport (v1.1.0: STU 1.1) based on FHIR v4.3.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: R4 CapabilityStatement: Server Example - TTL Representation

Active as of 2020-11-30

Raw ttl | Download


@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 "r4-capabilitystatement-example-server"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2/><div><p>R4 example of a CapabilityStatement advertising support for topic-based subscriptions and a few topics.</p>\n</div><table><tr><td>Mode</td><td>SERVER</td></tr><tr><td>Description</td><td/></tr><tr><td>Transaction</td><td></td></tr><tr><td>System History</td><td></td></tr><tr><td>System Search</td><td></td></tr></table><table><tr><th><b>Resource Type</b></th><th><b>Profile</b></th><th><b title=\"GET a resource (read interaction)\">Read</b></th><th><b title=\"GET all set of resources of the type (search interaction)\">Search</b></th><th><b title=\"PUT a new resource version (update interaction)\">Update</b></th><th><b title=\"POST a new resource (create interaction)\">Create</b></th><th><b title=\"DELETE a resource (delete interaction)\">Delete</b></th></tr><tr><td>Subscription</td><td>Supported profiles:<br/>  <a href=\"http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription\">http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription</a></td><td>y</td><td></td><td>y</td><td>y</td><td>y</td></tr><tr><td>Patient</td><td> </td><td>y</td><td></td><td>y</td><td>y</td><td>y</td></tr><tr><td>Encounter</td><td> </td><td>y</td><td></td><td>y</td><td>y</td><td>y</td></tr><tr><td>Observation</td><td> </td><td>y</td><td></td><td>y</td><td>y</td><td>y</td></tr></table></div>"
  ]; # 
  fhir:CapabilityStatement.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/CapabilityStatement/r4-capabilitystatement-example-server"]; # 
  fhir:CapabilityStatement.version [ fhir:value "1.1.0"]; # 
  fhir:CapabilityStatement.status [ fhir:value "active"]; # 
  fhir:CapabilityStatement.date [ fhir:value "2020-11-30"^^xsd:date]; # 
  fhir:CapabilityStatement.publisher [ fhir:value "HL7 FHIR Infrastructure WG"]; # 
  fhir:CapabilityStatement.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 FHIR Infrastructure WG" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://hl7.org/Special/committees/fiwg" ]     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "Gino Canessa" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "mailto:gino.canessa@microsoft.com" ]     ]
  ], [
     fhir:index 2;
     fhir:ContactDetail.name [ fhir:value "Eric Haas" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "mailto:ehaas@healthedatainc.com" ]     ]
  ]; # 
  fhir:CapabilityStatement.description [ fhir:value "R4 example of a CapabilityStatement advertising support for topic-based subscriptions and a few topics."]; # 
  fhir:CapabilityStatement.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
       fhir:Coding.code [ fhir:value "001" ];
       fhir:Coding.display [ fhir:value "World" ]     ]
  ]; # 
  fhir:CapabilityStatement.kind [ fhir:value "requirements"]; # 
  fhir:CapabilityStatement.instantiates [
     fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/CapabilityStatement/backport-subscription-server-r4";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/CapabilityStatement/backport-subscription-server-r4>
  ]; # 
  fhir:CapabilityStatement.fhirVersion [ fhir:value "4.0.1"]; # 
  fhir:CapabilityStatement.format [
     fhir:value "xml";
     fhir:index 0
  ], [
     fhir:value "json";
     fhir:index 1
  ]; # 
  fhir:CapabilityStatement.implementationGuide [
     fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/ImplementationGuide/hl7.fhir.uv.subscriptions-backport";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/ImplementationGuide/hl7.fhir.uv.subscriptions-backport>
  ]; # 
  fhir:CapabilityStatement.rest [
     fhir:index 0;
     fhir:CapabilityStatement.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement.rest.resource [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/capabilitystatement-subscriptiontopic-canonical" ];
         fhir:Extension.valueCanonical [
           fhir:value "http://example.org/topics/patient-admission";
           fhir:link <http://example.org/topics/patient-admission>         ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/capabilitystatement-subscriptiontopic-canonical" ];
         fhir:Extension.valueCanonical [
           fhir:value "http://example.org/topics/patient-discharge";
           fhir:link <http://example.org/topics/patient-discharge>         ]       ];
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Subscription" ];
       fhir:CapabilityStatement.rest.resource.supportedProfile [
         fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription";
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-subscription>       ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]       ];
       fhir:CapabilityStatement.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "url" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Subscription-url";
           fhir:link <http://hl7.org/fhir/SearchParameter/Subscription-url>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "uri" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.searchParam.name [ fhir:value "status" ];
         fhir:CapabilityStatement.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Subscription-status";
           fhir:link <http://hl7.org/fhir/SearchParameter/Subscription-status>         ];
         fhir:CapabilityStatement.rest.resource.searchParam.type [ fhir:value "token" ]       ];
       fhir:CapabilityStatement.rest.resource.operation [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "$status" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-status";
           fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-status>         ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "$events" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-events";
           fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-events>         ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.operation.name [ fhir:value "$get-ws-binding-token" ];
         fhir:CapabilityStatement.rest.resource.operation.definition [
           fhir:value "http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-get-ws-binding-token";
           fhir:link <http://hl7.org/fhir/uv/subscriptions-backport/OperationDefinition/backport-subscription-get-ws-binding-token>         ]       ]     ], [
       fhir:index 1;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Patient" ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]       ]     ], [
       fhir:index 2;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Encounter" ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]       ]     ], [
       fhir:index 3;
       fhir:CapabilityStatement.rest.resource.type [ fhir:value "Observation" ];
       fhir:CapabilityStatement.rest.resource.interaction [
         fhir:index 0;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "read" ]       ], [
         fhir:index 1;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "create" ]       ], [
         fhir:index 2;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "update" ]       ], [
         fhir:index 3;
         fhir:CapabilityStatement.rest.resource.interaction.code [ fhir:value "delete" ]       ]     ]
  ]. # 

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

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