Package dev.dsf.bpe.v1.service
Class QuestionnaireResponseHelperImpl
java.lang.Object
dev.dsf.bpe.v1.service.QuestionnaireResponseHelperImpl
- All Implemented Interfaces:
QuestionnaireResponseHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemLeafWithAnswer(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId, String text, org.hl7.fhir.r4.model.Type answer) voidaddItemLeafWithoutAnswer(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId, String text) Stream<org.hl7.fhir.r4.model.QuestionnaireResponse.QuestionnaireResponseItemComponent>getItemLeavesAsStream(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) Stream<org.hl7.fhir.r4.model.QuestionnaireResponse.QuestionnaireResponseItemComponent>getItemLeavesMatchingLinkIdAsStream(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId) getLocalVersionlessAbsoluteUrl(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) org.hl7.fhir.r4.model.TypetransformQuestionTypeToAnswerType(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemComponent question) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.bpe.v1.service.QuestionnaireResponseHelper
getFirstItemLeaveMatchingLinkId, getItemLeavesAsList, getItemLeavesMatchingLinkIdAsList
-
Constructor Details
-
QuestionnaireResponseHelperImpl
- Parameters:
serverBaseUrl- notnull
-
-
Method Details
-
getItemLeavesMatchingLinkIdAsStream
public Stream<org.hl7.fhir.r4.model.QuestionnaireResponse.QuestionnaireResponseItemComponent> getItemLeavesMatchingLinkIdAsStream(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId) - Specified by:
getItemLeavesMatchingLinkIdAsStreamin interfaceQuestionnaireResponseHelper
-
getItemLeavesAsStream
public Stream<org.hl7.fhir.r4.model.QuestionnaireResponse.QuestionnaireResponseItemComponent> getItemLeavesAsStream(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) - Specified by:
getItemLeavesAsStreamin interfaceQuestionnaireResponseHelper
-
addItemLeafWithAnswer
public void addItemLeafWithAnswer(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId, String text, org.hl7.fhir.r4.model.Type answer) - Specified by:
addItemLeafWithAnswerin interfaceQuestionnaireResponseHelper
-
addItemLeafWithoutAnswer
public void addItemLeafWithoutAnswer(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse, String linkId, String text) - Specified by:
addItemLeafWithoutAnswerin interfaceQuestionnaireResponseHelper
-
transformQuestionTypeToAnswerType
public org.hl7.fhir.r4.model.Type transformQuestionTypeToAnswerType(org.hl7.fhir.r4.model.Questionnaire.QuestionnaireItemComponent question) - Specified by:
transformQuestionTypeToAnswerTypein interfaceQuestionnaireResponseHelper
-
getLocalVersionlessAbsoluteUrl
public String getLocalVersionlessAbsoluteUrl(org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) - Specified by:
getLocalVersionlessAbsoluteUrlin interfaceQuestionnaireResponseHelper
-