eHealth Infrastructure
2.10.0 - release

eHealth Infrastructure - Local Development build (v2.10.0). See the Directory of published versions

Resource Profile: ehealth-message - Detailed Descriptions

Active as of 2023-10-24

Definitions for the ehealth-message resource profile.

Guidance on how to interpret the contents of this table can be found here.

1. Communication
InvariantsDefined on this element
advice-invariant: Category advice invariant (: category.coding.code = 'advice' implies (recipient.reference.contains('Patient/') or extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam').valueReference.exists()) and ( sender.reference.contains('Device/') or contained.ofType(Device).where('#' + id = %resource.sender.reference).empty().not()))
message-invariant: Category message invariant (: category.coding.code = 'message' implies (recipient.reference.contains('Patient/') and ( extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam').valueReference.exists())) or (( extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam').valueReference.exists()) and (sender.reference.contains('Patient/')) or (extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam').valueReference.exists() and extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-senderCareTeam').valueReference.exists() )))
nemsms-invariant: If communication resource is a NemSMS payload cannot exceed 160 (: medium.coding.where(code = 'nemsms').exists() implies payload.contentString.length() <= 160)
note-invariant: Category note invariant (: category.coding.code = 'note' implies (sender.reference = recipient.reference) or (recipient.reference.exists().not() and extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam').valueReference.exists()))
notification-invariant: Category notification invariant (: category.coding.code = 'notification' implies (recipient.reference.contains('Patient/') or extension.where(url = 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication-recipientCareTeam').valueReference.exists()) and ( sender.reference.contains('Device/') or contained.ofType(Device).where('#' + id = %resource.sender.reference).empty().not()))
2. Communication.extension
Control10..*
SlicingThis element introduces a set of slices on Communication.extension. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ url
3. Communication.extension:episodeOfCare
SliceNameepisodeOfCare
Control0..1
TypeExtension(episodeOfCare) (Extension Type: Reference(EpisodeOfCare))
4. Communication.extension:recipientCareTeam
SliceNamerecipientCareTeam
Control0..1
TypeExtension(ehealth-communication-recipientCareTeam) (Extension Type: Reference(ehealth-careteam) : {r})
5. Communication.extension:senderCareTeam
SliceNamesenderCareTeam
Control0..1
TypeExtension(ehealth-communication-senderCareTeam) (Extension Type: Reference(ehealth-careteam) : {r})
6. Communication.extension:restrictionCategory
SliceNamerestrictionCategory
Control0..*
TypeExtension(ehealth-restriction-category) (Extension Type: CodeableConcept)
7. Communication.extension:threadId
SliceNamethreadId
Control0..1
TypeExtension(ehealth-thread-id) (Extension Type: string)
8. Communication.extension:period
SliceNameperiod
Control0..*
TypeExtension(ehealth-period) (Extension Type: Period)
9. Communication.extension:administrativeStatus
SliceNameadministrativeStatus
Control1..1
TypeExtension(ehealth-administrative-status) (Extension Type: Coding)
10. Communication.extension:title
SliceNametitle
Control0..1
TypeExtension(ehealth-title) (Extension Type: string)
11. Communication.extension:priority
SliceNamepriority
Control0..1
TypeExtension(ehealth-priority) (Extension Type: code)
12. Communication.extension:groupId
SliceNamegroupId
Control0..1
TypeExtension(ehealth-group-id) (Extension Type: string)
13. Communication.extension:onBehalfOf
SliceNameonBehalfOf
Control0..1
TypeExtension(ehealth-on-behalf-of) (Extension Type: Reference(ehealth-careteam) : {r})
Must Supporttrue
14. Communication.partOf
TypeReference(CarePlan|Resource) : {r}
15. Communication.category
Control10..*
SlicingThis element introduces a set of slices on Communication.category. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ coding.system
16. Communication.category:DkTmCategory
SliceNameDkTmCategory
Control1..1
17. Communication.category:DkTmCategory.coding
Control0..?
18. Communication.category:DkTmCategory.coding.system
Control1..?
Pattern Valuehttp://ehealth.sundhed.dk/cs/message-category
19. Communication.category:DkTmCategory.coding.code
Control0..?
BindingThe codes SHALL be taken from MessageCategory
20. Communication.medium
SlicingThis element introduces a set of slices on Communication.medium. The slices are unordered and Open, and can be differentiated using the following discriminators:
  • value @ coding.system
21. Communication.medium:DkTmMedium
SliceNameDkTmMedium
Control0..1
22. Communication.medium:DkTmMedium.coding
Control0..?
23. Communication.medium:DkTmMedium.coding.system
Control1..?
Pattern Valuehttp://ehealth.sundhed.dk/cs/message-medium
24. Communication.medium:DkTmMedium.coding.code
Control0..?
BindingThe codes SHALL be taken from MessageMedium
25. Communication.recipient
Control0..1*
TypeReference(Patient|Practitioner|Device|Organization|PractitionerRole|RelatedPerson|Group|CareTeam|HealthcareService) : {r}
26. Communication.sender
TypeReference(Device|Patient|Practitioner|Organization|PractitionerRole|RelatedPerson|HealthcareService) : {r}, {c}
27. Communication.reasonCode
BindingThe codes SHALL be taken from eHealth Message Reason CodeFor example codes, see SNOMEDCTClinicalFindings
28. Communication.reasonReference
TypeReference(Condition|Observation|DiagnosticReport|DocumentReference) : {r}
29. Communication.payload
Control0..1*
30. Communication.payload.content[x]
[x] NoteSee Choice of Data Types for further information about how to use [x]
SlicingThis element introduces a set of slices on Communication.payload.content[x]. The slices are unordered and Closed, and can be differentiated using the following discriminators:
  • type @ $this
31. Communication.payload.contentString
Control1..1
Typestring
32. Communication.note
Control0..?
33. Communication.note.authorReference
Control0..1
TypeReference(ehealth-practitioner|ehealth-patient|ehealth-relatedperson)
34. Communication.note.authorString
Control0..1
Typestring