<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="MessageHeader-process-message" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The narrative has been removed to reduce the size of the distribution of the Hl7.Fhir.Specification library</p>
    </div>
  </text>
  <url value="http://hl7.org/fhir/OperationDefinition/MessageHeader-process-message" />
  <name value="Process Message" />
  <status value="draft" />
  <kind value="operation" />
  <publisher value="HL7 (FHIR Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="fhir@lists.hl7.org" />
    </telecom>
  </contact>
  <description value="This operation accepts a message, processes it according to the definition of the event in the message header, and returns a one or more response messages.  This  operation is described in detail [on the messaging page](messaging.html#process)" />
  <code value="process-message" />
  <comment value="This operation does not use the parameters resource; the parameters &quot;async&quot; and &quot;response-url&quot; always go in the URL, if they are used, and the message parameter is always the body of the HTTP message" />
  <resource value="MessageHeader" />
  <system value="true" />
  <type value="false" />
  <instance value="false" />
  <parameter>
    <name value="content" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="The message to process (or, if using asynchronous messaging, it may be a response message to accept)" />
    <type value="Bundle" />
  </parameter>
  <parameter>
    <name value="async" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="If 'true' the message is processed using the asynchronous messaging pattern" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="response-url" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="A URL to submit response messages to, if asynchronous messaging is being used, and if the MessageHeader.source.endpoint is not the appropriate place to submit responses" />
    <type value="uri" />
  </parameter>
  <parameter>
    <name value="return" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <documentation value="A response message, if synchronous messaging is being used (mandatory in this case). For asynchronous messaging, there is no return value" />
    <type value="Bundle" />
  </parameter>
</OperationDefinition>