Package ca.cdr.api.model.json
Interface ISessionConsentDetails
- All Known Implementing Classes:
UserSessionDetailsJson
public interface ISessionConsentDetails
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddFhirContextReference(String theReference) default voidaddFhirContextReference(String theReference, String theRole) default StringGets the consent purpose coding associated with this session.default SmartFhirContextEntryJsongetFhirContextReferencesForRole(String theRoleUri) default voidsetConsentActor(String theActorResourceId) The "actor" reference for the purpose of consent.voidsetConsentPurpose(String theSystem, String theCode)
-
Field Details
-
CONSENT_ACTOR_ROLE_URI
- See Also:
-
-
Method Details
-
getFhirContext
-
getConsentPurpose
Gets the consent purpose coding associated with this session.- Returns:
- the consent purpose coding, or null if not set
-
setConsentPurpose
-
setConsentActor
The "actor" reference for the purpose of consent. E.g. Organization/my-hospital or Patient/the-patient- Parameters:
theActorResourceId- the resource id of the actor
-
getConsentActor
-
getFhirContextReferencesForRole
-
addFhirContextReference
-
addFhirContextReference
-