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

Example CapabilityStatement/messagedefinition (XML)

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

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

Showing new message definition structure (id = "messagedefinition")

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

<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="messagedefinition"/> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="fhir"/> </extension> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2012-01-04"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
    <name value="System Administrator"/> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
  <description value="Sample capability statement showing new MessageDefinition structure"/> 
  <kind value="instance"/> 
    <name value="EHR"/> 
    <description value="Acme Message endpoint"/> 
    <url value="http://acem.com/fhir/message-drop"/> 
    <!--    while the FHIR infrastructure is turning over prior to development, a version
    required.     -->
  <fhirVersion value="6.0.0"/> 
    <!--    this system can do either xml or json. (Listing both implies full support for
   either, with interconversion)    -->
  <format value="xml"/> 
  <format value="json"/> 
        <system value="http://hl7.org/fhir/message-transport"/> 
        <code value="mllp"/> 
        <!--   LLP server at on port 9234   -->
      <address value="mllp:"/> 
    <reliableCache value="30"/> 
    <documentation value="ADT A08 equivalent for external system notifications"/> 
      <mode value="receiver"/> 
      <definition value="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.