Skip to content

Commit

Permalink
Change format of Behandlet.getName used for avsender in journalforing
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad committed May 8, 2024
1 parent b199e22 commit 64be914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/syfo/model/Behandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ data class Behandler(
val mellomnavn: String?
)

fun Behandler.getName(): String = if (mellomnavn == null) "$etternavn, $fornavn" else "$etternavn, $fornavn $mellomnavn"
fun Behandler.getName(): String = if (mellomnavn == null) "$fornavn $etternavn" else "$fornavn $mellomnavn $etternavn"
2 changes: 1 addition & 1 deletion src/main/kotlin/no/nav/syfo/model/Dialogmelding.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data class Dialogmelding(
val innkallingMoterespons: InnkallingMoterespons?,
val foresporselFraSaksbehandlerForesporselSvar: ForesporselFraSaksbehandlerForesporselSvar?,
val henvendelseFraLegeHenvendelse: HenvendelseFraLegeHenvendelse?,
val navnHelsepersonell: String, // TODO: Til journalforing
val navnHelsepersonell: String,
val signaturDato: LocalDateTime
)

Expand Down

0 comments on commit 64be914

Please sign in to comment.