hanneskod / icuphp Goto Github PK
View Code? Open in Web Editor NEWThe intensive care unit
The intensive care unit
Could be a better way to encapsulate.
Features are then nothing more than collections of property definitions.
Should be possible to add (and remove?) features during execution. Think adding a new infusion. (But removing a drug from the rack does not necessarily remove its affect on the body..)
Patient is not neccesary, everything should be a property of Scenario.
Value renamed Property. Remove NullValue.
PropertyDefinitionInterface
Properties are processed in scenario and that makes it easy to log.
new PropertyDefinition(
name: Constitution::LENGTH,
desc: describe property for logging,
value: new Property($length, "cm"),
);
// that something is an extension can be tracked with this..
// exception if extended property is not defined
new PropertyExtension(
extends: Constitution::HEIGHT,
desc: describe extension for logging,
update: fn($time, $property, [$scenario]) => ...,
);
// virtuals can not be extended..
// uses can be used to ensure that properties exist...
new VirtualProperty(
name: Constitution::BMI,
desc: ...,
uses: [Constitution::LENGTH, ...],
value: fn($scenario) => calc_bmi(),
);
Desc could be renamed log and could be processed throw sprintf to add calculated values...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.