Package dev.dsf.fhir.adapter
Class SearchSetMetadataResource<M extends org.hl7.fhir.r4.model.MetadataResource>
java.lang.Object
dev.dsf.fhir.adapter.SearchSetMetadataResource<M>
- All Implemented Interfaces:
ThymeleafContext
public class SearchSetMetadataResource<M extends org.hl7.fhir.r4.model.MetadataResource>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Patternprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoSetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Bundle resource) protected final Stringformat(Date date, DateTimeFormatter formatter) protected final StringformatDate(Date date) protected final StringformatDateTime(Date date) protected final StringformatLastUpdated(org.hl7.fhir.r4.model.Resource resource) protected final StringformatLastUpdated(org.hl7.fhir.r4.model.Resource resource, DateTimeFormatter formatter) protected final <E extends org.hl7.fhir.r4.model.Base>
BooleangetBoolean(E resource, Predicate<E> hasBoolean, Function<E, org.hl7.fhir.r4.model.BooleanType> getBoolean) protected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base>
StringgetDateTime(E resource, Predicate<E> hasDateTime, Function<E, org.hl7.fhir.r4.model.DateTimeType> getDateTime) protected final <E extends org.hl7.fhir.r4.model.Base>
BigDecimalgetDecimal(E resource, Predicate<E> hasDecimal, Function<E, org.hl7.fhir.r4.model.DecimalType> getDecimal) protected final <E extends org.hl7.fhir.r4.model.Base>
StringgetEnumeration(E resource, Predicate<E> hasEnumeration, Function<E, org.hl7.fhir.r4.model.Enumeration<?>> getEnumeration) protected final <E extends org.hl7.fhir.r4.model.Base>
List<ElementSystemValue>getIdentifiers(E resource, Predicate<E> hasIdentifier, Function<E, List<org.hl7.fhir.r4.model.Identifier>> getIdentifier) protected final <D extends org.hl7.fhir.r4.model.DomainResource>
StringgetIdentifierValues(D resource, Function<D, Boolean> hasIdentifier, Function<D, List<org.hl7.fhir.r4.model.Identifier>> getIdentifier, String identifierSystem) protected final <E extends org.hl7.fhir.r4.model.Base>
IntegergetInteger(E resource, Predicate<E> hasInteger, Function<E, org.hl7.fhir.r4.model.IntegerType> getInteger) Class<org.hl7.fhir.r4.model.Bundle>protected final StringgetResourceType(org.hl7.fhir.instance.model.api.IIdType id) protected final <E extends org.hl7.fhir.r4.model.Base>
StringgetString(E resource, Predicate<E> hasString, Function<E, org.hl7.fhir.r4.model.StringType> getString) protected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base>
Stringprotected final <E extends org.hl7.fhir.r4.model.Base,T>
TgetValue(E resource, Predicate<E> hasValue, Function<E, ? extends org.hl7.fhir.r4.model.PrimitiveType<T>> getValue) booleanisResourceSupported(String requestPathLastElement) protected final Predicate<org.hl7.fhir.r4.model.Task.ParameterComponent>isStringParam(String system, String code) protected final <E> List<E>nullIfEmpty(List<E> list) final voidsetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Resource resource)
-
Field Details
-
INSTANTIATES_CANONICAL_PATTERN_STRING
- See Also:
-
INSTANTIATES_CANONICAL_PATTERN
-
CODE_SYSTEM_BPMN_MESSAGE
- See Also:
-
CODE_SYSTEM_BPMN_MESSAGE_MESSAGE_NAME
- See Also:
-
CODE_SYSTEM_BPMN_MESSAGE_BUSINESS_KEY
- See Also:
-
CODE_SYSTEM_ORGANIZATION_ROLE
- See Also:
-
EXTENSION_PROCESS_AUTHORIZATION
- See Also:
-
EXTENSION_PROCESS_AUTHORIZATION_MESSAGE_NAME
- See Also:
-
NAMING_SYSTEM_ENDPOINT_IDENTIFIER
- See Also:
-
NAMING_SYSTEM_ORGANIZATION_IDENTIFIER
- See Also:
-
NAMING_SYSTEM_TASK_IDENTIFIER
- See Also:
-
-
Constructor Details
-
SearchSetMetadataResource
-
-
Method Details
-
toRow
-
isResourceSupported
-
doSetVariables
protected void doSetVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Bundle resource) -
getIdentifierValues
-
getResourceType
-
isStringParam
-
getResourceType
- Specified by:
getResourceTypein interfaceThymeleafContext
-
getHtmlFragment
- Specified by:
getHtmlFragmentin interfaceThymeleafContext
-
setVariables
public final void setVariables(BiConsumer<String, Object> variables, org.hl7.fhir.r4.model.Resource resource) - Specified by:
setVariablesin interfaceThymeleafContext
-
formatDate
-
formatDateTime
-
format
-
formatLastUpdated
-
formatLastUpdated
protected final String formatLastUpdated(org.hl7.fhir.r4.model.Resource resource, DateTimeFormatter formatter) -
nullIfEmpty
-
getValue
-
getString
-
getDate
-
getDateTime
-
getBoolean
-
getUri
-
getUrl
-
getInteger
-
getDecimal
protected final <E extends org.hl7.fhir.r4.model.Base> BigDecimal getDecimal(E resource, Predicate<E> hasDecimal, Function<E, org.hl7.fhir.r4.model.DecimalType> getDecimal) -
getEnumeration
-
getIdentifiers
protected final <E extends org.hl7.fhir.r4.model.Base> List<ElementSystemValue> getIdentifiers(E resource, Predicate<E> hasIdentifier, Function<E, List<org.hl7.fhir.r4.model.Identifier>> getIdentifier)
-