From aa19aa081db33cf153247dd81f071ac9705f5fe2 Mon Sep 17 00:00:00 2001 From: "Kristen.Herum" Date: Tue, 10 Dec 2024 11:28:11 +0100 Subject: [PATCH] Add KontaktMedPasientDTO to SykemeldingDTO Introduce the KontaktMedPasientDTO class to capture patient contact details such as contact date and reasons for no contact. This addition allows for enhanced tracking of patient interaction in the sykemelding domain. --- .../sykemelding/v1/KontaktMedPasientDTO.java | 18 ++++++++++++++++++ .../dto/sykemelding/v1/SykemeldingDTO.java | 1 + 2 files changed, 19 insertions(+) create mode 100644 libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/KontaktMedPasientDTO.java diff --git a/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/KontaktMedPasientDTO.java b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/KontaktMedPasientDTO.java new file mode 100644 index 0000000000..26a5100985 --- /dev/null +++ b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/KontaktMedPasientDTO.java @@ -0,0 +1,18 @@ +package no.nav.testnav.libs.dto.sykemelding.v1; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.time.LocalDate; + +@Data +@Builder +@NoArgsConstructor +@AllArgsConstructor +public class KontaktMedPasientDTO { + + private LocalDate kontaktDato; + private String begrunnelseIkkeKontakt; +} diff --git a/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/SykemeldingDTO.java b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/SykemeldingDTO.java index 5b51f04b3c..951c512b59 100644 --- a/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/SykemeldingDTO.java +++ b/libs/data-transfer-objects/src/main/java/no/nav/testnav/libs/dto/sykemelding/v1/SykemeldingDTO.java @@ -30,6 +30,7 @@ public class SykemeldingDTO { private DetaljerDTO detaljer; private List utdypendeOpplysninger; private Boolean umiddelbarBistand; + private KontaktMedPasientDTO kontaktMedPasient; public List getPerioder() {