Search in sources :

Example 1 with HerzerkrankungEvaluation

use of org.ehrbase.fhirbridge.ehr.opt.d4lquestionnairecomposition.definition.HerzerkrankungEvaluation in project fhir-bridge by ehrbase.

the class HerzerkrankungEvaluationConverter method convertInternal.

@Override
protected HerzerkrankungEvaluation convertInternal(QuestionnaireResponse.QuestionnaireResponseItemComponent questionnaireResponseItemComponent) {
    HerzerkrankungEvaluation herzerkrankungEvaluation = new HerzerkrankungEvaluation();
    herzerkrankungEvaluation.setLanguage(Language.DE);
    herzerkrankungEvaluation.setSubject(new PartySelf());
    herzerkrankungEvaluation.setNameDesProblemsDerDiagnoseValue("Herzerkrankung");
    try {
        VorhandenerDefiningCodeConverter.setVorhandenerDefiningCode(getQuestionValueCodeToString(questionnaireResponseItemComponent), herzerkrankungEvaluation);
    } catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException noSuchMethodException) {
        noSuchMethodException.printStackTrace();
    }
    return herzerkrankungEvaluation;
}
Also used : HerzerkrankungEvaluation(org.ehrbase.fhirbridge.ehr.opt.d4lquestionnairecomposition.definition.HerzerkrankungEvaluation) InvocationTargetException(java.lang.reflect.InvocationTargetException) PartySelf(com.nedap.archie.rm.generic.PartySelf)

Aggregations

PartySelf (com.nedap.archie.rm.generic.PartySelf)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 HerzerkrankungEvaluation (org.ehrbase.fhirbridge.ehr.opt.d4lquestionnairecomposition.definition.HerzerkrankungEvaluation)1