Skip to main content

MessageDefinition

ResourceFoundation · ConformanceTrial useMaturity 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.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
17 of 19 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriBusiness Identifier for a given MessageDefinition
identifierΣ
0..*IdentifierPrimary key for the message definition on a given server
versionΣ
0..1stringBusiness version of the message definition
nameΣ
0..1stringName for this message definition (computer friendly)
titleΣ
0..1stringName for this message definition (human friendly)
replacesΣ
0..*canonical(MessageDefinition)Takes the place of
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateRequiredΣ
1..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
descriptionΣ
0..1markdownNatural language description of the message definition
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for message definition (if applicable)Binding (extensible): jurisdiction
purposeΣ
0..1markdownWhy this message definition is defined
copyright
0..1markdownUse and/or publishing restrictions
baseΣ
0..1canonical(MessageDefinition)Definition this one is based on
parentΣ
0..*canonical(ActivityDefinition | PlanDefinition)Protocol/workflow this is part of
event[x]RequiredΣ
1..1Coding | uriEvent code or link to the EventDefinitionBinding (example): message-events
categoryΣ
0..1codeconsequence | currency | notificationBinding (required): message-significance-category
focusΣ
0..*BackboneElementResource(s) that are the subject of the event
codeRequiredΣ
1..1codeType of resourceBinding (required): resource-types
profile
0..1canonical(StructureDefinition)Profile that must be adhered to by focus
minRequiredΣ
1..1unsignedIntMinimum number of focuses of this type
max
0..1stringMaximum number of focuses of this type
responseRequired
0..1codealways | on-error | never | on-successBinding (required): messageheader-response-request
allowedResponse
0..*BackboneElementResponses to this message
messageRequired
1..1canonical(MessageDefinition)Reference to allowed message definition response
situation
0..1markdownWhen should this response be used
graph
0..*canonical(GraphDefinition)Canonical reference to a GraphDefinition

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/MessageDefinition?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
categorytoken

The behavior associated with the message

MessageDefinition.category
contexttoken

A use context assigned to the message definition

(MessageDefinition.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the message definition

(MessageDefinition.useContext.value.ofType(Quantity)) | (MessageDefinition.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the message definition

MessageDefinition.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the message definition

MessageDefinition.useContext
context-type-valuecomposite

A use context type and value assigned to the message definition

MessageDefinition.useContext
datedate

The message definition publication date

MessageDefinition.date
descriptionstring

The description of the message definition

MessageDefinition.description
eventtoken

The event that triggers the message or link to the event definition.

MessageDefinition.event
focustoken

A resource that is a permitted focus of the message

MessageDefinition.focus.code
identifiertoken

External identifier for the message definition

MessageDefinition.identifier
jurisdictiontoken

Intended jurisdiction for the message definition

MessageDefinition.jurisdiction
namestring

Computationally friendly name of the message definition

MessageDefinition.name
parentreference

A resource that is the parent of the definition

MessageDefinition.parent
publisherstring

Name of the publisher of the message definition

MessageDefinition.publisher
statustoken

The current status of the message definition

MessageDefinition.status
titlestring

The human-friendly name of the message definition

MessageDefinition.title
urluri

The uri that identifies the message definition

MessageDefinition.url
versiontoken

The business version of the message definition

MessageDefinition.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition