{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Betriebsstaette",
  "name": "KBV_PR_FOR_Betriebsstaette",
  "status": "draft",
  "fhirVersion": "4.0.0",
  "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/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.meta",
        "path": "Organization.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.meta.versionId",
        "path": "Organization.meta.versionId",
        "max": "0"
      },
      {
        "id": "Organization.meta.lastUpdated",
        "path": "Organization.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Organization.meta.source",
        "path": "Organization.meta.source",
        "max": "0"
      },
      {
        "id": "Organization.meta.profile",
        "path": "Organization.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Betriebsstaette",
        "mustSupport": true
      },
      {
        "id": "Organization.meta.security",
        "path": "Organization.meta.security",
        "max": "0"
      },
      {
        "id": "Organization.meta.tag",
        "path": "Organization.meta.tag",
        "max": "0"
      },
      {
        "id": "Organization.implicitRules",
        "path": "Organization.implicitRules",
        "max": "0"
      },
      {
        "id": "Organization.language",
        "path": "Organization.language",
        "max": "0"
      },
      {
        "id": "Organization.text",
        "path": "Organization.text",
        "max": "0"
      },
      {
        "id": "Organization.contained",
        "path": "Organization.contained",
        "max": "0"
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "short": "Identifiziert eine Organisation",
        "definition": "Identifikator für die Organisation, mit dem die Organisation über mehrere verschiedene Systeme hinweg identifiziert wird.",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer",
        "path": "Organization.identifier",
        "sliceName": "Betriebsstaettennummer",
        "short": "Betriebstättennummer (BSNR) vergeben durch die KBV.",
        "definition": "Die Betriebsstaettennummer (BSNR) entspricht der bis zum 30. Juni 2008 gueltigen siebenstelligen KV-Abrechnungsnummer, ergaenzt um zwei angehaengte Nullen. Sie identifiziert die Arztpraxis als abrechnende Einheit und ermoeglicht die Zuordnung aerztlicher Leistungen zum Ort der Leistungserbringung. Dabei umfasst der Begriff Arztpraxis auch Medizinische Versorgungszentren (MVZ), Institute, Notfallambulanzen sowie Ermaechtigungen an Krankenhaeusern",
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "KBV",
            "map": "Betriebsstaette:BSNR"
          }
        ]
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type",
        "path": "Organization.identifier.type",
        "min": 1
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding.version",
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "BSNR"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding.display",
        "path": "Organization.identifier.type.coding.display",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.coding.userSelected",
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.type.text",
        "path": "Organization.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.system",
        "path": "Organization.identifier.system",
        "short": "Namespace für Betriebsstättennnummern der KBV",
        "definition": "Die URL dient als eindeutiger Name des BSNR-Nummernkreises.",
        "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
        "min": 1,
        "fixedUri": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Betriebsstaettennummer.value",
        "path": "Organization.identifier.value",
        "short": "Betriebsstättennummer der Organisation",
        "definition": "Betriebsstättennummer der Organisation",
        "min": 1,
        "mustSupport": true
      },
      {
        "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",
        "short": "IK Nummer vergeben durch die Arbeitsgemeinschaft Institutionskennzeichen.",
        "definition": "Die Institutionskennzeichen (kurz: IK) sind bundesweit eindeutige, neunstellige Zahlen vergeben durch die Arbeitsgemeinschaft Institutionskennzeichen, mit deren Hilfe Abrechnungen und Qualitätssicherungsmaßnahmen im Bereich der deutschen Sozialversicherung einrichtungsübergreifend abgewickelt werden können.",
        "mustSupport": true
      },
      {
        "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",
        "short": "Namespace für Instituskennzeichen.",
        "definition": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
        "min": 1,
        "fixedUri": "http://fhir.de/NamingSystem/arge-ik/iknr",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Institutionskennzeichen.value",
        "path": "Organization.identifier.value",
        "short": "Institutskennzeichen der Organisation",
        "definition": "Institutskennzeichen der Organisation",
        "min": 1,
        "mustSupport": true
      },
      {
        "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:@default",
        "path": "Organization.identifier",
        "sliceName": "@default",
        "definition": "Ein zum Zeitpunkt der Spezifikation nicht bekannter Identifikator für eine Einrichtung. \r\nIm Zusammenhang mit den Formularen kann hier die Abrechnungsnummer der Zahnärzte eingetragen werden.",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:@default.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:@default.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:@default.system",
        "path": "Organization.identifier.system",
        "max": "0"
      },
      {
        "id": "Organization.identifier:@default.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:@default.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:@default.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.active",
        "path": "Organization.active",
        "max": "0"
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "max": "0"
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "short": "Name der Betriebsstätte",
        "definition": "Menschenlesbarer Name der Betriebsstätte, z.B.: \"Gemeinschaftspraxis Dr. Soundso\"",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "KBV",
            "map": "Betriebsstaette: Name"
          }
        ]
      },
      {
        "id": "Organization.alias",
        "path": "Organization.alias",
        "max": "0"
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "max": "3",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:telefon",
        "path": "Organization.telecom",
        "sliceName": "telefon",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.telecom:telefon.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Organization.telecom:telefon.value",
        "path": "Organization.telecom.value",
        "min": 1
      },
      {
        "id": "Organization.telecom:telefon.use",
        "path": "Organization.telecom.use",
        "max": "0"
      },
      {
        "id": "Organization.telecom:telefon.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:telefon.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax",
        "path": "Organization.telecom",
        "sliceName": "fax",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:fax.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "fax",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:fax.value",
        "path": "Organization.telecom.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:fax.use",
        "path": "Organization.telecom.use",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:fax.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.telecom:eMail",
        "path": "Organization.telecom",
        "sliceName": "eMail",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:eMail.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "fixedCode": "email",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:eMail.value",
        "path": "Organization.telecom.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.telecom:eMail.use",
        "path": "Organization.telecom.use",
        "max": "0"
      },
      {
        "id": "Organization.telecom:eMail.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom:eMail.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "KBV",
            "map": "Betriebsstaette: Adresse"
          }
        ]
      },
      {
        "id": "Organization.address.extension:Stadtteil",
        "path": "Organization.address.extension",
        "sliceName": "Stadtteil",
        "max": "0"
      },
      {
        "id": "Organization.address.use",
        "path": "Organization.address.use",
        "max": "0"
      },
      {
        "id": "Organization.address.type",
        "path": "Organization.address.type",
        "max": "0"
      },
      {
        "id": "Organization.address.text",
        "path": "Organization.address.text",
        "max": "0"
      },
      {
        "id": "Organization.address.line",
        "path": "Organization.address.line",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Strasse",
        "path": "Organization.address.line.extension",
        "sliceName": "Strasse",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Strasse.value[x]",
        "path": "Organization.address.line.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Hausnummer",
        "path": "Organization.address.line.extension",
        "sliceName": "Hausnummer",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Hausnummer.value[x]",
        "path": "Organization.address.line.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Adresszusatz",
        "path": "Organization.address.line.extension",
        "sliceName": "Adresszusatz",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Adresszusatz.value[x]",
        "path": "Organization.address.line.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Organization.address.line.extension:Postfach",
        "path": "Organization.address.line.extension",
        "sliceName": "Postfach",
        "max": "0"
      },
      {
        "id": "Organization.address.city",
        "path": "Organization.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.address.state",
        "path": "Organization.address.state",
        "max": "0"
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Organization.address.country",
        "path": "Organization.address.country",
        "mustSupport": true
      },
      {
        "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"
      }
    ]
  }
}