Comments (4)
I wish I could say we had a master plan all laid out, but unfortunately we aren't there yet. I do believe it would be ideal to have all Vital Signs set by GMF modules and not in the ruby modules, the reason we haven't gone down that path is that many of the vital sign values are based on formulas which the GMF isn't able to represent.
For instance, to estimate creatinine clearance for diabetes we use the formula Est. Creatinine Clearance = [[140 - age(yr)]*weight(kg)]/[72*serum Cr(mg/dL)]
(ref: http://www.mcw.edu/calculators/creatinine.htm)
We're thinking about ways to potentially represent these kinds of formulas within the GMF, and we welcome any community suggestions.
from synthea.
I'm working on a module to initialize the vital signs and then adjust their trajectories on a (monthly) bases. But yeah, we need formulas for that so working on them too.
I'll let you know how it works out.
from synthea.
Here's the start of a module that can be edited to set initial values for all of the vitals. It then iterates monthly to adjust them. Way too simple minded but its a start. I've also added a simple Expression mechanism that is adequate to calculate the creatinine clearance and a new expression field on VitalSign that, if set, will evaluate the expression to set the next value of the vital. This version only adjusts it by - 1.0..1.0 so more work is needed for realism.
Here's an Expression that will evaluate the creatinine clearance, just so you can see a bit more about Expressions. For example, Formulas are simple binary operators and Primitives can either be single values, the names of a vital (plus age and gender tests) or a Range.
Hmmm, the "" operators should be *. It seems the wiki is morphing them.
{
"type": "Formula",
"left": {
"type": "Formula",
"left": {
"type": "Formula",
"left": {
"type": "Formula",
"left": {
"type": "Primitive",
"value": 140.0
},
"operator": "-",
"right": {
"type": "Primitive",
"sign": "Age(yr)"
}
},
"operator": "",
"right": {
"type": "Primitive",
"sign": "Weight"
}
},
"operator": "/",
"right": {
"type": "Formula",
"left": {
"type": "Primitive",
"value": 72.0
},
"operator": "",
"right": {
"type": "Primitive",
"sign": "Creatinine"
}
}
},
"operator": "",
"right": {
"type": "Formula",
"left": {
"type": "Primitive",
"sign": "isMale"
},
"operator": "+",
"right": {
"type": "Formula",
"left": {
"type": "Primitive",
"value": 0.85
},
"operator": "",
"right": {
"type": "Primitive",
"sign": "isFemale"
}
}
}
}
from synthea.
I've got a more complete vital_signs module and am working with my management to release it. Closing this for now.
from synthea.
Related Issues (20)
- Unable to access jarfile synthea-with-dependencies.jar HOT 1
- Could not find method classifier() for arguments [sources] on task ':sourceJar' HOT 2
- Compiling Problems: HOT 4
- Make `-r` argument more useful. HOT 1
- People have conditions due to diabetes but don't have diabetes.
- CSV file for patients.csv has extra column (between HOT 6
- Doc change: Series UID and Instance UID in imaging studies are not proper UUID HOT 2
- Malformed date in payer_transition CSV data HOT 6
- US Core 3.1
- Consider splitting CSV output into multiple files
- Condition.category for SDoH conditions
- Vital signs must have finite values - NaN is invalid HOT 5
- Transition Type Distributed is not distributing the data according to provided weight HOT 2
- Using a Keep Module results in extra data in hospital/practitionerInfo files
- NullPointerException seen in various executions HOT 3
- Examine very high percentile height and weight simulations
- Export filter keeps all instances of a condition type when an active instance exists
- RuntimeException: unexpected value -1 within Framingham.stroke10Year (VitalSign.SYSTOLIC_BLOOD_PRESSURE is -1) HOT 2
- Update correct SNOMED code for “Fiberoptic bronchoscopy”
- Single patient seed flag -ps doesn't work with re-attempted patient seeds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthea.