{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:Patient",
  "title": "Patient",
  "description": "A patient is any person recipient of health care services.",
  "type": "object",
  "allOf": [
    {
      "description": "Target audiences for medical web pages.",
      "$ref": "schema:MedicalAudience"
    },
    {
      "description": "A person (alive, dead, undead, or fictional).",
      "$ref": "schema:Person"
    }
  ],
  "properties": {
    "diagnosis": {
      "description": "One or more alternative conditions considered in the differential diagnosis process as output of a diagnosis process.",
      "oneOf": [
        { "$ref": "schema:MedicalCondition" },
        { "type": "array", "items": { "$ref": "schema:MedicalCondition" } }
      ]
    },
    "drug": {
      "description": "Specifying a drug or medicine used in a medication procedure.",
      "oneOf": [
        { "$ref": "schema:Drug" },
        { "type": "array", "items": { "$ref": "schema:Drug" } }
      ]
    },
    "healthCondition": {
      "description": "Specifying the health condition(s) of a patient, medical study, or other target audience.",
      "$ref": "schema:MedicalCondition"
    }
  }
}
