User bio
404 bio not found
Member since Nov 6, 2015
Posts:
Replies:
Good question. In OAuth the response will include the expiration time, so that's what I was expecting here.
If the response doesn't include an expiration time does the vendor's documentation say anything about if tokens can be used for more than 1 request and if so how long it's valid for? If you know it's supposed to be valid for 60 minutes then you could just log the time when you requested the token and use that to track it.
It doesn't look like OAuth. If it were, the payload should include a grant_type and username is called "username" rather than "email":
https://www.oauth.com/oauth2-servers/access-tokens/password-grant/
https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/
Open Exchange applications:
Certifications & Credly badges:
Marc has no Certifications & Credly badges yet.
Global Masters badges:
Followers:
Following:
Marc has not followed anybody yet.
As you noted, fromDao is in the HS.FHIRModel classes, but in the code you pasted you're actually using a class under HS.FHIR:
Set cls = $CLASSMETHOD("HS.FHIR.DTL.vR4.Model.Resource.Patient","fromDao",dao)
I think you want to do this instead:
Set cls = $CLASSMETHOD("HS.FHIRModel.R4.Patient","fromDao",dao)
https://docs.intersystems.com/irisforhealth20241/csp/documatic/%25CSP.Do...