{
  "resourceType": "StructureDefinition",
  "id": "e79855b5-9d73-45ae-8d9a-d5dea797eb55",
  "meta": {
    "lastUpdated": "2019-11-07T12:22:26.592+00:00"
  },
  "url": "http://kisa-ragi.eu/fhir/StructureDefinition/MyPatient",
  "version": "0.1",
  "name": "MeinPatient",
  "status": "draft",
  "date": "2019-11-07T12:22:25.8171237+00:00",
  "publisher": "Unknown",
  "contact": [
    {
      "name": "Unknown",
      "telecom": [
        {
          "system": "email",
          "value": "Unknown",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "fhirVersion": "4.0.0",
  "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.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:spezies",
        "path": "Patient.extension",
        "sliceName": "spezies",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://kisa-ragi.eu/fhir/StructureDefinition/MyExtension"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:citizienid",
        "path": "Patient.identifier",
        "sliceName": "citizienid"
      },
      {
        "id": "Patient.identifier:citizienid.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.ufp/NamingSystem/ufp-citizen-id"
      },
      {
        "id": "Patient.identifier:citizienid.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:gkvid",
        "path": "Patient.identifier",
        "sliceName": "gkvid"
      },
      {
        "id": "Patient.identifier:gkvid.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.ufp/NamingSystem/gkv/kvid-10"
      },
      {
        "id": "Patient.identifier:gkvid.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1,
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://kisa-ragi.eu/fhir//StructureDefinition/MyAddress"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://kisa-ragi.eu/fhir//StructureDefinition/MyAddress"
            ]
          }
        ]
      }
    ]
  }
}