PackagesCanonicalsLogsProblems
    Packages
    his.lw@1.0.2
    https://dev.azure.com/LionwoodDev/HIS/_git/fhir/StructureDefinition/CommunicationRequest/email-notification
description: Defines the structure of email-based notification CommunicationRequest resources sent by LW HIS services.
package_name: his.lw
derivation: constraint
name: CommunicationRequestEmailNotification
type: CommunicationRequest
elements:
  category:
    short: Notification category
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: notification, system: 'http://terminology.hl7.org/CodeSystem/communication-category'}
    index: 2
    elements:
      coding:
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/communication-category'}
            index: 4
          code:
            pattern: {type: Code, value: notification}
            index: 5
        required: [system, code]
    required: [coding]
  medium:
    short: Email is the only allowed channel
    index: 7
    elements:
      coding:
        index: 8
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationMode'}
            index: 9
          code:
            pattern: {type: Code, value: EMAILWRIT}
            index: 10
        required: [system, code]
    required: [coding]
  recipient:
    type: Reference
    short: Email recipients (patient, contact, or organization)
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 16
  authoredOn: {short: Timestamp when the request was authored, index: 14}
  requester: {index: 15}
  priority:
    short: Routine priority for asynchronous email dispatch
    pattern: {type: Code, value: routine}
    index: 6
  status: {short: Always active when issued, index: 0}
  intent:
    short: Represents an order to send the notification email
    pattern: {type: Code, value: order}
    index: 1
  occurrenceDateTime: {type: dateTime, choiceOf: occurrence, index: 13}
  occurrence:
    choices: [occurrenceDateTime]
    index: 12
package_version: 1.0.2
class: profile
kind: resource
url: https://dev.azure.com/LionwoodDev/HIS/_git/fhir/StructureDefinition/CommunicationRequest/email-notification
base: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
version: 1.0.0
required: [authoredOn, requester, recipient, medium, occurrenceDateTime, occurrence, category]