{
  "resourceType": "StructureDefinition",
  "id": "NotifierRole",
  "url": "https://demis.rki.de/fhir/StructureDefinition/NotifierRole",
  "version": "1.3.0",
  "name": "NotifierRole",
  "title": "Melder-Rolle",
  "status": "active",
  "date": "2023-11-23",
  "description": "Melder müssen gemäß IfSG entweder Angaben zu ihrer Einrichtung oder Angaben zu ihrer Person angeben. Es können auch beide Angaben hinterlegt werden. Die Melder-Rolle ist erforderlich, um eine Unterscheidung zwischen Melder und Meldender Einrichtung vornehmen zu können. Sie beinhaltet lediglich Verweise auf die Meldende Person und/oder die Meldende Einrichtung.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole",
        "path": "PractitionerRole",
        "constraint": [
          {
            "key": "personOrFacility",
            "severity": "error",
            "human": "Der Melder ist entweder eine Meldende Person oder eine Meldende Einrichtung.",
            "expression": "practitioner.count()=1 or organization.count()=1",
            "source": "https://demis.rki.de/fhir/StructureDefinition/NotifierRole"
          }
        ]
      },
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.profile",
        "path": "PractitionerRole.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://demis.rki.de/fhir/StructureDefinition/NotifierRole",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "short": "Verweis auf die Meldende Person",
        "definition": "Verweis auf die Meldende Person",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/StructureDefinition/Notifier"
            ],
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.practitioner.reference",
        "path": "PractitionerRole.practitioner.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "short": "Verweis auf die Meldende Einrichtung",
        "definition": "Verweis auf die Meldende Einrichtung",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/StructureDefinition/NotifierFacility"
            ],
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.organization.reference",
        "path": "PractitionerRole.organization.reference",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}