R6 Ballot (2nd Draft)

Publish-box (todo)

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"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <description value="Sample capability statement showing new MessageDefinition structure"/> 
  <kind value="instance"/> 
  <software> 
    <name value="EHR"/> 
  </software> 
  <implementation> 
    <description value="Acme Message endpoint"/> 
    <url value="http://acem.com/fhir/message-drop"/> 
  </implementation> 
  <!--    while the FHIR infrastructure is turning over prior to development, a version
   is 
    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"/> 
  <messaging> 
    <endpoint> 
      <protocol> 
        <system value="http://hl7.org/fhir/message-transport"/> 
        <code value="mllp"/> 
      </protocol> 
      <!--   LLP server at 10.1.1.10 on port 9234   -->
      <address value="mllp:10.1.1.10:9234"/> 
    </endpoint> 
    <reliableCache value="30"/> 
    <documentation value="ADT A08 equivalent for external system notifications"/> 
    <supportedMessage> 
      <mode value="receiver"/> 
      <definition value="http://hl7.org/fhir/MessageDefinition/example"/> 
    </supportedMessage> 
  </messaging> 
</CapabilityStatement> 

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.