ExtrapolateEndoscopicICD10: Primary Diagnosis from Endoscopy

Description Usage Arguments Examples

Description

This function extracts the primary diagnosis from the endoscopy free text. It will also add pathology diagnosis to the final primary code

Usage

1
2
ExtrapolateEndoscopicICD10(dataframe, Procedure, PathSite, FINDINGS,
  ENDOSCOPICDIAGNOSIS, EndoscopyEvent)

Arguments

dataframe

the dataframe

Procedure

the Procedure column

PathSite

the PathSite column

FINDINGS

the FINDINGS column

ENDOSCOPICDIAGNOSIS

the ENDOSCOPICDIAGNOSIS column

EndoscopyEvent

the EndoscopyEvent column

Examples

1
2
3
# Need to run the HistolTypeSite and EndoscopyEvent functions first here
# SelfOGD_Dunn$OPCS4w<-ExtrapolateOPCS4Prep(SelfOGD_Dunn,"PROCEDUREPERFORMED",
# "PathSite","EndoscopyEvent")

sebastiz/EndoMineR_devlop documentation built on May 29, 2019, 7:33 a.m.