Uses of Interface
org.hl7.fhir.instance.model.api.IPrimitiveType
Package
Description
-
Uses of IPrimitiveType in ca.uhn.fhir.context
Modifier and TypeMethodDescriptionFhirContext.getPrimitiveBoolean
(Boolean theValue) Deprecated, for removal: This API element is subject to removal in a future version.FhirContext.newPrimitiveBoolean
(Boolean theValue) FhirContext.newPrimitiveString
(String theValue) ModifierConstructorDescriptionRuntimeIdDatatypeDefinition
(DatatypeDef theDef, Class<? extends IPrimitiveType<?>> theImplementingClass, boolean theStandardType) RuntimePrimitiveDatatypeDefinition
(DatatypeDef theDef, Class<? extends IPrimitiveType<?>> theImplementingClass, boolean theStandardType) -
Uses of IPrimitiveType in ca.uhn.fhir.context.support
Modifier and TypeMethodDescriptionIValidationSupport.LookupCodeResult.toParameters
(FhirContext theContext, List<? extends IPrimitiveType<String>> thePropertyNamesToFilter) Converts the current LookupCodeResult instance into a IBaseParameters instance which is returned to the client of the $lookup operation. -
Uses of IPrimitiveType in ca.uhn.fhir.model.api
Modifier and TypeInterfaceDescriptioninterface
interface
Modifier and TypeFieldDescriptionstatic final ResourceMetadataKeyEnum
<IPrimitiveType<Date>> ResourceMetadataKeyEnum.DELETED_AT
If present and populated with a date/time (as an instance ofInstantDt
), this value is an indication that the resource is in the deleted state. -
Uses of IPrimitiveType in ca.uhn.fhir.model.primitive
Modifier and TypeClassDescriptionclass
class
class
class
BoundCodeDt<T extends Enum<?>>
class
class
Represents a FHIR date datatype.class
Represents a FHIR dateTime datatype.class
class
Represents the FHIR ID type.class
Represents a FHIR instant datatype.class
class
class
class
class
class
Represents a Time datatype, per the FHIR specification.class
class
class
Note that as of HAPI FHIR 3.1.0, this method no longer uses the StAX XMLEvent type as the XML representation, and uses a String instead. -
Uses of IPrimitiveType in ca.uhn.fhir.parser
Modifier and TypeMethodDescriptionprotected <T extends IPrimitiveType<String>>
List<T> BaseParser.getProfileTagsForEncoding
(IBaseResource theResource, List<T> theProfiles) -
Uses of IPrimitiveType in ca.uhn.fhir.rest.api
Modifier and TypeMethodDescriptionvoid
IVersionSpecificBundleFactory.addRootPropertiesToBundle
(String theId, BundleLinks theBundleLinks, Integer theTotalResults, IPrimitiveType<Date> theLastUpdated) -
Uses of IPrimitiveType in ca.uhn.fhir.rest.gclient
Modifier and TypeMethodDescriptionIHistoryTyped.since
(IPrimitiveType<Date> theCutoff) Request that the server return only resource versions that were created at or after the given time (inclusive)StringClientParam.IStringMatch.value
(IPrimitiveType<String> theValue) Requests that resources be returned which match the given value -
Uses of IPrimitiveType in ca.uhn.fhir.rest.param
Modifier and TypeMethodDescriptionvoid
DateRangeParam.setRangeFromDatesInclusive
(IPrimitiveType<Date> theLowerBound, IPrimitiveType<Date> theUpperBound) Sets the range from a pair of dates, inclusive on both ends.QuantityParam.setSystem
(IPrimitiveType<String> theSystem) void
DateParam.setValue
(IPrimitiveType<Date> theValue) Sets the value using a FHIR Date type, such as aDateDt
, or a DateTimeType.QuantityParam.setValue
(IPrimitiveType<BigDecimal> theValue) ModifierConstructorDescriptionDateParam
(ParamPrefixEnum thePrefix, IPrimitiveType<Date> theDate) ConstructorDateRangeParam
(IPrimitiveType<Date> theLowerBound, IPrimitiveType<Date> theUpperBound) Constructor which takes two Dates representing the lower and upper bounds of the range (inclusive on both ends) -
Uses of IPrimitiveType in ca.uhn.fhir.rest.param.binder
Modifier and TypeMethodDescriptionprotected String
FhirPrimitiveBinder.doEncode
(IPrimitiveType<?> theString) -
Uses of IPrimitiveType in ca.uhn.fhir.util
Modifier and TypeMethodDescriptionstatic IPrimitiveType
<?> ParametersUtil.createCode
(FhirContext theContext, String theValue) static IPrimitiveType
<?> ParametersUtil.createString
(FhirContext theContext, String theValue) static IPrimitiveType
<?> ParametersUtil.createUri
(FhirContext theContext, String theValue) static IPrimitiveType
<CodeDt> AttachmentUtil.getOrCreateContentType
(FhirContext theContext, ICompositeType theAttachment) static IPrimitiveType
<byte[]> AttachmentUtil.getOrCreateData
(FhirContext theContext, ICompositeType theAttachment) Fetches the base64Binary value of Attachment.data, creating it if it does not already exist.static IPrimitiveType
<byte[]> BinaryUtil.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 IPrimitiveType
<String> AttachmentUtil.getOrCreateUrl
(FhirContext theContext, ICompositeType theAttachment) <T> IPrimitiveType
<T> BundleBuilder.newPrimitive
(String theTypeName) Creates a new primitive.<T> IPrimitiveType
<T> BundleBuilder.newPrimitive
(String theTypeName, T theInitialValue) Creates a new primitive instance of the specified element type.Modifier and TypeMethodDescriptionstatic String
UrlUtil.sanitizeUrlPart
(IPrimitiveType<?> theString) This method specifically HTML-encodes the " and < characters in order to prevent injection attacksvoid
CompositionBuilder.setDate
(IPrimitiveType<Date> theDate) Set a value inComposition.date
BundleBuilder.setSearchField
(IBase theSearch, String theFieldName, IPrimitiveType<?> theFieldValue) void
BundleBuilder.setTimestamp
(IPrimitiveType<Date> theTimestamp) Sets the timestamp inBundle.timestamp
static Boolean
DatatypeUtil.toBooleanValue
(IPrimitiveType<Boolean> thePrimitiveType) ReturnsgetValue()
ifthePrimitiveType
is not null, else returns null.static String
DatatypeUtil.toStringValue
(IPrimitiveType<?> thePrimitiveType) ReturnsgetValueAsString()
ifthePrimitiveType
is not null, else returns null.Modifier and TypeMethodDescriptionstatic String
DatatypeUtil.joinStringsSpaceSeparated
(List<? extends IPrimitiveType<String>> theStrings) Joins a list of strings with a single space (' ') between each stringDatatypeUtil.toStringSet
(List<? extends IPrimitiveType<?>> theStringList) Convert a list of FHIR String objects to a set of native java Strings -
Uses of IPrimitiveType in org.hl7.fhir.instance.model.api
Modifier and TypeInterfaceDescriptioninterface
interface
interface
IBaseEnumeration<T extends Enum<?>>
interface
interface
interface
interface
Base interface for ID datatype.Modifier and TypeMethodDescriptionIPrimitiveType
<byte[]> IBaseBinary.getContentElement()
IBaseReference.getDisplayElement()
IAnyResource.getLanguageElement()
Modifier and TypeMethodDescriptionList
<? extends IPrimitiveType<String>> IBaseMetaType.getProfile()
Modifier and TypeMethodDescriptionstatic <T> T
IPrimitiveType.toValueOrNull
(IPrimitiveType<T> thePrimitiveType) If the supplied argument is non-null, returns the results ofgetValue()
.