Skip to content

Commit

Permalink
unike feltnavn for adhoc
Browse files Browse the repository at this point in the history
  • Loading branch information
skkrist committed Jan 9, 2024
1 parent c27b0be commit 8360d4f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions R/getKodebokData.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,33 @@ getKodebokData <- function() {



# FRA HENDELSE
.data$fysisk_feltnavn %in% c("komp_janei",
"komp_av_fistel",
"komp_pseudoan",
"komp_blodning",
"komp_infek",
"komp_tamp",
"komp_nfren",
"komp_apoplexi",
"komp_avblokk_pm",
"komp_pulm",
"komp_osofag",
"komp_koronar",
"komp_perikard",
"komp_dod",
"komp_annen",
"komp_annet_spes",
"sykehus_opph",
"sykehus_annet_spes",
"residiv",
"residiv_annet_spes",
"usercomment",
"status") &
.data$skjemanavn == "Hendelse" ~
paste0("adhoc_", .data$fysisk_feltnavn),


# FRA PROSEDYRE
.data$fysisk_feltnavn %in% c("status",
"usercomment") &
Expand Down

0 comments on commit 8360d4f

Please sign in to comment.