diff --git a/build.sh b/build.sh index cfdecb2..fd03be0 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,3 @@ docker build . -t covidpass -t gcr.io/broadcast2patients/covidpass docker push gcr.io/broadcast2patients/covidpass -docker image prune -#gcloud config set project broadcast2patients -#gcloud config set run/region us-east1 -#gcloud run deploy covidpass --image gcr.io/broadcast2patients/covidpass:latest --platform managed +docker image prune -f diff --git a/components/Form.tsx b/components/Form.tsx index 5decc7b..a0914f3 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -636,14 +636,14 @@ function Form(): JSX.Element {
diff --git a/deploy.sh b/deploy.sh index b5d9118..abbe902 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,4 +4,4 @@ gcloud config set project broadcast2patients gcloud config set run/region us-east1 gcloud run services update-traffic covidpass --to-latest gcloud run deploy covidpass --image gcr.io/broadcast2patients/covidpass:latest --platform managed -docker image prune +docker image prune -f diff --git a/examples/shc-ca-ab.decoded.json b/examples/shc-ca-ab.decoded.json new file mode 100644 index 0000000..84f97f1 --- /dev/null +++ b/examples/shc-ca-ab.decoded.json @@ -0,0 +1,105 @@ +{ + "iss": "https://covidrecords.alberta.ca/smarthealth/issuer", + "nbf": 1633132472, + "vc": { + "type": [ + "https://smarthealth.cards#health-card", + "https://smarthealth.cards#covid19", + "https://smarthealth.cards#immunization" + ], + "credentialSubject": { + "fhirVersion": "4.0.1", + "fhirBundle": { + "resourceType": "Bundle", + "type": "collection", + "entry": [ + { + "fullUrl": "resource:0", + "resource": { + "resourceType": "Patient", + "name": [ + { + "family": "LASTNAME", + "given": [ + "FIRSTNAME" + ] + } + ], + "birthDate": "YYYY-MM-DD" + } + }, + { + "fullUrl": "resource:1", + "resource": { + "resourceType": "Immunization", + "meta": { + "security": [ + { + "system": "https://smarthealth.cards/ial", + "code": "IAL1.2" + } + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "208" + } + ] + }, + "patient": { + "reference": "Patient/resource:0" + }, + "occurrenceDateTime": "YYYY-MM-DD", + "performer": [ + { + "actor": { + "display": "Government of Alberta - Provincial Immunization Repository" + } + } + ], + "lotNumber": "SOME_STRING" + } + }, + { + "fullUrl": "resource:2", + "resource": { + "resourceType": "Immunization", + "meta": { + "security": [ + { + "system": "https://smarthealth.cards/ial", + "code": "IAL1.2" + } + ] + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "207" + } + ] + }, + "patient": { + "reference": "Patient/resource:0" + }, + "occurrenceDateTime": "YYYY-MM-DD", + "performer": [ + { + "actor": { + "display": "Government of Alberta - Provincial Immunization Repository" + } + } + ], + "lotNumber": "SOME_STRING" + } + } + ] + } + } + } +} diff --git a/pages/index.tsx b/pages/index.tsx index 51cd9cc..24af6d3 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -95,7 +95,7 @@ function Index(): JSX.Element { {t('index:androidDemo')}     - + {/* */} {t('index:iosDemo')}