http://hl7.org/fhir/StructureDefinition/MessageDefinition|4.0.1

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.
description: 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.
derivation: specialization
name: MessageDefinition
type: MessageDefinition
elements:
  description: {short: Natural language description of the message definition, isSummary: true, index: 11}
  category:
    short: consequence | currency | notification
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/message-significance-category|4.0.1'}
    isSummary: true
    index: 20
  date: {short: Date last changed, isSummary: true, index: 8}
  publisher: {short: Name of the publisher (organization or individual), isSummary: true, index: 9}
  parent: {short: Protocol/workflow this is part of, array: true, isSummary: true, index: 17}
  jurisdiction:
    short: Intended jurisdiction for message definition (if applicable)
    array: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/jurisdiction'}
    isSummary: true
    index: 13
  purpose: {short: Why this message definition is defined, isSummary: true, index: 14}
  name: {short: Name for this message definition (computer friendly), isSummary: true, index: 3}
  useContext: {short: The context that the content is intended to support, array: true, isSummary: true, index: 12}
  copyright: {short: Use and/or publishing restrictions, index: 15}
  experimental: {short: 'For testing purposes, not real usage', isSummary: true, index: 7}
  title: {short: Name for this message definition (human friendly), isSummary: true, index: 4}
  event:
    short: Event code  or link to the EventDefinition
    choices: []
    isSummary: true
    index: 19
  status:
    isModifier: true
    short: draft | active | retired | unknown
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|4.0.1'}
    isModifierReason: This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration
    isSummary: true
    index: 6
  allowedResponse:
    short: Responses to this message
    array: true
    index: 27
    elements:
      message: {short: Reference to allowed message definition response, index: 28}
      situation: {short: When should this response be used, index: 29}
    required: [message]
  graph: {short: Canonical reference to a GraphDefinition, array: true, index: 30}
  url: {short: Business Identifier for a given MessageDefinition, isSummary: true, index: 0}
  identifier: {short: Primary key for the message definition on a given server, array: true, isSummary: true, index: 1}
  focus:
    constraint:
      md-1: {human: Max must be postive int or *, severity: error, expression: max='*' or (max.toInteger() > 0)}
    short: Resource(s) that are the subject of the event
    array: true
    isSummary: true
    index: 21
    elements:
      code:
        short: Type of resource
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/resource-types|4.0.1'}
        isSummary: true
        index: 22
      profile: {short: Profile that must be adhered to by focus, index: 23}
      min: {short: Minimum number of focuses of this type, isSummary: true, index: 24}
      max: {short: Maximum number of focuses of this type, index: 25}
    required: [min, code]
  replaces: {short: Takes the place of, array: true, isSummary: true, index: 5}
  responseRequired:
    short: always | on-error | never | on-success
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/messageheader-response-request|4.0.1'}
    index: 26
  base: {short: Definition this one is based on, isSummary: true, index: 16}
  version: {short: Business version of the message definition, isSummary: true, index: 2}
  contact: {short: Contact details for the publisher, array: true, isSummary: true, index: 10}
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/MessageDefinition
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [event, status, date]