@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/CapabilityStatement/example> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311"^^xsd:anyURI ;
     fhir:l <urn:uuid:68d043b5-9ecf-4559-a57a-396e0d452311>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.34.2" ]
  ] ) ; # 
  fhir:version [ fhir:v "20130510"] ; # 
  fhir:name [ fhir:v "ACMEEHR"] ; # 
  fhir:title [ fhir:v "ACME EHR capability statement"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2012-01-04"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "focus" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/variant-state"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/variant-state>
         ] ;
         fhir:code [ fhir:v "positive" ]
       ] )
     ]
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "US" ] ;
       fhir:display [ fhir:v "United States of America" ]
     ] )
  ] ) ; # 
  fhir:purpose [ fhir:v "Main EHR capability statement, published for contracting and operational support"] ; # 
  fhir:copyright [ fhir:v "Copyright © Acme Healthcare and GoodCorp EHR Systems"] ; # 
  fhir:kind [ fhir:v "instance"] ; # 
  fhir:instantiates ( [
     fhir:v "http://ihe.org/fhir/CapabilityStatement/pixm-client"^^xsd:anyURI ;
     fhir:l <http://ihe.org/fhir/CapabilityStatement/pixm-client>
  ] ) ; # 
  fhir:software [
     fhir:name [ fhir:v "EHR" ] ;
     fhir:version [ fhir:v "0.00.020.2134" ] ;
     fhir:releaseDate [ fhir:v "2012-01-04"^^xsd:date ]
  ] ; # 
  fhir:implementation [
     fhir:description [ fhir:v "main EHR at ACME" ] ;
     fhir:url [
       fhir:v "http://10.2.3.4/fhir"^^xsd:anyURI ;
       fhir:l <http://10.2.3.4/fhir>
     ]
  ] ; # 
  fhir:fhirVersion [ fhir:v "6.0.0"] ; # 
  fhir:format ( [ fhir:v "xml"] [ fhir:v "json"] ) ; # 
  fhir:patchFormat ( [ fhir:v "application/xml-patch+xml"] [ fhir:v "application/json-patch+json"] ) ; # 
  fhir:acceptLanguage ( [ fhir:v "en"] [ fhir:v "es"] ) ; # 
  fhir:implementationGuide ( [
     fhir:v "http://example.org/fhir/us/lab"^^xsd:anyURI ;
     fhir:l <http://example.org/fhir/us/lab>
  ] ) ; # 
  fhir:rest ( [
     fhir:mode [ fhir:v "server" ] ;
     fhir:documentation [ fhir:v "Main FHIR endpoint for ACME health" ] ;
     fhir:security [
       fhir:cors [ fhir:v true ] ;
       fhir:service ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/restful-security-service"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/restful-security-service>
           ] ;
           fhir:code [ fhir:v "SMART-on-FHIR" ]
         ] )
       ] ) ;
       fhir:description [ fhir:v "See Smart on FHIR documentation" ]
     ] ;
     fhir:resource ( [
       fhir:type [
         fhir:v "Patient"^^xsd:anyURI ;
         fhir:l fhir:Patient
       ] ;
       fhir:profile [
         fhir:v "http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416"^^xsd:anyURI ;
         fhir:l <http://registry.fhir.org/r5/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416>
       ] ;
       fhir:supportedProfile ( [
         fhir:v "http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347"^^xsd:anyURI ;
         fhir:l <http://registry.fhir.org/r5/StructureDefinition/00ab9e7a-06c7-4f77-9234-4154ca1e3347>
       ] ) ;
       fhir:documentation [ fhir:v "This server does not let the clients create identities." ] ;
       fhir:interaction ( [
         fhir:code [ fhir:v "read" ]
       ] [
         fhir:code [ fhir:v "vread" ] ;
         fhir:documentation [ fhir:v "Only supported for patient records since 12-Dec 2012" ]
       ] [
         fhir:code [ fhir:v "update" ]
       ] [
         fhir:code [ fhir:v "history-instance" ]
       ] [
         fhir:code [ fhir:v "create" ]
       ] [
         fhir:code [ fhir:v "history-type" ]
       ] ) ;
       fhir:versioning [ fhir:v "versioned-update" ] ;
       fhir:readHistory [ fhir:v true ] ;
       fhir:updateCreate [ fhir:v false ] ;
       fhir:conditionalCreate [ fhir:v true ] ;
       fhir:conditionalRead [ fhir:v "full-support" ] ;
       fhir:conditionalUpdate [ fhir:v false ] ;
       fhir:conditionalPatch [ fhir:v false ] ;
       fhir:conditionalDelete [ fhir:v "not-supported" ] ;
       fhir:searchInclude ( [ fhir:v "Patient:organization" ] ) ;
       fhir:searchRevInclude ( [ fhir:v "Person:patient" ] ) ;
       fhir:searchParam ( [
         fhir:name [ fhir:v "identifier" ] ;
         fhir:definition [
           fhir:v "http://hl7.org/fhir/SearchParameter/Patient-identifier"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/SearchParameter/Patient-identifier>
         ] ;
         fhir:type [ fhir:v "token" ] ;
         fhir:documentation [ fhir:v "Only supports search by institution MRN" ]
       ] [
         fhir:name [ fhir:v "general-practitioner" ] ;
         fhir:definition [
           fhir:v "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/SearchParameter/Patient-general-practitioner>
         ] ;
         fhir:type [ fhir:v "reference" ]
       ] )
     ] ) ;
     fhir:interaction ( [
       fhir:code [ fhir:v "transaction" ]
     ] [
       fhir:code [ fhir:v "history-system" ]
     ] ) ;
     fhir:compartment ( [
       fhir:v "http://hl7.org/fhir/CompartmentDefinition/patient"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/CompartmentDefinition/patient>
     ] )
  ] ) ; # 
  fhir:messaging ( [
     fhir:endpoint ( [
       fhir:protocol [
         fhir:system [
           fhir:v "http://hl7.org/fhir/message-transport"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/message-transport>
         ] ;
         fhir:code [ fhir:v "mllp" ]
       ] ;
       fhir:address [
         fhir:v "mllp:10.1.1.10:9234"^^xsd:anyURI ;
         fhir:l fhir:mllp:10.1.1.10:9234
       ]
     ] ) ;
     fhir:reliableCache [ fhir:v "30"^^xsd:nonNegativeInteger ] ;
     fhir:documentation [ fhir:v "ADT A08 equivalent for external system notifications" ] ;
     fhir:supportedMessage ( [
       fhir:mode [ fhir:v "receiver" ] ;
       fhir:definition [
         fhir:v "http://hl7.org/fhir/MessageDefinition/example"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/MessageDefinition/example>
       ]
     ] )
  ] ) ; # 
  fhir:document ( [
     fhir:mode [ fhir:v "consumer" ] ;
     fhir:documentation [ fhir:v "Basic rules for all documents in the EHR system" ] ;
     fhir:profile [
       fhir:v "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796"^^xsd:anyURI ;
       fhir:l <http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796>
     ]
  ] ) . # 

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

