Release 4

Messagedefinition-example.xml

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

A typical message definition (id = "example")

<?xml version="1.0" encoding="UTF-8"?>

<MessageDefinition xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">Message definition base example</div> 
  </text> 
  <url value="http://hl7.org/fhir/MessageDefinition/example"/> 
  <name value="EXAMPLE"/> 
  <title value="Message definition base example"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2016-11-09"/> 
  <publisher value="Health Level Seven, Int'l"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org"/> 
    </telecom> 
  </contact> 
  <purpose value="Defines a base example for other MessageDefinition instances."/> 
  <eventCoding> 
    <system value="http://example.org/fhir/message-events"/> 
    <code value="admin-notify"/> 
  </eventCoding> 
  <category value="notification"/> 

</MessageDefinition> 

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.