{
  "resourceType": "StructureDefinition",
  "id": "4fa5d62e-210f-4eb0-b23d-a5012cb02c94",
  "meta": {
    "lastUpdated": "2018-12-17T20:27:33.659+00:00"
  },
  "url": "http://fhir.de/StructureDefinition/measurereport-de-p21-betten",
  "version": "0.1-WORK",
  "name": "measurereport-de-p21-betten",
  "title": "Messbericht-Betten, deutsches §21 KHEntgG-Profil (Version 0.1)",
  "status": "draft",
  "date": "2018-12-17T20:27:33.383+00:00",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "KHEntgG",
      "name": "Datensatzbeschreibung nach Krankenhausentgeltgesetz"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MeasureReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MeasureReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MeasureReport.reportingOrganization.identifier",
        "path": "MeasureReport.reportingOrganization.identifier",
        "patternIdentifier": {
          "system": "http://fhir.de/NamingSystem/arge-ik/iknr"
        }
      },
      {
        "id": "MeasureReport.reportingOrganization.identifier.value",
        "path": "MeasureReport.reportingOrganization.identifier.value",
        "min": 1,
        "mapping": [
          {
            "identity": "KHEntgG",
            "map": "Institutionskennzeichen des Krankenhauses",
            "comment": "Krankenhaus..CSV.1"
          }
        ]
      },
      {
        "id": "MeasureReport.group.population",
        "path": "MeasureReport.group.population",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MeasureReport.group.population:Betten-DRG",
        "path": "MeasureReport.group.population",
        "sliceName": "Betten-DRG",
        "max": "1"
      },
      {
        "id": "MeasureReport.group.population:Betten-DRG.count",
        "path": "MeasureReport.group.population.count",
        "min": 1,
        "mapping": [
          {
            "identity": "KHEntgG",
            "map": "Anzahl der aufgestellten Betten (DRG)",
            "comment": "Info.CSV.5"
          }
        ]
      },
      {
        "id": "MeasureReport.group.population:Betten-PSY",
        "path": "MeasureReport.group.population",
        "sliceName": "Betten-PSY"
      },
      {
        "id": "MeasureReport.group.population:Betten-PSY.count",
        "path": "MeasureReport.group.population.count",
        "min": 1,
        "mapping": [
          {
            "identity": "KHEntgG",
            "map": "Anzahl der aufgestellten Betten (PSY)",
            "comment": "Info.CSV.6"
          }
        ]
      }
    ]
  }
}