epmsi_mco_vmed_f: ~ MCO - Comprendre le tableau epmsi 1.V.2.VMED - F

Description Usage Arguments Value Examples

Description

~ MCO - Comprendre le tableau epmsi 1.V.2.VMED - F

Usage

1
epmsi_mco_vmed_f(p, ref_indic)

Arguments

p

Noyau de paramètres

ref_indic

table des indications ATIH

Value

Liste de deux tables : tableau ePMSI et détail avec NAS, UCD, Indcations, etc.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Not run: 
library(pmeasyr)
library(dplyr, warn.conflicts = FALSE)


p <- noyau_pmeasyr(
  finess = '123456789',
  annee  = 2019,
  mois   = 3,
  path   = '~/Documents/data/mco',
  tolower_names = TRUE,
  lib = FALSE, 
  progress = FALSE
)

# devtools::install_github('GuillaumePressiat/nomensland')
library(nomensland)
ref_indic <- get_table('mco_medref_atih_indications') %>% 
  mutate(mois = substr(anseqta,1,2), 
         annee = substr(anseqta, 3,6)) 
vmed_f <- epmsi_mco_vmed_f(p, 
                           ref_indic)

## End(Not run)

GuillaumePressiat/pmeasyr2 documentation built on May 11, 2019, 3 p.m.