Search in sources :

Example 1 with LuseUtlatande

use of se.inera.intyg.common.luse.model.internal.LuseUtlatande in project webcert by sklintyg.

the class ArendeViewConverterTest method buildLuseUtlatande.

private LuseUtlatande buildLuseUtlatande(String intygsId, String enhetsId, String enhetsnamn, String patientPersonId, String string, String skapadAvId, LocalDateTime timeStamp) {
    LuseUtlatande.Builder template = LuseUtlatande.builder();
    template.setId(intygsId);
    GrundData grundData = buildGrundData(enhetsId, enhetsnamn, patientPersonId, skapadAvId, timeStamp);
    template.setGrundData(grundData);
    template.setTextVersion("");
    template.setAnhorigsBeskrivningAvPatienten(new InternalDate(timeStamp.toLocalDate()));
    return template.build();
}
Also used : InternalDate(se.inera.intyg.common.support.model.InternalDate) LuseUtlatande(se.inera.intyg.common.luse.model.internal.LuseUtlatande)

Aggregations

LuseUtlatande (se.inera.intyg.common.luse.model.internal.LuseUtlatande)1 InternalDate (se.inera.intyg.common.support.model.InternalDate)1