{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/roivant-sciences/json-schema/datavant-healthjump-vitals-schema.json",
  "title": "Datavant Healthjump Vitals",
  "description": "Vital-sign measurement record exposed by the Datavant Healthjump EHR Integration API. Field set mirrors the Vitals data table documented at support.healthjump.com.",
  "type": "object",
  "properties": {
    "hj_import_int": { "type": "integer" },
    "client_id": { "type": "integer" },
    "patient_id": { "type": "string" },
    "encounter_id": { "type": "string" },
    "measurement_date": { "type": "string", "format": "date-time" },
    "height_cm": { "type": "number" },
    "weight_kg": { "type": "number" },
    "bmi": { "type": "number" },
    "systolic_bp": { "type": "integer", "description": "Systolic blood pressure (mmHg)." },
    "diastolic_bp": { "type": "integer", "description": "Diastolic blood pressure (mmHg)." },
    "heart_rate": { "type": "integer" },
    "respiratory_rate": { "type": "integer" },
    "temperature_c": { "type": "number" },
    "oxygen_saturation": { "type": "number", "description": "SpO2 percent." },
    "date_created": { "type": "string", "format": "date-time" },
    "date_modified": { "type": "string", "format": "date-time" }
  },
  "required": ["client_id", "patient_id", "measurement_date"]
}
