Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Capabilitystatement2-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)

General Condition 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/example> a fhir:CapabilityStatement2;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>The EHR Server supports the following transactions for the resource Person: read, vread, \n        update, history, search(name,gender), create and updates.</p>\n			<p>The EHR System supports the following message: admin-notify::Person.</p>\n			<p>The EHR Application has a \n        <a href=\"http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796\">general document profile</a>.\n      </p>\n		</div>"
  ];
  fhir:CapabilityStatement2.url [ fhir:value "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311"];
  fhir:CapabilityStatement2.version [ fhir:value "20130510"];
  fhir:CapabilityStatement2.name [ fhir:value "ACME-EHR"];
  fhir:CapabilityStatement2.title [ fhir:value "ACME EHR capability statement"];
  fhir:CapabilityStatement2.status [ fhir:value "draft"];
  fhir:CapabilityStatement2.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:CapabilityStatement2.date [ fhir:value "2012-01-04"^^xsd:date];
  fhir:CapabilityStatement2.publisher [ fhir:value "ACME Corporation"];
  fhir:CapabilityStatement2.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "System Administrator" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "wile@acme.org" ]
     ]
  ];
  fhir:CapabilityStatement2.description [ fhir:value "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface"];
  fhir:CapabilityStatement2.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/variant-state" ];
         fhir:Coding.code [ fhir:value "positive" ]
       ]
     ]
  ];
  fhir:CapabilityStatement2.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America (the)" ]
     ]
  ];
  fhir:CapabilityStatement2.purpose [ fhir:value "Main EHR capability statement, published for contracting and operational support"];
  fhir:CapabilityStatement2.copyright [ fhir:value "Copyright © Acme Healthcare and GoodCorp EHR Systems"];
  fhir:CapabilityStatement2.kind [ fhir:value "instance"];
  fhir:CapabilityStatement2.instantiates [
     fhir:value "http://ihe.org/fhir/CapabilityStatement2/pixm-client";
     fhir:index 0;
     fhir:link <http://ihe.org/fhir/CapabilityStatement2/pixm-client>
  ];
  fhir:CapabilityStatement2.software [
     fhir:CapabilityStatement2.software.name [ fhir:value "EHR" ];
     fhir:CapabilityStatement2.software.version [ fhir:value "0.00.020.2134" ];
     fhir:CapabilityStatement2.software.releaseDate [ fhir:value "2012-01-04"^^xsd:date ]
  ];
  fhir:CapabilityStatement2.implementation [
     fhir:CapabilityStatement2.implementation.description [ fhir:value "main EHR at ACME" ];
     fhir:CapabilityStatement2.implementation.url [ fhir:value "http://10.2.3.4/fhir" ]
  ];
  fhir:CapabilityStatement2.fhirVersion [ fhir:value "4.6.0"];
  fhir:CapabilityStatement2.format [
     fhir:value "xml";
     fhir:index 0
  ], [
     fhir:value "json";
     fhir:index 1
  ];
  fhir:CapabilityStatement2.patchFormat [
     fhir:value "application/xml-patch+xml";
     fhir:index 0
  ], [
     fhir:value "application/json-patch+json";
     fhir:index 1
  ];
  fhir:CapabilityStatement2.implementationGuide [
     fhir:value "http://hl7.org/fhir/us/lab";
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/us/lab>
  ];
  fhir:CapabilityStatement2.rest [
     fhir:index 0;
     fhir:CapabilityStatement2.rest.mode [ fhir:value "server" ];
     fhir:CapabilityStatement2.rest.documentation [ fhir:value "Main FHIR endpoint for acem health" ];
     fhir:CapabilityStatement2.rest.resource [
       fhir:index 0;
       fhir:CapabilityStatement2.rest.resource.type [ fhir:value "Patient" ];
       fhir:CapabilityStatement2.rest.resource.profile [
         fhir:value "http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416";
         fhir:link <http://registry.fhir.org/r4/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416>
       ];
       fhir:CapabilityStatement2.rest.resource.supportedProfile [
         fhir:value "http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347";
         fhir:index 0;
         fhir:link <http://registry.fhir.org/r4/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347>
       ];
       fhir:CapabilityStatement2.rest.resource.documentation [ fhir:value "This server does not let the clients create identities." ];
       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 "vread" ];
         fhir:CapabilityStatement2.rest.resource.interaction.documentation [ fhir:value "Only supported for patient records since 12-Dec 2012" ]
       ], [
         fhir:index 2;
         fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "update" ]
       ], [
         fhir:index 3;
         fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "history-instance" ]
       ], [
         fhir:index 4;
         fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "create" ]
       ], [
         fhir:index 5;
         fhir:CapabilityStatement2.rest.resource.interaction.code [ fhir:value "history-type" ]
       ];
       fhir:CapabilityStatement2.rest.resource.searchParam [
         fhir:index 0;
         fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:CapabilityStatement2.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Patient-identifier";
           fhir:link <http://hl7.org/fhir/SearchParameter/Patient-identifier>
         ];
         fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:CapabilityStatement2.rest.resource.searchParam.documentation [ fhir:value "Only supports search by institution MRN" ]
       ], [
         fhir:index 1;
         fhir:CapabilityStatement2.rest.resource.searchParam.name [ fhir:value "general-practitioner" ];
         fhir:CapabilityStatement2.rest.resource.searchParam.definition [
           fhir:value "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner";
           fhir:link <http://hl7.org/fhir/SearchParameter/Patient-general-practitioner>
         ];
         fhir:CapabilityStatement2.rest.resource.searchParam.type [ fhir:value "reference" ]
       ]
     ];
     fhir:CapabilityStatement2.rest.interaction [
       fhir:index 0;
       fhir:CapabilityStatement2.rest.interaction.code [ fhir:value "transaction" ]
     ], [
       fhir:index 1;
       fhir:CapabilityStatement2.rest.interaction.code [ fhir:value "history-system" ]
     ];
     fhir:CapabilityStatement2.rest.compartment [
       fhir:value "http://hl7.org/fhir/CompartmentDefinition/patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/CompartmentDefinition/patient>
     ]
  ] .

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

<http://hl7.org/fhir/CapabilityStatement2/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/CapabilityStatement2/example.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.