FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Capabilitystatement-messagedefinition.ttl

Example CapabilityStatement/messagedefinition (Turtle)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group Ballot Standards Status : Informative Compartments : Not linked to any No defined compartments

Raw Turtle , JSON-LD (+ also see Turtle/RDF Format Specification )

Showing new message definition structure

@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/messagedefinition> a fhir:CapabilityStatement;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "messagedefinition"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2/>\n      <div>\n        <p>Sample capability statement showing new MessageDefinition structure</p>\n\n      </div>\n    </div>"
  ];
  fhir:CapabilityStatement.status [ fhir:value "draft"];
  fhir:CapabilityStatement.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:CapabilityStatement.date [ fhir:value "2012-01-04"^^xsd:date];
  fhir:CapabilityStatement.publisher [ fhir:value "ACME Corporation"];
  fhir:CapabilityStatement.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" ]

<http://hl7.org/fhir/CapabilityStatement/messagedefinition> a fhir:CapabilityStatement ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "messagedefinition"] ; # 
  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:CapabilityStatement.description [ fhir:value "Sample capability statement showing new MessageDefinition structure"];
  fhir:CapabilityStatement.kind [ fhir:value "instance"];
  fhir:CapabilityStatement.software [
     fhir:CapabilityStatement.software.name [ fhir:value "EHR" ]
  ];
  fhir:CapabilityStatement.fhirVersion [ fhir:value "3.0.2"];
  fhir:CapabilityStatement.acceptUnknown [ fhir:value "both"];
  fhir:CapabilityStatement.format [
     fhir:value "xml";
     fhir:index 0
  ], [
     fhir:value "json";
     fhir:index 1
  ];
  fhir:CapabilityStatement.messaging [
     fhir:index 0;
     fhir:CapabilityStatement.messaging.endpoint [
       fhir:index 0;
       fhir:CapabilityStatement.messaging.endpoint.protocol [
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/message-transport" ];
         fhir:Coding.code [ fhir:value "mllp" ]
       ];
       fhir:CapabilityStatement.messaging.endpoint.address [ fhir:value "mllp:10.1.1.10:9234" ]
     ];
     fhir:CapabilityStatement.messaging.reliableCache [ fhir:value "30"^^xsd:nonNegativeInteger ];
     fhir:CapabilityStatement.messaging.documentation [ fhir:value "ADT A08 equivalent for external system notifications" ];
     fhir:CapabilityStatement.messaging.supportedMessage [
       fhir:index 0;
       fhir:CapabilityStatement.messaging.supportedMessage.mode [ fhir:value "receiver" ];
       fhir:CapabilityStatement.messaging.supportedMessage.definition [
         fhir:link <http://hl7.org/fhir/MessageDefinition/example>;
         fhir:Reference.reference [ fhir:value "MessageDefinition/example" ]
       ]

  ] ) ; # 
  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.8" ]
  ] ) ; # 
  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 "Sample capability statement showing new MessageDefinition structure"] ; # 
  fhir:kind [ fhir:v "instance"] ; # 
  fhir:software [
     fhir:name [ fhir:v "EHR" ]
  ] ; # 
  fhir:implementation [
     fhir:description [ fhir:v "Acme Message endpoint" ] ;
     fhir:url [
       fhir:v "http://acem.com/fhir/message-drop"^^xsd:anyURI ;
       fhir:l <http://acem.com/fhir/message-drop>

     ]
  ] .

<http://hl7.org/fhir/MessageDefinition/example> a fhir:MessageDefinition .

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

<http://hl7.org/fhir/CapabilityStatement/messagedefinition.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/CapabilityStatement/messagedefinition.ttl> .

  ] ; #    while the FHIR infrastructure is turning over prior to development, a version is  
#    required.    
  fhir:fhirVersion [ fhir:v "6.0.0"] ; # 
  fhir:format ( [ fhir:v "xml"] [ fhir:v "json"] ) ; #    this system can do either xml or json. (Listing both implies full support for either, with interconversion)   
  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
       ] #   LLP server at 10.1.1.10 on port 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>
       ]
     ] )
  ] ) . # 


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


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.