Skip to content

Commit

Permalink
DGCVaccinationInfo linked to DGCVaccine primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
mukundanps committed May 16, 2021
1 parent 63b3e95 commit 25df270
Show file tree
Hide file tree
Showing 130 changed files with 2,664 additions and 2,088 deletions.
4 changes: 2 additions & 2 deletions packages/pathogen-schemas/src/__fixtures__/Brand/vcbbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:36Z",
"created": "2021-05-16T14:46:19Z",
"proofPurpose": "assertionMethod",
"proofValue": "orN5IkrAeWngHTMP9mrS5D59j4sDWr/dG6kFh+mAaGl0/L3jGj2u48RMzZQVGb96Vxuz5XDPTFEy5vb1IQv8GLzp7V9wNRDS2J5kb3J7XXstKit5HaslXn/cuGeLJA9R5z3e67fgZ1w0CJIctisGTw==",
"proofValue": "suYdg7meZPGtP8tu82o9q3UvBsYbo4uNKGWtYpdbF/X2zRF8JX3dqQ1NB6sAb2YeFVcd5mRdnpY12Vooixe/LowmK0RkKSy+4N8aB5dv5fpeil8A+Slgu/Qrgf7AWVnWIq4uXjRLq30UOXpXcH9zZw==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:36Z",
"created": "2021-05-16T14:46:20Z",
"proofPurpose": "assertionMethod",
"proofValue": "lnK0rK4dNxPlcbtupFEdToQwYJvMEhuDmZbMHto20/HBCou1emdICXMsEmxC2qTnVYTiQiMd5BX4uXEwG9KFyaX1rSTqb7KUh/pVRTKWXVgvyaq6ADwqKpaT4f2w+sRID85FrMJ7iAH6To10R8vjkA==",
"proofValue": "h9sRUJJkAR1/iCfnuXXATfDY2pQxi/axiYseF0xS1KIR/unzcJXj8UpiDbfs8dHrNDXRf4y4lunll48KM05EZjPl5SPE/dLNhttae+xKlcUnJsqiFeEanxnQjOaNUpd+X4YnbyRBJ2cP3GrUEq0ogA==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:38Z",
"created": "2021-05-16T14:46:22Z",
"proofPurpose": "assertionMethod",
"proofValue": "lCZBXUNn3HFdGs6BGLmWrXaJ/eg0iwaPHOhH5ENIqYmm7Pki+9QmAP2Qfr/e2gsHCzU9i1fsyGBNNkrZ/A840Xx29DptS7j8oos28XLBUkRYgQKmb1T4tITAJVClcMfytEQePib9GfSd5udL3KRKOw==",
"proofValue": "knwfrjlI14RLon6iab6FQ3mID4ORKhWWB8rAJofQCelGaKBga56nx0kVXanh5Z9KA3GD7UdifCLmBke1tgaxyWXWZvHWhzQ+OLzWvm15eTU6PxLRGmA1igbf0IBwPXBa0MXfZkJdugV6vJd075P4bQ==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:38Z",
"created": "2021-05-16T14:46:22Z",
"proofPurpose": "assertionMethod",
"proofValue": "pcvN345qqE62NfqfX+iwSfrnOKDTvH3TDopF0RKJqSj+0e/e13q4XE0xtrPdrcOCXK7XmYe2UyQXCmbsn4jALPnwRDDJ8XGk69+3A+CWd7kTGM25cY/qUU3WGgPcSWKSSEPPDtHsXrzQJss3VOHUjA==",
"proofValue": "jl8W/MQmDDWA3Izcv7PnBEsCm2OAnomfmnqQkwTo2t1GorPI9bsMdUPbB2NWMcpEUOgwdeFcanMjQ4R6+wL+erhwLeLDktT+dhqQ3Su7EadZHNElNTxOkUBqsnT4rNKKuXu76Y7WbR0nJ69JrR59Xw==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:36Z",
"created": "2021-05-16T14:46:20Z",
"proofPurpose": "assertionMethod",
"proofValue": "k5q/c5xvV8y32LOZCiinFI6+Obh8GTJR6tTlFupTtYfKE7ZAVU0pj1GWZa0pkXhzA0opWD3nymCiuQH5S2iLpMEwwDIZ0hBlPQcIm3sFpXc7SdczPaCbwwta+GnB/WioFc3Vt54wZa1PJM2rBRASBg==",
"proofValue": "h5aHv+yJuWQGU+34plr2/+1JAc4usqSMzcs0+BtNFu5lyJ+4Ze38OlNQVxJyA7XJL+/sw05Evlyq1AcT/i9yYbS8ZQmLscoVp9lULJq9Y+08V0AE3v4TPHhbloGBIJOVciqPaJDDGzwI5nexSiXkbg==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:36Z",
"created": "2021-05-16T14:46:20Z",
"proofPurpose": "assertionMethod",
"proofValue": "oG+0KV4DL3ZZQWT7CX6L1GmYPO5UuYlk6+VYiu98B5CCJ5nuubRNigxNAKRqkX94VSDsxWVdftF+eqouolYFHdxVh+2ihIQe/5FDAANdlT1S19RCM7P0V4Unyzooim8/PFysn82zq1VGgm8FSNZYHg==",
"proofValue": "iTEKd86dcBtbkSyuXenWNxJb621f6SMVIzV5PcjeIxdWDS7boJuBrLlpEspdXN7yR4d17pOO7GhtOADrQ2SZlhEbQfkNFNjeI0THHNXpLQ1oEssXObjpzxKTYcLbEoQhe+zg0BpUFxXkZPndh7RvEw==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:36Z",
"created": "2021-05-16T14:46:20Z",
"proofPurpose": "assertionMethod",
"proofValue": "sNnirLuM+r5p3ZtLH7E+qNoi5QrjG0d1ECDiKmxvykV3Xf9LdO2TcIITozG1SZsIHl68MqmFkQGU12IXxh0LXe3dW59MQda5X4bITLSgz7k/UrfcoVSgKAWmOYy9NmDAujQGb5knPaqoXDD3I7QtdA==",
"proofValue": "mA1U1Fk1E+VVTtdy3JFlsm8BwXMDaB6ussGWvBvr91B7cCfh9uLzvUZfSD6+eLBvLN9GVjeNgk2KX+VBjfKowCo+fW6Y1+DzEtbkQsa9uxwfP8o7zK901xXjcm5BqpGP0ug0S1CM636QtaAsAPLdhA==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:38Z",
"created": "2021-05-16T14:46:22Z",
"proofPurpose": "assertionMethod",
"proofValue": "iQQ7cymuXjV1LZkeUC0D2cqE1xpcnMKEqgohGm5ZXEKglZY3WDChr+m5rdHbSaaHS8ghJ3ag37zGmjEbKDj9B5sYWnfm3L7pAQCWyNoGc0AT+MbbyBJHdOvKaXHPZ9qpfL12lxiopRD66rTyacmnJg==",
"proofValue": "inDe7e2WQkeib6mVQJujqnvAyrAuLkuNKeDodRAhGm+aViRpJFhpPmnazremP9SvVWTX3rE374S9TEeeNShsI6rpoe6RNwVSUDixVsYvny5LRTnB+EIR1FC5s+TSI7/cFtPWj4QNmahPjLrepmIcSQ==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"evidence": [],
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-14T22:05:37Z",
"created": "2021-05-16T14:46:22Z",
"proofPurpose": "assertionMethod",
"proofValue": "rCqpN8Vv0h4JZPHlSzLB/eKaLm8XqDgaNcHwgtYCUeDb1JARBeYxsXku7LfugQkIZ2Hs4So88LnyL43y7rGZABQ9YKTqWEMpCSZb+QeneIpBEggRtGDRslpr7pfvU+kXPhRUrtPw18ISkSfzaBDevw==",
"proofValue": "lLBg3FmBy0Iu/3ah8IlHa47jWKRZ/byhS/x1fpaFg0dghEUpNv4q3VUHACNcaAKrHnk3sxfe+a/cCNXrCH3v57UMhhA7ajT+szYQJoz/Rik7fS+VjBhG31C/eJphtVU0UnjPeXxFEm8Y+P0RC6m72A==",
"verificationMethod": "did:example:123#key-1"
}
}
Original file line number Diff line number Diff line change
@@ -1,44 +1,49 @@
[
{
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCProofOfVaccination",
"system": "back up"
},
{
"protocol": "input",
"bandwidth": "index"
},
{
"@context": [
"https://w3id.org/pathogen/v1"
],
"vaccinationInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccinationInformation",
"administeringCentre": "AZ. OSPEDALIERO - UNIVERSITARIA CAREGGI",
"batchNumber": "B1235742",
"administeringCentre": "Hospital Universario La Paz",
"batchNumber": "C1235742",
"countryOfVaccination": "de",
"dateOfVaccination": "2021-03-11T08:48:23.370Z",
"dateOfVaccination": "2021-02-22T13:19:56.397Z",
"healthProfessional": "MSSCZN70H08H704F",
"nextVaccinationDate": "2021-06-07T02:00:56.792Z",
"order": "1 of 2",
"vaccine": "ICD-11#164949870"
"nextVaccinationDate": "2021-05-20T21:09:06.704Z",
"order": "1 of 1",
"vaccine": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccine",
"code": "SCT#1119349007",
"targetDisease": "ICD-10#J12.82",
"marketingAuthHolder": "Moderna Biotech Spain S.L.",
"medicinalProductName": "COVID-19 Vaccine"
}
},
"sensor": "program"
},
{
"interface": "back up"
},
{
"@context": [
"https://w3id.org/pathogen/v1"
],
"personalInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCSubject",
"familyName": "Wyman",
"givenName": "Grant",
"birthDate": "1991-06-27T15:45:27.605Z",
"familyName": "Runte",
"givenName": "Audra",
"birthDate": "1972-07-23T14:44:35.992Z",
"gender": "female"
},
"system": "generate",
"monitor": "input"
"monitor": "compress",
"driver": "bypass",
"sensor": "navigate"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,25 @@
"healthProfessional": "MSSCZN70H08H704F",
"nextVaccinationDate": "2021-05-20T21:09:06.704Z",
"order": "1 of 1",
"vaccine": "ICD-11#164949870"
"vaccine": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccine",
"code": "SCT#1119349007",
"targetDisease": "ICD-10#J12.82",
"marketingAuthHolder": "Moderna Biotech Spain S.L.",
"medicinalProductName": "COVID-19 Vaccine"
}
},
"personalInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCSubject",
"familyName": "Murazik",
"givenName": "Josie",
"birthDate": "1997-11-04T03:20:21.232Z",
"familyName": "Lebsack",
"givenName": "Sheldon",
"birthDate": "1973-01-18T02:42:23.588Z",
"gender": "female"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,25 @@
"healthProfessional": "MSSCZN70H08H704F",
"nextVaccinationDate": "2021-05-20T21:09:06.704Z",
"order": "1 of 1",
"vaccine": "ICD-11#164949870"
"vaccine": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccine",
"code": "SCT#1119349007",
"targetDisease": "ICD-10#J12.82",
"marketingAuthHolder": "Moderna Biotech Spain S.L.",
"medicinalProductName": "COVID-19 Vaccine"
}
},
"personalInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCSubject",
"familyName": "Murazik",
"givenName": "Josie",
"birthDate": "1997-11-04T03:20:21.232Z",
"familyName": "Lebsack",
"givenName": "Sheldon",
"birthDate": "1973-01-18T02:42:23.588Z",
"gender": "female"
}
},
Expand All @@ -39,23 +48,32 @@
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccinationInformation",
"administeringCentre": "München Klinik Bogenhausen",
"batchNumber": "D1235742",
"countryOfVaccination": "es",
"dateOfVaccination": "2021-05-12T19:25:19.198Z",
"administeringCentre": "Hospital Universario La Paz",
"batchNumber": "A1235742",
"countryOfVaccination": "it",
"dateOfVaccination": "2021-02-13T21:44:14.841Z",
"healthProfessional": "VRDRCR70H08H703B",
"nextVaccinationDate": "2021-06-07T02:46:40.971Z",
"order": "1 of 2",
"vaccine": "ICD-11#164949870"
"nextVaccinationDate": "2021-05-27T09:31:45.220Z",
"order": "2 of 2",
"vaccine": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccine",
"code": "SCT#1119349007",
"targetDisease": "ICD-10#J12.82",
"marketingAuthHolder": "Novavax CZ AS",
"medicinalProductName": "COVID-19 Vaccine"
}
},
"personalInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCSubject",
"familyName": "Lehner",
"givenName": "Geraldine",
"birthDate": "2000-09-16T05:34:24.075Z",
"familyName": "Watsica",
"givenName": "Pietro",
"birthDate": "1953-10-13T04:42:02.235Z",
"gender": "female"
}
},
Expand All @@ -69,23 +87,32 @@
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccinationInformation",
"administeringCentre": "AZ. OSPEDALIERO - UNIVERSITARIA CAREGGI",
"administeringCentre": "München Klinik Bogenhausen",
"batchNumber": "B1235742",
"countryOfVaccination": "de",
"dateOfVaccination": "2021-03-11T08:48:23.370Z",
"healthProfessional": "MSSCZN70H08H704F",
"nextVaccinationDate": "2021-06-07T02:00:56.792Z",
"order": "1 of 2",
"vaccine": "ICD-11#164949870"
"dateOfVaccination": "2021-03-16T04:22:05.488Z",
"healthProfessional": "RCSTGI90B1823661",
"nextVaccinationDate": "2021-05-19T10:08:06.370Z",
"order": "1 of 1",
"vaccine": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCVaccine",
"code": "SCT#1119349007",
"targetDisease": "ICD-10#J12.82",
"marketingAuthHolder": "Biontech Manufacturing GmbH",
"medicinalProductName": "COVID-19 Vaccine"
}
},
"personalInformation": {
"@context": [
"https://w3id.org/pathogen/v1"
],
"type": "DGCSubject",
"familyName": "Wyman",
"givenName": "Grant",
"birthDate": "1991-06-27T15:45:27.605Z",
"familyName": "Runte",
"givenName": "Audra",
"birthDate": "1972-07-23T14:44:35.992Z",
"gender": "female"
}
}
Expand Down
Loading

0 comments on commit 25df270

Please sign in to comment.