Skip to content

Instantly share code, notes, and snippets.

@miguelrochefort
Created April 29, 2020 15:12
Show Gist options
  • Save miguelrochefort/c3bb91bc56bb4667b44f333ee2e60ee0 to your computer and use it in GitHub Desktop.
Save miguelrochefort/c3bb91bc56bb4667b44f333ee2e60ee0 to your computer and use it in GitHub Desktop.
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"id": "http://example.com/credentials/1872",
"type": [
"VerifiableCredential"
],
"issuer": "https://example.com/issuers/565049",
"issuanceDate": "2010-04-24T00:00:00Z",
"credentialSubject": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"identity": {
"type": "https://www.icao.int/publications/pages/publication.aspx?docnum=9303#TD3",
"documentType": "P",
"issuingState": "UTO",
"primaryIdentifier": "ERIKSSON",
"secondaryIdentifier": "ANNA MARIA",
"documentNumber": "L898902C3",
"nationality": "UTO",
"birthDate": "740812",
"sex": "F",
"expirationDate": "120415"
},
"medical": [
{
"resourceType": "Observation",
"category": "laboratory",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:187e0c12-8dd2-67e2-99b2-bf273c878281"
}
],
"status": "final",
"method": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "708099001",
"display": "Rapid immunoassay"
}
]
},
"device": {
"resourceType": "Device",
"manufacturer": "Abbott",
"expirationDate": "2021-02-26",
"lotNumber": "123456",
"deviceName": "ARCHITECT™ SARS-CoV-2 IgG"
},
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "94503-0",
"display": "SARS coronavirus 2 IgG and IgM panel - Serum or Plasma by Rapid immunoassay"
}
]
},
"subject": {
"reference": "Patient/example"
},
"effectiveDateTime": "2020-04-24",
"performer": [
{
"reference": "Practitioner/example"
}
],
"component": [
{
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "94508-9",
"display": "SARS coronavirus 2 IgM Ab [Presence] in Serum or Plasma by Rapid immunoassay"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://loinc.org",
"code": "LA6577-6",
"display": "Negative"
}
]
}
},
{
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "94507-1",
"display": "SARS coronavirus 2 IgG Ab [Presence] in Serum or Plasma by Rapid immunoassay"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "http://loinc.org",
"code": "LA6576-8",
"display": "Positive"
}
]
}
}
]
}
]
},
"proof": {
"type": "RsaSignature2018",
"created": "2017-06-18T21:19:10Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "https://example.com/issuers/keys/1",
"jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc
X16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtj
PAYuNzVBAh4vGHSrQyHUdBBPM"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment