{
  "resourceType": "StructureDefinition",
  "id": "1b73a7ad-9588-40dd-abac-bc9198089be5",
  "meta": {
    "lastUpdated": "2018-03-27T13:16:47.452+00:00"
  },
  "url": "https://example.org/StructureDefinition/alpha-patient",
  "name": "AlphaPatient",
  "status": "draft",
  "date": "2018-03-27T12:17:53.198+00:00",
  "description": "Administrative patient data from general practitioners",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:NationalID",
        "path": "Patient.identifier",
        "sliceName": "NationalID",
        "comment": "National ID",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:NationalID.system",
        "path": "Patient.identifier.system",
        "label": "National ID",
        "min": 1,
        "fixedUri": "http://alphahospital.org/patientids"
      },
      {
        "id": "Patient.identifier:NationalID.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:PatientID",
        "path": "Patient.identifier",
        "sliceName": "PatientID"
      },
      {
        "id": "Patient.identifier:PatientID.system",
        "path": "Patient.identifier.system",
        "label": "Patient ID",
        "min": 1,
        "fixedUri": "http://alphahospital.org/patientids"
      },
      {
        "id": "Patient.identifier:PatientID.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.telecom:email",
        "path": "Patient.telecom",
        "sliceName": "email",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.telecom:email.system",
        "path": "Patient.telecom.system",
        "label": "email",
        "min": 1
      },
      {
        "id": "Patient.telecom:email.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.telecom:phone",
        "path": "Patient.telecom",
        "sliceName": "phone"
      },
      {
        "id": "Patient.telecom:phone.system",
        "path": "Patient.telecom.system",
        "label": "phone",
        "min": 1
      },
      {
        "id": "Patient.telecom:phone.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "id": "Patient.birthDate.extension",
        "path": "Patient.birthDate.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.birthDate.extension:birthTime",
        "path": "Patient.birthDate.extension",
        "sliceName": "birthTime",
        "short": "Time of day of birth",
        "definition": "The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
          }
        ]
      },
      {
        "id": "Patient.communication.extension",
        "path": "Patient.communication.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.communication.extension:Type",
        "path": "Patient.communication.extension",
        "sliceName": "Type",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "https://example.org/StructureDefinition/language-preference-type"
          }
        ]
      }
    ]
  }
}