Skip to content

Instantly share code, notes, and snippets.

@scoates
Created August 25, 2021 16:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scoates/68528ba069710ccc2e321c66d72cad1c to your computer and use it in GitHub Desktop.
Save scoates/68528ba069710ccc2e321c66d72cad1c to your computer and use it in GitHub Desktop.
Assets from VaxiCode (vaccios)
{
"name": "Quebec",
"version": "1.0",
"date": "2021-07-27",
"conditions": [
{
"id": "second_dose",
"type": "Immunization",
"cvx": [
207,
208,
210,
211
],
"description": "Deuxième dose de vaccin bi-dose",
"daysAgo": 7,
"timeGranularity":"day",
"doseNumber":2
},
{
"id": "third_dose",
"type": "Immunization",
"cvx": [
207,
208,
210,
211
],
"description": "Troisième dose de vaccin bi-dose",
"daysAgo": 7,
"timeGranularity":"day",
"doseNumber":3
},
{
"id": "first_dose",
"type": "Immunization",
"cvx": [
207,
208,
210,
211
],
"description": "Première dose de vaccin bi-dose",
"daysAgo": 21,
"timeGranularity":"day",
"doseNumber":1
},
{
"id": "mono_dose",
"type": "Immunization",
"cvx": [
212
],
"description": "Une dose de vaccin uni-dose",
"daysAgo": 14,
"timeGranularity":"day"
},
{
"id": "infection_pre_vax",
"type": "DiagnosticReport",
"description": "Infection confirmée pré-vaccination",
"filters": [
{
"status": "Final",
"conclusion": "Positive",
"code.coding[0].system": "https://loinc.org",
"code.coding[0].code":"94759-8"
}
],
"daysAgo": 28,
"timeGranularity":"day"
},
{
"id": "recent_infection",
"type": "DiagnosticReport",
"description": "Infection confirmée dans les 6 derniers mois et 10 jours post-infection",
"filters": [
{
"status": "Final",
"conclusion": "Positive",
"code.coding[0].system": "https://loinc.org",
"code.coding[0].code":"94759-8"
}
],
"daysAgo": 10,
"maxDaysAgo": 182,
"timeGranularity":"day"
}
],
"rules": [
{
"name":"two_vaccine_doses",
"conditionsMatching": [
{
"id": "first_dose"
},
{
"id": "second_dose",
"delayFromPreviousEvent":14,
"delayGranularity":"day"
}
]
},
{
"name":"two_vaccine_doses",
"conditionsMatching": [
{
"id": "first_dose"
},
{
"id": "third_dose",
"delayFromPreviousEvent":14,
"delayGranularity":"day"
}
]
},
{
"name":"two_vaccine_doses",
"conditionsMatching": [
{
"id": "second_dose"
},
{
"id": "third_dose",
"delayFromPreviousEvent":14,
"delayGranularity":"day"
}
]
},
{
"name":"one_janssen_dose",
"conditionsMatching": [
{
"id": "mono_dose"
}
]
},
{
"name":"infection_and_dose",
"conditionsMatching": [
{
"id": "infection_pre_vax"
},
{
"id": "second_dose",
"delayFromPreviousEvent": 21,
"delayGranularity":"day"
}
]
},
{
"name":"infection_and_dose",
"conditionsMatching": [
{
"id": "infection_pre_vax"
},
{
"id": "first_dose",
"delayFromPreviousEvent": 21,
"delayGranularity":"day"
}
]
},
{
"name":"infection_and_dose",
"conditionsMatching": [
{
"id": "infection_pre_vax"
},
{
"id": "third_dose",
"delayFromPreviousEvent": 21,
"delayGranularity":"day"
}
]
}
]
}
{
"alg": "ES256",
"kty": "EC",
"crv": "P-256",
"use": "sig",
"kid": "fFyWQ6CvV9Me_FkwWAL_DwxI_VQROw8tyzSp5_zI8_4",
"x": "XSxuwW_VI_s6lAw6LAlL8N7REGzQd_zXeIVDHP_j_Do",
"y": "88-aI4WAEl4YmUpew40a9vq_w5OcFvsuaKMxJRLRLL0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment