Package ca.cdr.api.model.json
Class SmartFhirContextEntryJson
java.lang.Object
ca.cdr.api.model.json.SmartFhirContextEntryJson
- All Implemented Interfaces:
IModelJson
,IModelJson
,Serializable
This structure represents an entry that captures a single entry in fhirContext,
which can be either be a reference only (ex: "PractitionerRole/123")
or a reference/role pair (ex: "List/123", "role": "https://example.org/med-list-at-home").
A reference is commonly to a FHIR resource and a role is an optional property
with a URI identifying the role. The entire fhirContext is encoded in the access token and used
by the relevant Smart application.
-
Field Summary
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getRole()
int
hashCode()
void
setReference
(String theReference) void
toString()
static SmartFhirContextEntryJson
withReferenceAndRole
(String theReference, String theRole) static SmartFhirContextEntryJson
withReferenceOnly
(String theReference)
-
Constructor Details
-
SmartFhirContextEntryJson
public SmartFhirContextEntryJson()
-
-
Method Details