smart-on-fhir / health-cards

Health Cards Framework: implementation guide and supporting material
Other
261 stars 84 forks source link

examples of VCs missing issue and exp dates #127

Closed fhirfly closed 3 years ago

fhirfly commented 3 years ago

The verifiable credentials spec has these two fields:

"issuanceDate": "expirationDate"

are we not using them?

jmandel commented 3 years ago

issuanceDate in the VC data model is what's captured in our nbf field ("not before" claim, described in the JWT mapping section of the VC data model). expirationDate is an optional element of the VC data model that only applies when a credential needs to prospectively expire; the clinical results described in a SMART Health Card do not prospectively expire.

DrHouston commented 3 years ago

FYI here is my medical degree - there is an issue date but no expiration date on this, and there cant be - its permanant Medical Degree.pdf