Package-level declarations

Types

Link copied to clipboard
data class Avsnitt(val elementer: List<LøpendeTekst>) : Blokk
Link copied to clipboard
interface Blokk
Link copied to clipboard
data class Dato(val dato: LocalDate) : LøpendeTekst
Link copied to clipboard
data class Dict(val valg: List<Pair<LøpendeTekst, LøpendeTekst>>) : Blokk
Link copied to clipboard
data class Fritekstfelt(val tittel: String?, val fritekst: String) : Blokk
Link copied to clipboard
data class G(val gUnit: GUnit) : LøpendeTekst
Link copied to clipboard
data class JaNeiValg(val valg: Boolean?) : LøpendeTekst
Link copied to clipboard
data class Kroner(val beløp: Beløp) : LøpendeTekst
Link copied to clipboard
interface LøpendeTekst
Link copied to clipboard
data class Periode(val periode: Periode, val kompakt: Boolean = false) : LøpendeTekst
Link copied to clipboard
data class PrettyEnum(val valg: Enum<*>?, val default: String = "—") : LøpendeTekst
Link copied to clipboard
data class Prosent(val prosent: Prosent) : LøpendeTekst
Link copied to clipboard
data class ReferanseBehandling(val behandlingId: BehandlingId) : LøpendeTekst
Link copied to clipboard
data class ReferanseJournalpost(val journalpostId: JournalpostId) : LøpendeTekst
Link copied to clipboard
data class RenderKontekst(val gjeldendeBehandlingId: BehandlingId, val vedtak: List<BehandlingMedVedtak>, val overskriftsnivå: Int = 1)
Link copied to clipboard
data class Seksjon(val tittel: LøpendeTekst, val blokker: List<Blokk> = listOf(), val subseksjoner: List<Seksjon> = listOf())
Link copied to clipboard
data class Span(val elementer: List<LøpendeTekst>) : LøpendeTekst
Link copied to clipboard
data class Tabell(val kolonner: List<LøpendeTekst>, val rader: List<List<LøpendeTekst>>) : Blokk
Link copied to clipboard
data class Tekst(val tekst: String) : LøpendeTekst
Link copied to clipboard
data class Tidspunkt(val tidspunkt: LocalDateTime, val kompakt: Boolean = false) : LøpendeTekst
Link copied to clipboard
class VedtakDokumentGenerator(val behandlingRepository: BehandlingRepository, val sakRepository: SakRepository, val vilkårsresultatRepository: VilkårsresultatRepository, val tilkjentYtelseRepository: TilkjentYtelseRepository, val underveisRepository: UnderveisRepository, val mottattDokumentRepository: MottattDokumentRepository, val beregningsgrunnlagRepository: BeregningsgrunnlagRepository, val sykdomRepository: SykdomRepository, val bistandRepository: BistandRepository, val studentRepository: StudentRepository, val overgangUføreRepository: OvergangUføreRepository, val etableringEgenVirksomhetRepository: EtableringEgenVirksomhetRepository, val arbeidsevneRepository: ArbeidsevneRepository, val arbeidsopptrappingRepository: ArbeidsopptrappingRepository, val overgangArbeidRepository: OvergangArbeidRepository, val vedtakslengdeRepository: VedtakslengdeRepository, val meldepliktRepository: MeldepliktRepository, val stønadsperiodeRepository: StønadsperiodeRepository, val barnetilleggRepository: BarnetilleggRepository, val barnRepository: BarnRepository, val samordningRepository: SamordningRepository, val samordningUføreRepository: SamordningUføreRepository, val samordningArbeidsgiverRepository: SamordningArbeidsgiverRepository, val samordningAndreStatligeYtelserRepository: SamordningAndreStatligeYtelserRepository, val samordningVurderingRepository: SamordningVurderingRepository, val rettighetstypeRepository: RettighetstypeRepository, val institusjonsoppholdRepository: InstitusjonsoppholdRepository, val sykepengerErstatningRepository: SykepengerErstatningRepository, val refusjonkravRepository: RefusjonkravRepository, val tjenestepensjonRefusjonskravRepository: TjenestepensjonRefusjonsKravVurderingRepository, val barnepensjonRepository: BarnepensjonRepository, val avslag11_27Repository: Avslag11_27Repository, val sykestipendRepository: SykestipendRepository, val inntektsbortfallRepository: InntektsbortfallRepository, val aktivitetsplikt11_7Repository: Aktivitetsplikt11_7Repository, val aktivitetsplikt11_9Repository: Aktivitetsplikt11_9Repository, val overstyringMeldepliktRepository: OverstyringMeldepliktRepository, val manuellInntektGrunnlagRepository: ManuellInntektGrunnlagRepository, val beregningVurderingRepository: BeregningVurderingRepository, val kravRepository: KravRepository, val vurderRettighetsperiodeRepository: VurderRettighetsperiodeRepository, val medlemskapArbeidInntektRepository: MedlemskapArbeidInntektRepository, val medlemskapArbeidInntektForutgåendeRepository: MedlemskapArbeidInntektForutgåendeRepository, val oppholdskravGrunnlagRepository: OppholdskravGrunnlagRepository)
Link copied to clipboard
data class VedtakDokumentGrunnlag(val saksnummer: Saksnummer, val behandling: Behandling, val behandlinger: List<BehandlingMedVedtak>, val vilkårsresultat: Vilkårsresultat, val tilkjentYtelse: Tidslinje<Tilkjent>, val underveis: Tidslinje<Underveisperiode>, val mottatteDokumenter: List<MottattDokument>, val beregningsgrunnlag: Beregningsgrunnlag?, val forrigeTilkjentYtelse: Tidslinje<Tilkjent>, val forrigeUnderveis: Tidslinje<Underveisperiode>, val forrigeVilkårsresultat: Vilkårsresultat, val sykdomGrunnlag: SykdomGrunnlag?, val bistandGrunnlag: BistandGrunnlag?, val studentGrunnlag: StudentGrunnlag?, val overgangUføreGrunnlag: OvergangUføreGrunnlag?, val etableringEgenVirksomhetGrunnlag: EtableringEgenVirksomhetGrunnlag?, val arbeidsevneGrunnlag: ArbeidsevneGrunnlag?, val arbeidsopptrappingGrunnlag: ArbeidsopptrappingGrunnlag?, val overgangArbeidGrunnlag: OvergangArbeidGrunnlag?, val vedtakslengdeGrunnlag: VedtakslengdeGrunnlag?, val meldepliktGrunnlag: MeldepliktGrunnlag?, val stønadsperiodeGrunnlag: StønadsperiodeGrunnlag?, val barnetilleggGrunnlag: BarnetilleggGrunnlag?, val barnetilleggVurderinger: VurderteBarn?, val samordningGrunnlag: SamordningGrunnlag?, val samordningUføreGrunnlag: SamordningUføreGrunnlag?, val samordningArbeidsgiverGrunnlag: SamordningArbeidsgiverGrunnlag?, val samordningAndreStatligeYtelserGrunnlag: SamordningAndreStatligeYtelserGrunnlag?, val samordningVurderingGrunnlag: SamordningVurderingGrunnlag?, val rettighetstypeGrunnlag: RettighetstypeGrunnlag?, val institusjonsoppholdGrunnlag: InstitusjonsoppholdGrunnlag?, val sykepengerErstatningGrunnlag: SykepengerErstatningGrunnlag?, val refusjonkravVurderinger: List<RefusjonkravVurdering>?, val tjenestepensjonRefusjonskravVurdering: TjenestepensjonRefusjonskravVurdering?, val barnepensjonGrunnlag: BarnepensjonGrunnlag?, val avslag11_27Grunnlag: Avslag11_27Grunnlag?, val sykestipendGrunnlag: SykestipendGrunnlag?, val inntektsbortfallVurdering: InntektsbortfallVurdering?, val aktivitetsplikt11_7Grunnlag: Aktivitetsplikt11_7Grunnlag?, val aktivitetsplikt11_9Grunnlag: Aktivitetsplikt11_9Grunnlag?, val overstyringMeldepliktGrunnlag: OverstyringMeldepliktGrunnlag?, val manuellInntektGrunnlag: ManuellInntektGrunnlag?, val beregningVurderingGrunnlag: BeregningGrunnlag?, val kravGrunnlag: KravGrunnlag?, val rettighetsperiodeVurdering: RettighetsperiodeVurdering?, val lovvalgMedlemskapGrunnlag: MedlemskapArbeidInntektGrunnlag?, val forutgåendeMedlemskapGrunnlag: ForutgåendeMedlemskapArbeidInntektGrunnlag?, val oppholdskravGrunnlag: OppholdskravGrunnlag?)
Link copied to clipboard
internal object VedtakDokumentRenderer

Properties

Link copied to clipboard
private val lineRegex: Regex

Functions

Link copied to clipboard
internal fun formaterVedtaksdato(behandlingId: BehandlingId, kontekst: RenderKontekst): String
Link copied to clipboard
fun <T> Iterable<T>.join(separator: String = ", ", mapper: (T) -> LøpendeTekst): LøpendeTekst
Link copied to clipboard
internal fun vilkårsvurderingOppsummeringTittel(saksnummer: Saksnummer, vedtaksdato: String): String
Link copied to clipboard
fun vurderingsoverskrift(behandling: BehandlingId, bruktForPeriode: Periode): LøpendeTekst