Functions for the Pediatric Medical Complexity Algorithm
| dc.contributor.author | Razzaghi, Hanieh |
| dc.date.accessioned | 2025-09-18T19:33:35Z |
| dc.date.created | 2023-11 |
| dc.description | The 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.abstract | R functions including the complex chronic flag, number of body systems, progressive conditions and malignancy, with the most conservative version of the algorithm. |
| dc.identifier.uri | https://hdl.handle.net/20.500.14642/1194 |
| dc.provenance | The algorithm was developed initially by Simon et. al. (Seattle Children's Research Institute) and repurposed as R functions by Hanieh Razzaghi (PEDSnet). |
| dc.publisher | PEDSnet |
| dc.rights | a CC-BY Attribution 4.0 license. |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ |
| dc.subject | PEDSnet Data Model Dependence |
| dc.subject | R |
| dc.subject | Trino Compatible |
| dc.subject | Postgres Compatible |
| dc.subject.mesh | Algorithms |
| dc.subject.mesh | Chronic Disease |
| dc.subject.mesh | Severity of Illness Index |
| dc.subject.mesh | International Classification of Diseases |
| dc.subject.mesh | Hospitals, Pediatric |
| dc.title | Functions for the Pediatric Medical Complexity Algorithm |
| dc.title.alternative | PMCA |
| dspace.entity.type | Code |
| local.code.bitbucket | https://atlassian.chop.edu/bitbucket/projects/PASC/repos/recover_reusable_functions/browse/code/driver_pmca.R |
| local.code.github | https://github.com/PEDSnet/pmca |
| relation.isConceptSetOfCode | 7a43f92c-78f0-44f1-bc4a-17b58f4d553b |
| relation.isConceptSetOfCode.latestForDiscovery | 7a43f92c-78f0-44f1-bc4a-17b58f4d553b |
| relation.isDocumentationOfCode | d0698db8-b7bd-4fa1-b9be-fb45d0098f52 |
| relation.isDocumentationOfCode.latestForDiscovery | d0698db8-b7bd-4fa1-b9be-fb45d0098f52 |
