{
  "resourceType": "StructureDefinition",
  "id": "Patient",
  "url": "https://fhir.elona.health/StructureDefinition/PatientProfile",
  "version": "1.0",
  "name": "ElonaPatient",
  "title": "Patient Profile",
  "status": "active",
  "publisher": "ElonaHealth",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient"
      },
      {
        "id": "Patient.id",
        "path": "Patient.id",
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "comment": "When updating the name, the old name is stored and not deleted.",
        "min": 1,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "short": "Storing only the 'nickname' of the patient.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "short": "The value of the nickname of the patient.",
        "comment": "To reduce the amount of personal information collected, only the nickname is collected.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "comment": "When updating the contact information, the old version of the contact information is stored and not deleted.",
        "min": 1,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "comment": "The birthdate of the user is used for identity verification.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "max": "0"
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "max": "0"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}