public class BinaryUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static IPrimitiveType<byte[]> |
getOrCreateData(FhirContext theContext,
IBaseBinary theBinary)
Fetches the base64Binary value of Binary.data (or Binary.content on versions of
FHIR before R4), creating it if it does not already exist.
|
static IBaseReference |
getSecurityContext(FhirContext theCtx,
IBaseBinary theBinary) |
static IBaseBinary |
newBinary(FhirContext theCtx) |
static void |
setSecurityContext(FhirContext theCtx,
IBaseBinary theBinary,
String theSecurityContext) |
public static IPrimitiveType<byte[]> getOrCreateData(FhirContext theContext, IBaseBinary theBinary)
public static IBaseReference getSecurityContext(FhirContext theCtx, IBaseBinary theBinary)
public static IBaseBinary newBinary(FhirContext theCtx)
public static void setSecurityContext(FhirContext theCtx, IBaseBinary theBinary, String theSecurityContext)
Copyright © 2014–2019 University Health Network. All rights reserved.