{
  "resourceType": "StructureDefinition",
  "id": "notificationmessage-profile",
  "url": "http://fhir.xt.dev/StructureDefinition/NotificationMessage",
  "version": "1.1.0",
  "name": "NotificationMessage",
  "status": "active",
  "experimental": false,
  "date": "2024-10-08T09:40:37.6670843+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A user-specific notification message for display in the patient or provider portal.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Basic",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Basic.meta",
        "path": "Basic.meta"
      },
      {
        "id": "Basic.meta.tag",
        "path": "Basic.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Basic.meta.tag:markedAsRead",
        "path": "Basic.meta.tag",
        "sliceName": "markedAsRead",
        "max": "1"
      },
      {
        "id": "Basic.meta.tag:markedAsRead.system",
        "path": "Basic.meta.tag.system",
        "max": "0"
      },
      {
        "id": "Basic.meta.tag:markedAsRead.version",
        "path": "Basic.meta.tag.version",
        "max": "0"
      },
      {
        "id": "Basic.meta.tag:markedAsRead.code",
        "path": "Basic.meta.tag.code",
        "min": 1,
        "fixedCode": "markedAsRead"
      },
      {
        "id": "Basic.meta.tag:markedAsRead.display",
        "path": "Basic.meta.tag.display",
        "max": "0"
      },
      {
        "id": "Basic.implicitRules",
        "path": "Basic.implicitRules",
        "max": "0"
      },
      {
        "id": "Basic.text",
        "path": "Basic.text",
        "min": 1
      },
      {
        "id": "Basic.text.status",
        "path": "Basic.text.status",
        "fixedCode": "additional"
      },
      {
        "id": "Basic.extension:focus",
        "path": "Basic.extension",
        "sliceName": "focus",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.xt.dev/StructureDefinition/NotificationFocus"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:record",
        "path": "Basic.extension",
        "sliceName": "record",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.xt.dev/StructureDefinition/NotificationRecordLink"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.extension:creationDateTime",
        "path": "Basic.extension",
        "sliceName": "creationDateTime",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.xt.dev/StructureDefinition/NotificationCreationTimeExtension"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Basic.code.coding",
        "path": "Basic.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Basic.code.coding.system",
        "path": "Basic.code.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.xt.dev/CodeSystem/NotificationMessageType"
      },
      {
        "id": "Basic.code.coding.version",
        "path": "Basic.code.coding.version",
        "max": "0"
      },
      {
        "id": "Basic.code.coding.code",
        "path": "Basic.code.coding.code",
        "short": "Message Type",
        "min": 1
      },
      {
        "id": "Basic.code.coding.userSelected",
        "path": "Basic.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Basic.code.text",
        "path": "Basic.code.text",
        "short": "Message Title",
        "min": 1
      },
      {
        "id": "Basic.subject",
        "path": "Basic.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.xt.dev/StructureDefinition/UserAccount"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Basic.subject.reference",
        "path": "Basic.subject.reference",
        "min": 1
      },
      {
        "id": "Basic.subject.type",
        "path": "Basic.subject.type",
        "min": 1,
        "fixedUri": "Person"
      },
      {
        "id": "Basic.subject.identifier",
        "path": "Basic.subject.identifier",
        "max": "0"
      },
      {
        "id": "Basic.subject.display",
        "path": "Basic.subject.display",
        "max": "0"
      },
      {
        "id": "Basic.created",
        "path": "Basic.created",
        "min": 1
      },
      {
        "id": "Basic.author.reference",
        "path": "Basic.author.reference",
        "min": 1
      },
      {
        "id": "Basic.author.type",
        "path": "Basic.author.type",
        "min": 1
      },
      {
        "id": "Basic.author.identifier",
        "path": "Basic.author.identifier",
        "max": "0"
      }
    ]
  }
}