medhistdata: Medical history datasets with specific outcome.

Format

Format

A data frame with 3,434 rows and 7 columns:

exprs

ICD-10 code of a diagnosis/procedure (2016). This connects to pData() by columns (visits) and fData() by rows (medical histories).

outcome

A factor of which non-event is the first class between non-event and event. Subjects with events are those encountered by either O14 or O15 while those with non-events encountered by Z33 to Z37. Called by pData().

desc

A character describing diagnosis/procedure. Called by fData().

visit_id

Visit ID. Each ID is unique to one episode (from admission to discharge) per provider. Called by pData(protocolData()).

subject_id

Subject ID. Each ID is unique to one subject across healthcare providers. Called by pData(protocolData()).

latest_date

Latest date of event/non-event. For event, this is admission_date of subjects at 2 days before the date of event, which is earliest date of either O14 or O15 encounter. For non-event, this is admission_date of subjects at the date of non-event, which is the latest date of Z33 to Z37 encounters. Called by pData(protocolData()).

healthcare_id

Provider ID. The provider is the one of which the subject visits (not always one the subject registered to). This connects to healthcare data. Called by pData(protocolData()).

admission_date

Admission date of this visit. Called by pData(protocolData()). \itemdb_start_dateStart date of the database. Called by pData(protocolData()).

Artificial data medhistdata A TidySet (i.e. ExpressionSet) containing the visits of subjects in outcome dataset, paid by any payment systems. This TidySet also accomodates outcome dataset. datasets


herdiantrisufriyana/medhist documentation built on June 24, 2021, 3:41 a.m.