{
  "resourceType": "StructureDefinition",
  "url": "https://vivira.com/fhir/StructureDefinition/VPatient",
  "name": "VPatient",
  "status": "draft",
  "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:resourceType",
        "path": "Patient.extension",
        "sliceName": "resourceType",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://vivira.com/fhir/StructureDefinition/VExtensionResourceType"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:resourceType.value[x]",
        "path": "Patient.extension.value[x]",
        "fixedString": "Patient"
      },
      {
        "id": "Patient.identifier.use",
        "path": "Patient.identifier.use",
        "fixedCode": "usual"
      },
      {
        "id": "Patient.identifier.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "max": "0"
      },
      {
        "id": "Patient.identifier.period.end",
        "path": "Patient.identifier.period.end",
        "max": "0"
      },
      {
        "id": "Patient.identifier.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "max": "0"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "max": "0"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "fixedCode": "email"
      },
      {
        "id": "Patient.telecom.use",
        "path": "Patient.telecom.use",
        "max": "0"
      },
      {
        "id": "Patient.telecom.rank",
        "path": "Patient.telecom.rank",
        "max": "0"
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "max": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "short": "male | female | other | skip"
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "short": "The year of birth for the individual",
        "definition": "The year of birth for the individual."
      },
      {
        "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.photo",
        "path": "Patient.photo",
        "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"
      }
    ]
  }
}