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

View source: R/epmsi_mco_vmed_f.R

epmsi_mco_vmed_fR Documentation

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

Description

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

Usage

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

## 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)


IM-APHP/pmeasyr documentation built on April 22, 2024, 6:38 p.m.