Fix Oklahoma issuer URL, add Kentucky, add PEI example decoded SHC

This commit is contained in:
Ryan Slobojan 2021-10-23 17:30:33 -04:00
parent 50522fab1b
commit 6c13b63798
2 changed files with 141 additions and 1 deletions

View File

@ -0,0 +1,125 @@
{
"iss": "https://pvcprod.gov.pe.ca",
"vc": {
"credentialSubject": {
"fhirBundle": {
"resourceType": "Bundle",
"entry": [
{
"resource": {
"resourceType": "Patient",
"name": [
{
"given": [
"FIRSTNAME"
],
"family": "LASTNAME"
}
],
"birthDate": "YYYY-MM-DD"
},
"fullUrl": "resource:0"
},
{
"resource": {
"status": "completed",
"performer": [
{
"actor": {
"display": "PE, Canada"
}
}
],
"patient": {
"reference": "resource:0"
},
"resourceType": "Immunization",
"lotNumber": "SOME_STRING",
"vaccineCode": {
"coding": [
{
"code": "208",
"system": "http://hl7.org/fhir/sid/cvx"
},
{
"code": "28581000087106",
"system": "http://snomed.info/sct"
}
]
},
"meta": {
"security": [
{
"code": "IAL1.4",
"system": "https://smarthealth.cards/ial"
}
]
},
"occurrenceDateTime": "YYYY-MM-DD",
"manufacturer": {
"identifier": {
"system": "http://hl7.org/fhir/sid/mvx",
"value": "PFR"
}
}
},
"fullUrl": "resource:1"
},
{
"resource": {
"status": "completed",
"performer": [
{
"actor": {
"display": "PE, Canada"
}
}
],
"patient": {
"reference": "resource:0"
},
"resourceType": "Immunization",
"lotNumber": "SOME_STRING",
"vaccineCode": {
"coding": [
{
"code": "207",
"system": "http://hl7.org/fhir/sid/cvx"
},
{
"code": "28571000087109",
"system": "http://snomed.info/sct"
}
]
},
"meta": {
"security": [
{
"code": "IAL1.4",
"system": "https://smarthealth.cards/ial"
}
]
},
"occurrenceDateTime": "YYYY-MM-DD",
"manufacturer": {
"identifier": {
"system": "http://hl7.org/fhir/sid/mvx",
"value": "MOD"
}
}
},
"fullUrl": "resource:2"
}
],
"type": "collection"
},
"fhirVersion": "4.0.1"
},
"type": [
"https://smarthealth.cards#health-card",
"https://smarthealth.cards#immunization",
"https://smarthealth.cards#covid19"
]
},
"nbf": 1634941882.075
}

View File

@ -242,7 +242,7 @@ export const issuers = [
{
id: "us.ok",
display: "Oklahoma, USA",
iss: "https://smarthealthcard.iisregistry.net/newmexico/issuer",
iss: "https://smarthealthcard.iisregistry.net/oklahoma/issuer",
keys: [
{ kid: "mdc6xSqYJBj5wAfdO75tFY96MP1sRwv8o1vRKcJvWe4",
alg: "ES256", kty: "EC", crv: "P-256", use: "sig",
@ -250,6 +250,21 @@ export const issuers = [
y: "SWDMBC-y-YMiso_hSQB6bl3MvYOii-rpYtgQJISt84Y" },
]
},
{
id: "us.ky",
display: "Kentucky, USA",
iss: "https://smarthealthcard.iisregistry.net/kentucky/issuer",
keys: [
{ kid: "xjDAI01aAqqKVfTby1HgI5mGmaNov_iNAe7YU42-GYI",
alg: "ES256", kty: "EC", crv: "P-256", use: "sig",
x: "XGD2eTGy-Ty264jBz6__6yVih4HIShgGzWdJBAeLJOU",
y: "KvM4EauttKWSVjF5unr7MUWz1QSwsEW46A4aGWsFY4I" },
{ kid: "COtZJhsWjnta-bYXwlRkWlldA95Ai7S6YGZE4MPB-tk",
alg: "ES256", kty: "EC", crv: "P-256", use: "sig",
x: "X2Erdh2dszBgm0y5RF0C6tcA2fwGdDU_ZsOeJLjjcQk",
y: "haxiYhRJifQY_qU3Dv_qqk1aBzY4IrcegLqu6rvikMQ" },
]
},
{
id: "ca.pe",
display: "Prince Edward Island",