{
  "resourceType": "StructureDefinition",
  "id": "d2daa298-4e9e-43b7-bad9-fa34ebe19e32",
  "meta": {
    "lastUpdated": "2020-03-13T12:33:28.836+00:00"
  },
  "url": "http://kosmosurium.de/fhir/StructureDefinition/AstridsPatient",
  "name": "AstridsPatient",
  "title": "Dies ist Astrids Patientenprofil",
  "status": "draft",
  "date": "2020-03-13T12:31:06.1968343+00:00",
  "contact": [
    {
      "name": "Astrid Bartels",
      "telecom": [
        {
          "system": "email",
          "value": "astrid@kosmosurium.de",
          "use": "home"
        }
      ]
    }
  ],
  "description": "Dies ist ein intergalaktischer Patient.",
  "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",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://kosmosurium.de/fhir/StructureDefinition/Spezies"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:citizenID",
        "path": "Patient.identifier",
        "sliceName": "citizenID",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:citizenID.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.ufp/NamingSystem/ufp-citizen-id"
      },
      {
        "id": "Patient.identifier:citizenID.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:kvID",
        "path": "Patient.identifier",
        "sliceName": "kvID",
        "max": "1"
      },
      {
        "id": "Patient.identifier:kvID.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.de/NamingSystem/gkv/kvid-10"
      },
      {
        "id": "Patient.identifier:kvID.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://kosmosurium.de/fhir/StructureDefinition/AstridsAdresse"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "min": 1,
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://kosmosurium.de/fhir/StructureDefinition/AstridsAdresse"
            ]
          }
        ]
      }
    ]
  }
}