{
  "resourceType": "StructureDefinition",
  "url": "http://fhir.gefyra.de/StructureDefinition/MeinPatien",
  "name": "MeinPatient",
  "status": "draft",
  "description": "Dies ist das Patienten-Proil mit Pflichtangabe",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "comment": "Vereinbarung im Fachkreis XYZ, am 17.09.2024",
        "min": 1,
        "max": "3",
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "mustSupport": true
      },
      {
        "id": "Patient.address.extension:PlanetDerAdresse",
        "path": "Patient.address.extension",
        "sliceName": "PlanetDerAdresse",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.gefyra.de/StructureDefinition/Planet"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}