{
“$schema”: “http://json-schema.org/draft-07/schema#”,
“title”: “Roji Health Intelligence PatientData schema”,
“type”: “object”,
“properties”: {
“PatientData”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Author”: {
“type”: “string”
},
“Title”: {
“type”: “string”
},
“Created”: {
“type”: “string”
},
“CreatedBy”: {
“type”: “string”
},
“schema”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“$ref”: {
“type”: “string”
}
},
“required”: [
“$ref”
] }
},
“Demographics”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“ID”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Roji”: {
“type”: “string”
},
“Source”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“System”: {
“type”: “string”
},
“ID”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“ID”: {
“type”: “string”
}
},
“required”: [
“ID”
] }
}
},
“required”: [
“System”,
“ID”
] }
}
},
“required”: [
“Roji”,
“Source”
] }
},
“Name”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Family”: {
“type”: “string”
},
“Given”: {
“type”: “string”
}
},
“required”: [
“Family”,
“Given”
] }
},
“DateOfBirth”: {
“type”: “string”
},
“LastVisit”: {
“type”: “string”
},
“LanguageAbbreviation”: {
“type”: “string”
},
“CanContact”: {
“type”: “string”
},
“EmailAddress”: {
“type”: “string”
},
“Phone”: {
“type”: “string”
},
“Address1”: {
“type”: “string”
},
“City”: {
“type”: “string”
},
“State”: {
“type”: “string”
},
“ZipCode”: {
“type”: “string”
},
“Payor”: {
“type”: “string”
},
“Gender”: {
“type”: “string”
},
“Race”: {},
“Ethnicity”: {},
“DateOfDeath”: {},
“CauseOfDeath”: {}
},
“required”: [
“ID”,
“Name”,
“DateOfBirth”,
“LastVisit”,
“LanguageAbbreviation”,
“CanContact”,
“EmailAddress”,
“Phone”,
“Address1”,
“City”,
“State”,
“ZipCode”,
“Payor”,
“Gender”,
“Race”,
“Ethnicity”,
“DateOfDeath”,
“CauseOfDeath”
] }
},
“QualityMeasures”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“TIN”: {
“type”: “string”
},
“Practice”: {
“type”: “string”
},
“Provider”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“NPI”: {
“type”: “string”
},
“Taxomomy”: {
“type”: “string”
},
“ProviderName”: {
“type”: “string”
},
“Measure”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“RojiID”: {
“type”: “number”
},
“CMSID”: {
“type”: “string”
},
“NQFID”: {},
“eMeasureID”: {
“type”: “string”
},
“PerformanceYear”: {
“type”: “number”
},
“Name”: {
“type”: “string”
},
“Type”: {
“type”: “string”
},
“Eligibilty”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Trigger”: {
“type”: “string”
},
“Date”: {
“type”: “string”
}
},
“required”: [
“Trigger”,
“Date”
] }
},
“Quality”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Code”: {},
“Value”: {},
“Date”: {},
“Source”: {},
“Complience”: {},
“Recorded”: {}
},
“required”: [
“Code”,
“Value”,
“Date”,
“Source”,
“Complience”,
“Recorded”
] }
}
},
“required”: [
“RojiID”,
“CMSID”,
“NQFID”,
“PerformanceYear”,
“Name”,
“Type”,
“Eligibilty”,
“Quality”
] }
}
},
“required”: [
“NPI”,
“Taxomomy”,
“ProviderName”,
“Measure”
] }
}
},
“required”: [
“TIN”,
“Practice”,
“Provider”
] }
},
“PatientRisk”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Score”: {},
“BMI”: {},
“EverSmoker”: {},
“CurrentSmoker”: {},
“Systolic BP”: {},
“Diastolic BP”: {}
},
“required”: [
“Score”,
“BMI”,
“EverSmoker”,
“CurrentSmoker”,
“Systolic BP”,
“Diastolic BP”
] }
},
“Conditions”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Condition”: {}
},
“required”: [
“Condition”
] }
},
“UtilizationProvider”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“TIN”: {
“type”: “string”
},
“Practice”: {
“type”: “string”
},
“Provider”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“NPI”: {
“type”: “string”
},
“Taxonomy”: {
“type”: “string”
},
“Name”: {
“type”: “string”
},
“FirstVisit”: {
“type”: “string”
},
“LastVisit”: {
“type”: “string”
},
“Visits”: {
“type”: “number”
}
},
“required”: [
“NPI”,
“Taxonomy”,
“Name”,
“FirstVisit”,
“LastVisit”,
“Visits”
] }
}
},
“required”: [
“TIN”,
“Practice”,
“Provider”
] }
},
“Episodes”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“EpisodeName”: {
“type”: “string”
},
“ProviderName”: {
“type”: “string”
},
“Taxonomy”: {
“type”: “string”
},
“TriggerDate”: {
“type”: “string”
},
“NotableObservations”: {
“type”: “number”
},
“AvgCost”: {
“type”: “string”
},
“EpisodeCost”: {
“type”: “string”
},
“CostDifference”: {
“type”: “string”
}
},
“required”: [
“EpisodeName”,
“ProviderName”,
“Taxonomy”,
“TriggerDate”,
“NotableObservations”,
“AvgCost”,
“EpisodeCost”,
“CostDifference”
] }
},
“Populations”: {},
“HistoryClaims”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“RojiID”: {
“type”: “string”
},
“Date”: {
“type”: “string”
},
“DxCode1”: {
“type”: “string”
},
“DxCode2”: {
“type”: “string”
},
“DxCode3”: {
“type”: “string”
},
“DxCode4”: {
“type”: “string”
},
“DxCode5”: {},
“DxCode6”: {},
“DxCode7”: {},
“DxCode8”: {},
“ProcedureCode”: {
“type”: “string”
},
“ModifierCode”: {
“type”: “string”
},
“ServiceProvider”: {
“type”: “string”
},
“Taxonomy”: {
“type”: “string”
},
“DataSource”: {}
},
“required”: [
“RojiID”,
“Date”,
“DxCode1”,
“DxCode5”,
“DxCode6”,
“DxCode7”,
“DxCode8”,
“ProcedureCode”,
“ServiceProvider”,
“Taxonomy”,
“DataSource”
] }
},
“Immunizations”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Vaccine”: {
“type”: “string”
},
“Administered”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Date”: {
“type”: “string”
}
},
“required”: [
“Date”
] }
}
},
“required”: [
“Vaccine”,
“Administered”
] }
},
“Outcomes”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Name”: {
“type”: “string”
},
“Value”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“Date”: {
“type”: “string”
},
“Value”: {
“type”: “string”
}
},
“required”: [
“Date”,
“Value”
] }
}
},
“required”: [
“Name”,
“Value”
] }
},
“Medications”: {}
},
“required”: [
“Author”,
“Title”,
“Created”,
“CreatedBy”,
“schema”,
“Demographics”,
“QualityMeasures”,
“PatientRisk”,
“Conditions”,
“UtilizationProvider”,
“Episodes”,
“Populations”,
“HistoryClaims”,
“Immunizations”,
“Outcomes”,
“Medications”
] }
}
},
“required”: [
“PatientData”
] }