STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 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

Conformance-example.ttl

Raw Turtle, JSON-LD

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 xs: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir//Conformance/example> a fhir:Conformance;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:Conformance.url [ fhir:value "68D043B5-9ECF-4559-A57A-396E0D452311"];
  fhir:Conformance.version [ fhir:value "20130510"];
  fhir:Conformance.name [ fhir:value "ACME EHR Conformance statement"];
  fhir:Conformance.status [ fhir:value "draft"];
  fhir:Conformance.experimental [ fhir:value "true"^^xs:boolean];
  fhir:Conformance.date [ fhir:value "2012-01-04"^^xs:date];
  fhir:Conformance.publisher [ fhir:value "ACME Corporation"];
  fhir:Conformance.contact [
     fhir:index 0;
     fhir:Conformance.contact.name [ fhir:value "System Administrator" ];
     fhir:Conformance.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "wile@acme.org" ]     ]
  ];
  fhir:Conformance.description [ fhir:value "This is the FHIR conformance statement for the main EHR at ACME for the private interface - it does not describe the public interface"];
  fhir:Conformance.requirements [ fhir:value "Main EHR conformance statement, published for contracting and operational support"];
  fhir:Conformance.copyright [ fhir:value "Copyright © Acme Healthcare and GoodCorp EHR Systems"];
  fhir:Conformance.kind [ fhir:value "instance"];
  fhir:Conformance.software [
     fhir:Conformance.software.name [ fhir:value "EHR" ];
     fhir:Conformance.software.version [ fhir:value "0.00.020.2134" ];
     fhir:Conformance.software.releaseDate [ fhir:value "2012-01-04"^^xs:date ]
  ];
  fhir:Conformance.implementation [
     fhir:Conformance.implementation.description [ fhir:value "main EHR at ACME" ];
     fhir:Conformance.implementation.url [ fhir:value "http://10.2.3.4/fhir" ]
  ];
  fhir:Conformance.fhirVersion [ fhir:value "1.0.0"];
  fhir:Conformance.acceptUnknown [ fhir:value "both"];
  fhir:Conformance.format [
     fhir:value "xml";
     fhir:index 0
  ];
  fhir:Conformance.format [
     fhir:value "json";
     fhir:index 1
  ];
  fhir:Conformance.rest [
     fhir:index 0;
     fhir:Conformance.rest.mode [ fhir:value "server" ];
     fhir:Conformance.rest.documentation [ fhir:value "Main FHIR endpoint for acem health" ];
     fhir:Conformance.rest.security [
       fhir:Conformance.rest.security.cors [ fhir:value "true"^^xs:boolean ];
       fhir:Conformance.rest.security.service [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/restful-security-service" ];
           fhir:Coding.code [ fhir:value "SMART-on-FHIR" ]         ]       ];
       fhir:Conformance.rest.security.description [ fhir:value "See Smart on FHIR documentation" ];
       fhir:Conformance.rest.security.certificate [
         fhir:index 0;
         fhir:Conformance.rest.security.certificate.type [ fhir:value "application/jwt" ];
         fhir:Conformance.rest.security.certificate.blob [ fhir:value "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ="^^xs:base64Binary ]       ]     ];
     fhir:Conformance.rest.resource [
       fhir:index 0;
       fhir:Conformance.rest.resource.type [ fhir:value "Patient" ];
       fhir:Conformance.rest.resource.profile [
         fhir:reference <http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416>;
         fhir:Reference.reference [ fhir:value "http://fhir.hl7.org/base/Profile7896271d-57f6-4231-89dc-dcc91eab2416" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 0;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "read" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 1;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "vread" ];
         fhir:Conformance.rest.resource.interaction.documentation [ fhir:value "Only supported for patient records since 12-Dec 2012" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 2;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "update" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 3;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "history-instance" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 4;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "create" ]       ];
       fhir:Conformance.rest.resource.interaction [
         fhir:index 5;
         fhir:Conformance.rest.resource.interaction.code [ fhir:value "history-type" ]       ];
       fhir:Conformance.rest.resource.versioning [ fhir:value "versioned-update" ];
       fhir:Conformance.rest.resource.readHistory [ fhir:value "true"^^xs:boolean ];
       fhir:Conformance.rest.resource.updateCreate [ fhir:value "false"^^xs:boolean ];
       fhir:Conformance.rest.resource.conditionalCreate [ fhir:value "true"^^xs:boolean ];
       fhir:Conformance.rest.resource.conditionalUpdate [ fhir:value "false"^^xs:boolean ];
       fhir:Conformance.rest.resource.conditionalDelete [ fhir:value "not-supported" ];
       fhir:Conformance.rest.resource.searchInclude [
         fhir:value "Organization";
         fhir:index 0       ];
       fhir:Conformance.rest.resource.searchRevInclude [
         fhir:value "Person";
         fhir:index 0       ];
       fhir:Conformance.rest.resource.searchParam [
         fhir:index 0;
         fhir:Conformance.rest.resource.searchParam.name [ fhir:value "identifier" ];
         fhir:Conformance.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/Patient-identifier" ];
         fhir:Conformance.rest.resource.searchParam.type [ fhir:value "token" ];
         fhir:Conformance.rest.resource.searchParam.documentation [ fhir:value "Only supports search by institution MRN" ];
         fhir:Conformance.rest.resource.searchParam.modifier [
           fhir:value "missing";
           fhir:index 0         ]       ];
       fhir:Conformance.rest.resource.searchParam [
         fhir:index 1;
         fhir:Conformance.rest.resource.searchParam.name [ fhir:value "careprovider" ];
         fhir:Conformance.rest.resource.searchParam.definition [ fhir:value "http://hl7.org/fhir/SearchParameter/Patient-careprovider" ];
         fhir:Conformance.rest.resource.searchParam.type [ fhir:value "reference" ];
         fhir:Conformance.rest.resource.searchParam.target [
           fhir:value "Organization";
           fhir:index 0         ];
         fhir:Conformance.rest.resource.searchParam.modifier [
           fhir:value "missing";
           fhir:index 0         ];
         fhir:Conformance.rest.resource.searchParam.chain [
           fhir:value "name";
           fhir:index 0         ];
         fhir:Conformance.rest.resource.searchParam.chain [
           fhir:value "identifier";
           fhir:index 1         ]       ]     ];
     fhir:Conformance.rest.interaction [
       fhir:index 0;
       fhir:Conformance.rest.interaction.code [ fhir:value "transaction" ]     ];
     fhir:Conformance.rest.interaction [
       fhir:index 1;
       fhir:Conformance.rest.interaction.code [ fhir:value "history-system" ]     ];
     fhir:Conformance.rest.compartment [
       fhir:value "http://hl7.org/fhir/compartment/Patient";
       fhir:index 0     ]
  ];
  fhir:Conformance.messaging [
     fhir:index 0;
     fhir:Conformance.messaging.endpoint [
       fhir:index 0;
       fhir:Conformance.messaging.endpoint.protocol [
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-transport" ];
         fhir:Coding.code [ fhir:value "mllp" ]       ];
       fhir:Conformance.messaging.endpoint.address [ fhir:value "mllp:10.1.1.10:9234" ]     ];
     fhir:Conformance.messaging.reliableCache [ fhir:value "30"^^xs:int ];
     fhir:Conformance.messaging.documentation [ fhir:value "ADT A08 equivalent for external system notifications" ];
     fhir:Conformance.messaging.event [
       fhir:index 0;
       fhir:Conformance.messaging.event.code [
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-type" ];
         fhir:Coding.code [ fhir:value "admin-notify" ]       ];
       fhir:Conformance.messaging.event.category [ fhir:value "Consequence" ];
       fhir:Conformance.messaging.event.mode [ fhir:value "receiver" ];
       fhir:Conformance.messaging.event.focus [ fhir:value "Patient" ];
       fhir:Conformance.messaging.event.request [
         fhir:reference <http://hl7.org/fhir/StructureDefinition/daf-patient>;
         fhir:Reference.reference [ fhir:value "StructureDefinition/daf-patient" ]       ];
       fhir:Conformance.messaging.event.response [
         fhir:reference <http://hl7.org/fhir/StructureDefinition/MessageHeader>;
         fhir:Reference.reference [ fhir:value "StructureDefinition/MessageHeader" ]       ];
       fhir:Conformance.messaging.event.documentation [ fhir:value "Notification of an update to a patient resource. changing the links is not supported" ]     ]
  ];
  fhir:Conformance.document [
     fhir:index 0;
     fhir:Conformance.document.mode [ fhir:value "consumer" ];
     fhir:Conformance.document.documentation [ fhir:value "Basic rules for all documents in the EHR system" ];
     fhir:Conformance.document.profile [
       fhir:reference <http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796>;
       fhir:Reference.reference [ fhir:value "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" ]     ]
  ].

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


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.