{
  "resourceType": "StructureDefinition",
  "url": "https://sg-workshop.spezifizierung/fhir/StructureDefinition/MeinPatient",
  "name": "MeinPatient",
  "status": "draft",
  "date": "2023-01-30T14:09:04.1622051+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.extension:myExtension",
        "path": "Patient.extension",
        "sliceName": "myExtension",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://sg-workshop.spezifizierung/fhir/StructureDefinition/MeineExtension2"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Patient.extension:myExtension.value[x]",
        "path": "Patient.extension.value[x]",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "type.coding.system"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:ufp-citizen-id",
        "path": "Patient.identifier",
        "sliceName": "ufp-citizen-id",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:ufp-citizen-id.system",
        "path": "Patient.identifier.system",
        "fixedUri": "http://fhir.ufp/sid/ufp-citizen-id",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:ufp-citizen-id.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:v",
        "path": "Patient.identifier",
        "sliceName": "v",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:v.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.de/sid/gkv/kvid-10",
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:v.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1,
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://sg-workshop.spezifizierung/fhir/StructureDefinition/MeineAdresse"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://sg-workshop.spezifizierung/fhir/StructureDefinition/MeineAdresse"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}