You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -472,6 +472,7 @@ select time, behandling_type, behandling_status, ytelse_type, opprettelsegrunn,
INNER JOIN FAGSAK F ON B.FAGSAK_ID = F.ID
LEFT OUTER JOIN EKSTERN_BEHANDLING eb on eb.intern_id = b.id
LEFT OUTER JOIN OKO_XML_MOTTATT oxm on oxm.henvisning = eb.henvisning and oxm.melding like '<?xml version="1.0" encoding="utf-8"?><urn:detaljertKravgrunnlagMelding%'
where b.opprettet_tid > systimestamp - 365
) where rnk = 1
group by time, behandling_type, behandling_status, ytelse_type, opprettelsegrunn