From 6f062f0bfbe8551763bbee01f1c0c8fcfafb8a7d Mon Sep 17 00:00:00 2001 From: Billy Lo Date: Thu, 21 Oct 2021 17:14:46 -0400 Subject: [PATCH 1/3] update to button height for add to apple and google --- components/Form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {
From 3d89a5b0ee2a65617b670ba26732fa9f3af7b323 Mon Sep 17 00:00:00 2001 From: Billy Lo Date: Fri, 22 Oct 2021 16:57:08 -0400 Subject: [PATCH 2/3] updated link to new iOS demo --- build.sh | 5 +---- deploy.sh | 2 +- pages/index.tsx | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) 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/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/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')} From b404dade047b60eb950315516adead956261e68d Mon Sep 17 00:00:00 2001 From: Allan Lyons Date: Fri, 22 Oct 2021 22:30:12 -0600 Subject: [PATCH 3/3] Added AB example SHC payload --- examples/shc-ca-ab.decoded.json | 105 ++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 examples/shc-ca-ab.decoded.json 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" + } + } + ] + } + } + } +}