Skip to content

Instantly share code, notes, and snippets.

@dreadpiraterobots
Last active April 5, 2022 17:55
Show Gist options
  • Save dreadpiraterobots/401664007709c0f8683e1c19bb2b84f8 to your computer and use it in GitHub Desktop.
Save dreadpiraterobots/401664007709c0f8683e1c19bb2b84f8 to your computer and use it in GitHub Desktop.
Mildly-redacted Ontario Health vaccine passport
{
"iss": "https://prd.pkey.dhdp.ontariohealth.ca",
"nbf": 1645126029.3,
"vc": {
"credentialSubject": {
"fhirBundle": {
"entry": [
{
"fullUrl": "resource:0",
"resource": {
"birthDate": "<yyyy-mm-dd>",
"name": [
{
"family": "BARNETT",
"given": [
"ADAM"
]
}
],
"resourceType": "Patient"
}
},
{
"fullUrl": "resource:1",
"resource": {
"lotNumber": "<lot-number>",
"manufacturer": {
"identifier": {
"system": "http://hl7.org/fhir/sid/mvx",
"value": "MOD"
}
},
"meta": {
"security": [
{
"code": "IAL1.4",
"system": "https://smarthealth.cards/ial"
}
]
},
"occurrenceDateTime": "<yyyy-mm-dd>",
"patient": {
"reference": "resource:0"
},
"performer": [
{
"actor": {
"display": "ON, Canada"
}
}
],
"resourceType": "Immunization",
"status": "completed",
"vaccineCode": {
"coding": [
{
"code": "207",
"system": "http://hl7.org/fhir/sid/cvx"
},
{
"code": "28571000087109",
"system": "http://snomed.info/sct"
}
]
}
}
},
{
"fullUrl": "resource:2",
"resource": {
"lotNumber": "<lot-number>",
"manufacturer": {
"identifier": {
"system": "http://hl7.org/fhir/sid/mvx",
"value": "MOD"
}
},
"meta": {
"security": [
{
"code": "IAL1.4",
"system": "https://smarthealth.cards/ial"
}
]
},
"occurrenceDateTime": "<yyyy-mm-dd>",
"patient": {
"reference": "resource:0"
},
"performer": [
{
"actor": {
"display": "ON, Canada"
}
}
],
"resourceType": "Immunization",
"status": "completed",
"vaccineCode": {
"coding": [
{
"code": "207",
"system": "http://hl7.org/fhir/sid/cvx"
},
{
"code": "28571000087109",
"system": "http://snomed.info/sct"
}
]
}
}
},
{
"fullUrl": "resource:3",
"resource": {
"lotNumber": "<lot-number>",
"manufacturer": {
"identifier": {
"system": "http://hl7.org/fhir/sid/mvx",
"value": "PFR"
}
},
"meta": {
"security": [
{
"code": "IAL1.4",
"system": "https://smarthealth.cards/ial"
}
]
},
"occurrenceDateTime": "<yyyy-mm-dd>",
"patient": {
"reference": "resource:0"
},
"performer": [
{
"actor": {
"display": "ON, Canada"
}
}
],
"resourceType": "Immunization",
"status": "completed",
"vaccineCode": {
"coding": [
{
"code": "208",
"system": "http://hl7.org/fhir/sid/cvx"
},
{
"code": "28581000087106",
"system": "http://snomed.info/sct"
}
]
}
}
}
],
"resourceType": "Bundle",
"type": "collection"
},
"fhirVersion": "4.0.1"
},
"type": [
"https://smarthealth.cards#health-card",
"https://smarthealth.cards#immunization",
"https://smarthealth.cards#vaccine-exemtpion",
"https://smarthealth.cards#covid19"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment