PackagesCanonicalsLogsProblems
    Packages
    de.gematik.erezept-workflow.r4@1.4.0
    https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply
{
  "description": "Ressource used for the communication of the reply to dispense/info request from provider to patient/representative",
  "_filename": "StructureDefinition-GEM-ERP-PR-Communication-Reply.json",
  "package_name": "de.gematik.erezept-workflow.r4",
  "date": "2024-07-15",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2020-04-16T13:43:30.128+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "GEM_ERP_PR_Communication_Reply",
  "abstract": true,
  "type": "Communication",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Reply from Provider to Patient",
  "package_version": "1.4.0",
  "status": "active",
  "id": "a0ded3ec-665d-4954-b943-297b3df695d1",
  "kind": "resource",
  "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply",
  "version": "1.4",
  "differential": {
    "element": [ {
      "id": "Communication.meta",
      "min": 1,
      "path": "Communication.meta"
    }, {
      "id": "Communication.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Communication.meta.profile",
      "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_Reply|1.4"
    }, {
      "id": "Communication.basedOn",
      "max": "1",
      "min": 1,
      "path": "Communication.basedOn",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Task" ]
      } ]
    }, {
      "id": "Communication.basedOn.reference",
      "min": 1,
      "path": "Communication.basedOn.reference",
      "short": "States the E-Rezept-Token according to gemSpec_DM_eRp.",
      "comment": "Has the form 'Task/{{PrescriptionID}}'"
    }, {
      "id": "Communication.status",
      "path": "Communication.status",
      "fixedCode": "unknown"
    }, {
      "id": "Communication.sent",
      "path": "Communication.sent",
      "short": "The time when this communication was sent.",
      "comment": "Set by the eprescription server.",
      "mustSupport": true
    }, {
      "id": "Communication.received",
      "path": "Communication.received",
      "short": "The time when this communication was received.",
      "comment": "Set by the eprescription server.",
      "mustSupport": true
    }, {
      "id": "Communication.recipient",
      "max": "1",
      "min": 1,
      "path": "Communication.recipient",
      "short": "The entity (e.g. person, organization) which was the target of the communication.",
      "comment": "This needs to be set by the sender of the communication to define the target."
    }, {
      "id": "Communication.recipient.identifier",
      "min": 1,
      "path": "Communication.recipient.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://fhir.de/StructureDefinition/identifier-kvid-10", "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10" ]
      } ]
    }, {
      "id": "Communication.sender",
      "path": "Communication.sender",
      "short": "The entity (e.g. person, organization) which was the source of the communication.",
      "comment": "Set by ePrescription server using client AuthN-Credential",
      "definition": "Message sender - set by ePrescription server using client AuthN-Credential\r\nThe entity (e.g. person, organization) which was the source of the communication.",
      "mustSupport": true
    }, {
      "id": "Communication.sender.identifier",
      "min": 1,
      "path": "Communication.sender.identifier",
      "type": [ {
        "code": "Identifier",
        "profile": [ "http://fhir.de/StructureDefinition/identifier-kvid-10", "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10", "http://fhir.de/StructureDefinition/identifier-telematik-id" ]
      } ]
    }, {
      "id": "Communication.payload",
      "max": "1",
      "min": 1,
      "path": "Communication.payload"
    }, {
      "id": "Communication.payload.extension",
      "path": "Communication.payload.extension",
      "slicing": {
        "rules": "closed",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Communication.payload.extension:OfferedSupplyOptions",
      "max": "1",
      "min": 0,
      "path": "Communication.payload.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType" ]
      } ],
      "short": "Offered supply options by pharmacy",
      "sliceName": "OfferedSupplyOptions",
      "definition": "In a communication reply a pharmacy may state its available supply options, whether to serve customers at the store, send medication by messenger or use parcel shippment"
    }, {
      "id": "Communication.payload.extension:AvailabilityStatus",
      "max": "1",
      "min": 0,
      "path": "Communication.payload.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_AvailabilityState" ]
      } ],
      "short": "Availability Status of queried medication",
      "sliceName": "AvailabilityStatus"
    }, {
      "id": "Communication.payload.content[x]",
      "path": "Communication.payload.content[x]",
      "type": [ {
        "code": "string"
      } ],
      "short": "The actual content of the message",
      "comment": "This content needs to be a JSON according to gemSpec_DM_eRp.",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication"
}