$schema: "https://json-schema.org/draft/2020-12/schema"
title: "Blood Pressure"
type: "object"
required:
  - systolic_blood_pressure
  - diastolic_blood_pressure
  - antihypertension_medication_use
properties:
  systolic_blood_pressure:
    $ref: '#/definitions/SystolicBloodPressure'
  diastolic_blood_pressure:
    $ref: '#/definitions/DiastolicBloodPressure'
  antihypertension_medication_use:
    $ref: '#/definitions/AntiHyperTensionMedicationUse'
additionalProperties: false

definitions:
  SystolicBloodPressure:
    title: Systolic Blood Pressure (mm HG)
    description: must be between 90 - 200
    type: number
    minimum: 90
    maximum: 200
  DiastolicBloodPressure:
    title: Diastolic Blood Pressure (mm HG)
    description: must be between 60 - 130
    type: number
    minimum: 60
    maximum: 130
  AntiHyperTensionMedicationUse:
    title: Is The Patient Undergoing Treatment For Hypertension?
    type: boolean
