PackagesCanonicalsLogsProblems
    Packages
    his.lw@1.0.1
    https://dev.azure.com/LionwoodDev/HIS/_git/fhir/StructureDefinition/CommunicationRequest/webapp-notification
{
  "description": "Defines the structure of CommunicationRequest resources used for in-product (web application) notifications.",
  "_filename": "webapp-notification.json",
  "package_name": "his.lw",
  "date": "2025-11-10T00:00:00Z",
  "derivation": "constraint",
  "publisher": "LW HIS",
  "fhirVersion": "5.0.0",
  "name": "CommunicationRequestWebAppNotification",
  "abstract": false,
  "type": "CommunicationRequest",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "CommunicationRequest Web App Notification",
  "package_version": "1.0.1",
  "status": "active",
  "id": "7f331c09-8f45-4e10-9dc6-6433b1c65b71",
  "kind": "resource",
  "url": "https://dev.azure.com/LionwoodDev/HIS/_git/fhir/StructureDefinition/CommunicationRequest/webapp-notification",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "CommunicationRequest",
      "path": "CommunicationRequest",
      "short": "Web app notification request"
    }, {
      "id": "CommunicationRequest.status",
      "path": "CommunicationRequest.status",
      "short": "Represents the current lifecycle state (e.g., active or revoked)",
      "comment": "Typical states are 'active' when queued and 'revoked' when withdrawn."
    }, {
      "id": "CommunicationRequest.intent",
      "path": "CommunicationRequest.intent",
      "short": "Always represents an order to deliver the notification",
      "fixedCode": "order"
    }, {
      "id": "CommunicationRequest.priority",
      "path": "CommunicationRequest.priority",
      "short": "Default priority for UI alerts",
      "fixedCode": "routine"
    }, {
      "id": "CommunicationRequest.medium",
      "max": "1",
      "min": 1,
      "path": "CommunicationRequest.medium",
      "short": "In-app channel definition"
    }, {
      "id": "CommunicationRequest.medium.coding",
      "max": "1",
      "min": 1,
      "path": "CommunicationRequest.medium.coding",
      "patternCoding": {
        "code": "WRITTEN",
        "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode"
      }
    }, {
      "id": "CommunicationRequest.authoredOn",
      "min": 1,
      "path": "CommunicationRequest.authoredOn",
      "short": "When the notification was generated"
    }, {
      "id": "CommunicationRequest.recipient",
      "min": 1,
      "path": "CommunicationRequest.recipient",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "short": "One or more target accounts (organization, patient, or contact)"
    }, {
      "id": "CommunicationRequest.payload",
      "min": 1,
      "path": "CommunicationRequest.payload",
      "short": "Notification content"
    }, {
      "id": "CommunicationRequest.payload.content[x]",
      "path": "CommunicationRequest.payload.content[x]",
      "type": [ {
        "code": "Attachment"
      } ],
      "short": "Payload is provided as an Attachment"
    }, {
      "id": "CommunicationRequest.payload.contentAttachment.contentType",
      "min": 1,
      "path": "CommunicationRequest.payload.contentAttachment.contentType",
      "short": "Currently plain text payloads are supported",
      "patternCode": "text/plain"
    }, {
      "id": "CommunicationRequest.payload.contentAttachment.data",
      "min": 1,
      "path": "CommunicationRequest.payload.contentAttachment.data",
      "short": "Base64-encoded notification body"
    }, {
      "id": "CommunicationRequest.payload.contentAttachment.title",
      "min": 1,
      "path": "CommunicationRequest.payload.contentAttachment.title",
      "short": "Short subject shown to the user"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"
}