put https://fhir-api.zapehr.com/r4b/MessageDefinition/
MessageDefinition on the FHIR specification website.
Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.
The body should be a valid FHIR object for MessageDefinition.
Here is an example:
{
"resourceType": "MessageDefinition",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Message definition base example</div>"
},
"url": "http://hl7.org/fhir/MessageDefinition/example",
"name": "EXAMPLE",
"title": "Message definition base example",
"status": "draft",
"experimental": true,
"date": "2016-11-09",
"publisher": "Health Level Seven, Int'l",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org"
}
]
}
],
"purpose": "Defines a base example for other MessageDefinition instances.",
"eventCoding": {
"system": "http://example.org/fhir/message-events",
"code": "admin-notify"
},
"category": "notification"
}
You can reference the FHIR documentation to determine the format for MessageDefinition
.