FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example MessageDefinition/example (Turtle)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

A typical message definition

@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:MessageDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Message definition base example</div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "inm" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/MessageDefinition/example"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.15.3" ]
  ] ) ; # 
  fhir:name [ fhir:v "EXAMPLE"] ; # 
  fhir:title [ fhir:v "Message definition base example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2016-11-09"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Infrastructure And Messaging"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/inm" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/inm/index.cfm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Message definition base example"] ; # 
  fhir:purpose [ fhir:v "Defines a base example for other MessageDefinition instances."] ; # 
  fhir:event [
     a fhir:Coding ;
     fhir:system [ fhir:v "http://example.org/fhir/message-events"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "admin-notify" ]
  ] ; # 
  fhir:category [ fhir:v "notification"]] . # 

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


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.