Last active
January 27, 2021 12:22
-
-
Save AdamJLemmon/f34d57c7239fd753514f5924a2b17aa7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context":[ | |
"https://www.w3.org/2018/credentials/v1", | |
{ | |
"HealthPassportBundleCredentialV1":{ | |
"@id":"https://schema.affinity-project.org/HealthPassportBundleCredentialV1", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true | |
} | |
}, | |
"data":{ | |
"@id":"https://schema.affinity-project.org/data", | |
"@context":[ | |
null, | |
{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/", | |
"Observation":{ | |
"@id":"http://hl7.org/fhir/Observation", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"Immunization":{ | |
"@id":"http://hl7.org/fhir/Immunization", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"Specimen":{ | |
"@id":"http://hl7.org/fhir/Specimen", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"Organization":{ | |
"@id":"http://hl7.org/fhir/Organization", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"BundleEntry":{ | |
"@id":"http://hl7.org/fhir/BundleEntry", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"Bundle":{ | |
"@id":"http://hl7.org/fhir/Bundle", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/" | |
} | |
}, | |
"BundleContainer":{ | |
"@id":"https://schema.affinity-project.org/BundleContainer", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":null, | |
"fhirVersion":"https://schema.affinity-project.org/fhirVersion", | |
"fhirBundle":"https://schema.affinity-project.org/fhirBundle", | |
"name":"https://schema.org/name", | |
"validFrom":"https://schema.org/validFrom" | |
} | |
}, | |
"Patient":{ | |
"@id":"http://hl7.org/fhir/Patient", | |
"@context":{ | |
"@version":1.1, | |
"@protected":true, | |
"@vocab":"http://hl7.org/fhir/", | |
"resourceType":"http://hl7.org/fhir/resourceType", | |
"identifier":"http://hl7.org/fhir/identifier", | |
"active":"http://hl7.org/fhir/active", | |
"name":"http://hl7.org/fhir/name", | |
"gender":"http://hl7.org/fhir/gender", | |
"birthDate":"http://hl7.org/fhir/birthDate", | |
"telecom":"http://hl7.org/fhir/telecom", | |
"address":"http://hl7.org/fhir/address", | |
"contact":"http://hl7.org/fhir/contact", | |
"communication":"http://hl7.org/fhir/communication" | |
} | |
} | |
} | |
] | |
} | |
} | |
], | |
"type":[ | |
"VerifiableCredential", | |
"HealthPassportBundleCredentialV1" | |
], | |
"credentialSubject":{ | |
"data":{ | |
"@type":"BundleContainer", | |
"name":"HealthCert", | |
"validFrom":"2021-01-27T12:17:32.273Z", | |
"fhirVersion":"4.0.1", | |
"fhirBundle":{ | |
"@type":"Bundle", | |
"resourceType":"Bundle", | |
"type":"collection", | |
"entry":[ | |
{ | |
"resourceType":"Patient", | |
"extension":[ | |
{ | |
"url":"http://hl7.org/fhir/StructureDefinition/patient-nationality", | |
"code":{ | |
"text":"SG" | |
} | |
} | |
], | |
"identifier":[ | |
{ | |
"type":{ | |
"text":"NRIC" | |
}, | |
"value":"S9098989Z" | |
} | |
], | |
"name":[ | |
{ | |
"text":"Tan Chen Chen" | |
} | |
], | |
"gender":"female", | |
"birthDate":"1990-01-15" | |
}, | |
{ | |
"resourceType":"Specimen", | |
"type":{ | |
"coding":[ | |
{ | |
"system":"http://snomed.info/sct", | |
"code":"258500001", | |
"display":"Nasopharyngeal swab" | |
} | |
] | |
}, | |
"collection":{ | |
"collectedDateTime":"2020-09-27T06:15:00Z" | |
} | |
}, | |
{ | |
"resourceType":"Observation", | |
"identifier":[ | |
{ | |
"value":"123456789", | |
"type":"ACSN" | |
} | |
], | |
"code":{ | |
"coding":[ | |
{ | |
"system":"http://loinc.org", | |
"code":"94531-1", | |
"display":"Reverse transcription polymerase chain reaction (rRT-PCR) test" | |
} | |
] | |
}, | |
"valueCodeableConcept":{ | |
"coding":[ | |
{ | |
"system":"http://snomed.info/sct", | |
"code":"260385009", | |
"display":"Negative" | |
} | |
] | |
}, | |
"effectiveDateTime":"2020-09-28T06:15:00Z", | |
"status":"final", | |
"performer":{ | |
"name":[ | |
{ | |
"text":"Dr Michael Lim" | |
} | |
] | |
}, | |
"qualification":[ | |
{ | |
"identifier":"MCR 123214", | |
"issuer":"MOH" | |
} | |
] | |
}, | |
{ | |
"resourceType":"Organization", | |
"name":"MacRitchie Medical Clinic", | |
"type":"Licensed Healthcare Provider", | |
"contact":{ | |
"telecom":[ | |
{ | |
"system":"phone", | |
"value":"+6563113111" | |
} | |
], | |
"address":{ | |
"type":"physical", | |
"use":"work", | |
"text":"MacRitchie Hospital Thomson Road Singapore 123000" | |
} | |
} | |
}, | |
{ | |
"resourceType":"Organization", | |
"name":"Quest Laboratories", | |
"type":"Accredited Laboratory", | |
"contact":{ | |
"telecom":[ | |
{ | |
"system":"phone", | |
"value":"+6563113111" | |
} | |
], | |
"address":{ | |
"type":"physical", | |
"use":"work", | |
"text":"Quest Laboratories Address" | |
} | |
} | |
} | |
] | |
} | |
}, | |
"id":"did:key:z6MkiFXTr3aBprket7caKCeiDxi6eSeqdfqibo6xxnH6h1dZ" | |
}, | |
"issuer":"did:key:z6MknAy5A4aPzjUAezvRj43utgpF78xAN2PbZs1TxLTLsE7G", | |
"issuanceDate":"2021-01-27T12:17:32.400Z", | |
"id":"urn:uuid:257c1a12-cb38-4aec-882e-e16a836eb148", | |
"proof":{ | |
"type":"Ed25519Signature2018", | |
"created":"2021-01-27T12:17:32.400Z", | |
"jws":"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..fxyaxc4i5bcq1w5mco-khZp6WJDo1D5qhXZN0WaMPLvPllq2VKDS0ZRTTFaM3PgnAjejK-lzx-3dG2mDhPE7BA", | |
"proofPurpose":"assertionMethod", | |
"verificationMethod":"did:key:z6MknAy5A4aPzjUAezvRj43utgpF78xAN2PbZs1TxLTLsE7G#z6MknAy5A4aPzjUAezvRj43utgpF78xAN2PbZs1TxLTLsE7G" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment