{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/MyPatient",
  "version": "0.1",
  "name": "HSNRPatient",
  "title": "HSNR Testpatient",
  "status": "draft",
  "experimental": true,
  "date": "2021-06-24",
  "publisher": "HSNR",
  "description": "Test-Patient",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "description": "Slicing für GKV-Nummer",
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:GKVNummer",
        "path": "Patient.identifier",
        "sliceName": "GKVNummer",
        "min": 1,
        "max": "1",
        "fixedIdentifier": {
          "use": "official"
        }
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo.contentType",
        "path": "Patient.photo.contentType",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization.type.extension",
        "path": "Patient.managingOrganization.type.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.managingOrganization.type.extension:RolleOrganisation",
        "path": "Patient.managingOrganization.type.extension",
        "sliceName": "RolleOrganisation",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/MyExtension"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}