Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example MessageDefinition/example (XML)

Infrastructure And Messaging Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No 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"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.15.3"/> 
  </identifier> 
  <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> 
  <description value="Message definition base example"/> 
  <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.