Vital · JSON-LD Context

Vital Io Context

JSON-LD context defining the semantic vocabulary for Vital Io from Vital.

31 Classes 9 Properties 4 Namespaces
View Context View on GitHub

Namespaces

vital: https://raw.githubusercontent.com/api-evangelist/vital-io/main/json-ld/vital-io-context.jsonld#
schema: https://schema.org/
loinc: https://loinc.org/
uo: http://purl.obolibrary.org/obo/UO_

Classes

User user_id client_user_id team_id Provider SleepSummary ActivitySummary HeartRateSample value unit duration score hr_average hrv_avg steps active_energy_burned basal_energy_burned LabOrder lab_test_id collection_method status patient_details LabResult markers Marker name reference_range interpretation Order Webhook ContinuousQuery

Properties

Property Type Container
provider reference
timestamp schema:DateTime
calendar_date schema:Date
bedtime_start schema:DateTime
bedtime_end schema:DateTime
physician reference
loinc_code loinc:Code
pdf_url reference
ordered_at schema:DateTime

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "vital": "https://raw.githubusercontent.com/api-evangelist/vital-io/main/json-ld/vital-io-context.jsonld#",
    "schema": "https://schema.org/",
    "loinc": "https://loinc.org/",
    "uo": "http://purl.obolibrary.org/obo/UO_",
    "User": "schema:Patient",
    "user_id": "schema:identifier",
    "client_user_id": "schema:identifier",
    "team_id": "schema:identifier",
    "Provider": "schema:Organization",
    "provider": {"@id": "schema:provider", "@type": "@id"},
    "SleepSummary": "schema:Action",
    "ActivitySummary": "schema:Action",
    "HeartRateSample": "schema:QuantitativeValue",
    "value": "schema:value",
    "unit": "schema:unitText",
    "timestamp": {"@id": "schema:dateTime", "@type": "schema:DateTime"},
    "calendar_date": {"@id": "schema:date", "@type": "schema:Date"},
    "bedtime_start": {"@id": "vital:bedtimeStart", "@type": "schema:DateTime"},
    "bedtime_end": {"@id": "vital:bedtimeEnd", "@type": "schema:DateTime"},
    "duration": "schema:duration",
    "score": "vital:score",
    "hr_average": "vital:heartRateAverage",
    "hrv_avg": "vital:heartRateVariabilityAverage",
    "steps": "vital:steps",
    "active_energy_burned": "vital:activeEnergyBurned",
    "basal_energy_burned": "vital:basalEnergyBurned",
    "LabOrder": "schema:MedicalProcedure",
    "lab_test_id": "schema:identifier",
    "collection_method": "vital:collectionMethod",
    "status": "schema:status",
    "patient_details": "schema:patient",
    "physician": {"@id": "schema:provider", "@type": "@id"},
    "LabResult": "schema:DiagnosticProcedure",
    "markers": "schema:hasMeasurement",
    "Marker": "schema:Observation",
    "name": "schema:name",
    "loinc_code": {"@id": "vital:loincCode", "@type": "loinc:Code"},
    "reference_range": "schema:referenceRange",
    "interpretation": "schema:resultInterpretation",
    "pdf_url": {"@id": "schema:url", "@type": "@id"},
    "Order": "schema:Order",
    "ordered_at": {"@id": "schema:orderDate", "@type": "schema:DateTime"},
    "Webhook": "schema:WebAPI",
    "ContinuousQuery": "vital:ContinuousQuery"
  }
}