{
  "resourceType": "StructureDefinition",
  "url": "https://Rohiesexample.org/fhir/StructureDefinition/RohiesMyAlpCorePatient",
  "name": "RohiesMyAlpCorePatient",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://fhir.alp/StructureDefinition/AlpCorePatient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "constraint": [
          {
            "key": "Rohie-Add-01",
            "severity": "error",
            "human": "temporary address must have a period",
            "xpath": "(use = 'temp') implies period.exists()"
          }
        ]
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "condition": [
          "Rohie-Add-01"
        ]
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "condition": [
          "Rohie-Add-01"
        ]
      }
    ]
  }
}