{

"resourceType": "OperationDefinition",
"id": "MessageHeader-process-message",
"text": {
  "status": "generated",
  "div": "<div><h2>Process Message</h2><p>OPERATION: Process Message</p><div><p>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 <a href=\"messaging.html#process\">on the messaging page</a></p>\n</div><p>URL: [base]/$process-message</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>content</td><td>1..1</td><td>Bundle</td><td/><td><div><p>The message to process (or, if using asynchronous messaging, it may be a response message to accept)</p>\n</div></td></tr><tr><td>IN</td><td>async</td><td>0..1</td><td>boolean</td><td/><td><div><p>If 'true' the message is processed using the asynchronous messaging pattern</p>\n</div></td></tr><tr><td>IN</td><td>response-url</td><td>0..1</td><td>uri</td><td/><td><div><p>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</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td>0..1</td><td>Bundle</td><td/><td><div><p>A response message, if synchronous messaging is being used (mandatory in this case). For asynchronous messaging, there is no return value</p>\n</div></td></tr></table><div><p>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</p>\n</div></div>"
},
"url": "http://hl7.org/fhir/OperationDefinition/MessageHeader-process-message",
"name": "Process Message",
"status": "draft",
"kind": "operation",
"publisher": "HL7 (FHIR Project)",
"contact": [
  {
    "telecom": [
      {
        "system": "other",
        "value": "http://hl7.org/fhir"
      },
      {
        "system": "email",
        "value": "fhir@lists.hl7.org"
      }
    ]
  }
],
"date": "2015-10-24T07:41:03+11:00",
"description": "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": "process-message",
"notes": "This operation does not use the parameters resource; the parameters \"async\" and \"response-url\" always go in the URL, if they are used, and the message parameter is always the body of the HTTP message",
"system": true,
"instance": false,
"parameter": [
  {
    "name": "content",
    "use": "in",
    "min": 1,
    "max": "1",
    "documentation": "The message to process (or, if using asynchronous messaging, it may be a response message to accept)",
    "type": "Bundle"
  },
  {
    "name": "async",
    "use": "in",
    "min": 0,
    "max": "1",
    "documentation": "If 'true' the message is processed using the asynchronous messaging pattern",
    "type": "boolean"
  },
  {
    "name": "response-url",
    "use": "in",
    "min": 0,
    "max": "1",
    "documentation": "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": "uri"
  },
  {
    "name": "return",
    "use": "out",
    "min": 0,
    "max": "1",
    "documentation": "A response message, if synchronous messaging is being used (mandatory in this case). For asynchronous messaging, there is no return value",
    "type": "Bundle"
  }
]

}