Functions for the Pediatric Medical Complexity Algorithm


dc.contributor.authorRazzaghi, Hanieh
dc.date.accessioned2025-09-18T19:33:35Z
dc.date.created2023-11
dc.descriptionThe PMCA algorithm identifies children with complex chronic disease who have accessed tertiary hospital ED, day surgery, or inpatient care sites. These functions were adapted to R to improve use of the algorithm against the PEDSnet database. The PMCA functions include the following processes: - Produce a PMCA table of observations with a 3-year lookback from the observation_date. - Compute a table of visit counts for the prior 3 years and flag chronic/complex chronic conditions, malignancy, and progressive conditions for each body system identified for each patient in the cohort. - Compute the most conservative PMCA algorithm for the complex chronic flag. - Generate final patient-level flags indicating counts of progressive and malignant conditions, the complex chronic flag, and counts of body systems. - Generate flags indicating presence of PMCA body systems within the prior 3-year lookback period. To read more about the original algorithm, see [Simon et al](https://pubmed.ncbi.nlm.nih.gov/29496546/) (2018). To access the code, select the “View on GitHub” option below.
dc.description.abstractR functions including the complex chronic flag, number of body systems, progressive conditions and malignancy, with the most conservative version of the algorithm.
dc.identifier.urihttps://hdl.handle.net/20.500.14642/1194
dc.provenanceThe algorithm was developed initially by Simon et. al. (Seattle Children's Research Institute) and repurposed as R functions by Hanieh Razzaghi (PEDSnet).
dc.publisherPEDSnet
dc.rightsa CC-BY Attribution 4.0 license.
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subjectPEDSnet Data Model Dependence
dc.subjectR
dc.subjectTrino Compatible
dc.subjectPostgres Compatible
dc.subject.meshAlgorithms
dc.subject.meshChronic Disease
dc.subject.meshSeverity of Illness Index
dc.subject.meshInternational Classification of Diseases
dc.subject.meshHospitals, Pediatric
dc.titleFunctions for the Pediatric Medical Complexity Algorithm
dc.title.alternativePMCA
dspace.entity.typeCode
local.code.bitbuckethttps://atlassian.chop.edu/bitbucket/projects/PASC/repos/recover_reusable_functions/browse/code/driver_pmca.R
local.code.githubhttps://github.com/PEDSnet/pmca
relation.isConceptSetOfCode7a43f92c-78f0-44f1-bc4a-17b58f4d553b
relation.isConceptSetOfCode.latestForDiscovery7a43f92c-78f0-44f1-bc4a-17b58f4d553b
relation.isDocumentationOfCoded0698db8-b7bd-4fa1-b9be-fb45d0098f52
relation.isDocumentationOfCode.latestForDiscoveryd0698db8-b7bd-4fa1-b9be-fb45d0098f52

Files

Domains