{
  "resourceType": "StructureDefinition",
  "url": "http://digen.nublar.de/fhir/StructureDefinition/DigenOrganization",
  "name": "DigenOrganization",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.meta.id",
        "path": "Organization.meta.id",
        "max": "0"
      },
      {
        "id": "Organization.meta.security.id",
        "path": "Organization.meta.security.id",
        "max": "0"
      },
      {
        "id": "Organization.meta.security.display",
        "path": "Organization.meta.security.display",
        "max": "0"
      },
      {
        "id": "Organization.meta.security.userSelected",
        "path": "Organization.meta.security.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.meta.tag",
        "path": "Organization.meta.tag",
        "max": "0"
      },
      {
        "id": "Organization.implicitRules",
        "path": "Organization.implicitRules",
        "max": "0"
      },
      {
        "id": "Organization.text.id",
        "path": "Organization.text.id",
        "max": "0"
      },
      {
        "id": "Organization.contained",
        "path": "Organization.contained",
        "max": "0"
      },
      {
        "id": "Organization.extension",
        "path": "Organization.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.extension:HPDSpecialty",
        "path": "Organization.extension",
        "sliceName": "HPDSpecialty",
        "type": [
          {
            "code": "Extension",
            "profile": "http://digen.nublar.de/fhir/StructureDefinition/hpd-organization-specialty"
          }
        ]
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer",
        "path": "Organization.identifier",
        "sliceName": "betriebsstaettennummer"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.system",
        "path": "Organization.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique. The OID is equivalent to http://fhir.de/NamingSystem/kbv/bsnr.",
        "min": 1,
        "fixedUri": "urn:oid:1.2.276.0.76.4.17"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:betriebsstaettennummer.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen",
        "path": "Organization.identifier",
        "sliceName": "institutionskennzeichen"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.system",
        "path": "Organization.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique. OID is equivalent to http://fhir.de/NamingSystem/arge-ik/iknr",
        "min": 1,
        "fixedUri": "urn:oid:1.2.276.0.76.4.5"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:institutionskennzeichen.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:ZANR",
        "path": "Organization.identifier",
        "sliceName": "ZANR",
        "short": "ZANR (Zahnarztnummer)",
        "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems. Note that the ZANR is used for the dentist organization, but not the dentist practitioner itself."
      },
      {
        "id": "Organization.identifier:ZANR.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:ZANR.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:ZANR.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:ZANR.system",
        "path": "Organization.identifier.system",
        "short": "ZANR Namensraum",
        "min": 1,
        "fixedUri": "urn:oid:1.2.276.0.76.3.1.321.1.1.6.16"
      },
      {
        "id": "Organization.identifier:ZANR.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:ZANR.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:ZANR.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.type.id",
        "path": "Organization.type.id",
        "max": "0"
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.type.coding:HealthcareFacilityTypeCode",
        "path": "Organization.type.coding",
        "sliceName": "HealthcareFacilityTypeCode",
        "binding": {
          "strength": "required",
          "description": "DigenHealthcareFacilityTypeCodes",
          "valueSetUri": "http://digen.nublar.de/fhir/ValueSet/DigenHealthcareFacilityTypeCodes"
        }
      },
      {
        "id": "Organization.type.coding:HealthcareFacilityTypeCode.id",
        "path": "Organization.type.coding.id",
        "max": "0"
      },
      {
        "id": "Organization.type.coding:HealthcareFacilityTypeCode.system",
        "path": "Organization.type.coding.system",
        "min": 1
      },
      {
        "id": "Organization.type.coding:HealthcareFacilityTypeCode.code",
        "path": "Organization.type.coding.code",
        "min": 1
      },
      {
        "id": "Organization.type.coding:HealthcareFacilityTypeCode.userSelected",
        "path": "Organization.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.alias",
        "path": "Organization.alias",
        "max": "0"
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.telecom:phone",
        "path": "Organization.telecom",
        "sliceName": "phone"
      },
      {
        "id": "Organization.telecom:phone.id",
        "path": "Organization.telecom.id",
        "max": "0"
      },
      {
        "id": "Organization.telecom:phone.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Organization.telecom:phone.value",
        "path": "Organization.telecom.value",
        "min": 1
      },
      {
        "id": "Organization.telecom:phone.use",
        "path": "Organization.telecom.use",
        "fixedCode": "work"
      },
      {
        "id": "Organization.telecom:phone.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:phone.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.telecom:email",
        "path": "Organization.telecom",
        "sliceName": "email"
      },
      {
        "id": "Organization.telecom:email.id",
        "path": "Organization.telecom.id",
        "max": "0"
      },
      {
        "id": "Organization.telecom:email.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "email"
      },
      {
        "id": "Organization.telecom:email.value",
        "path": "Organization.telecom.value",
        "min": 1
      },
      {
        "id": "Organization.telecom:email.use",
        "path": "Organization.telecom.use",
        "fixedCode": "work"
      },
      {
        "id": "Organization.telecom:email.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:email.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax",
        "path": "Organization.telecom",
        "sliceName": "fax"
      },
      {
        "id": "Organization.telecom:fax.id",
        "path": "Organization.telecom.id",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "fax"
      },
      {
        "id": "Organization.telecom:fax.value",
        "path": "Organization.telecom.value",
        "min": 1
      },
      {
        "id": "Organization.telecom:fax.use",
        "path": "Organization.telecom.use",
        "fixedCode": "work"
      },
      {
        "id": "Organization.telecom:fax.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.address.id",
        "path": "Organization.address.id",
        "max": "0"
      },
      {
        "id": "Organization.address.use",
        "path": "Organization.address.use",
        "fixedCode": "work"
      },
      {
        "id": "Organization.address.type",
        "path": "Organization.address.type",
        "max": "0"
      },
      {
        "id": "Organization.address.line",
        "path": "Organization.address.line",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.address.city",
        "path": "Organization.address.city",
        "min": 1
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "min": 1
      },
      {
        "id": "Organization.address.period",
        "path": "Organization.address.period",
        "max": "0"
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "max": "0"
      },
      {
        "id": "Organization.contact",
        "path": "Organization.contact",
        "max": "0"
      },
      {
        "id": "Organization.endpoint",
        "path": "Organization.endpoint",
        "max": "0"
      }
    ]
  }
}