srdc / tofhir Goto Github PK
View Code? Open in Web Editor NEWMapping toolset to migrate/transform existing datasets to HL7 FHIR
License: Apache License 2.0
Mapping toolset to migrate/transform existing datasets to HL7 FHIR
License: Apache License 2.0
e.g. In MIMIC-IV, in diagnosis table there is no date information to use as diagnosis date but we know which encounter it is done. So during 'admissions' to Encounter mapping if we can store the admission times per admission in cache we can use this during the diagnosis mapping to use it as the date of diagnosis.
Cache mechanism will be implemented base on Redis
In case of time-series type of source data, multiple rows should be mapped to the one fhir resource.
As in example, each number in the data field may be representing different row on the source.
Note: Is this really a requirement?
...
"valueSampledData": {
"origin": {
"value": "0.0",
"unit": "mg/dl",
"system": "http://unitsofmeasure.org",
"code": "mg/dl"
},
"period": "512.0",
"dimensions": "1",
"data": "99 103 108 114 121 128 132 137 142 148 157 192 197 201 205 208 206 198 207 171 157 143 128 115 106 103 107 103 110 122 138 154 165 170 176 184 188 188 194 198 208 211 215 212 213 216 220 225 228 231 238 239 240 244 249 252 255 256 257 257 257 254 255 258 259 260 254 244 230 214 198 185 177 180 173 174 174 176 177 176 176 174 172 170 167 165 164 162 162 161 162 159 156 153 152 148 141 143 144 147 148 146 144 144 142 142 142 141 139 137 132 130 130 125 121 105 102 100 97 95 92 90 84 84 84 82 79 77 76 74 74 75 73 73 76 77 78 78 79 79 80"
},
...
Enable users to map certain information to FHIR Path (http://hl7.org/fhir/fhirpatch.html) or JSON Patch(https://tools.ietf.org/html/rfc6902.) content which then can be used to patch a specific existing record with supplied values by executing FHIR Patch interaction.
e.g. Add a condition to EpisodeOfCare as the main diagnosis as a reference via FHIR Patch
{
"expression": {
"name": "result",
"language": "application/fhir-template+json",
"value": [
{
"op": "add",
"path": "/diagnosis/-",
"value": {
"condition": {
"reference": "Condition/{{conditionId}}"
}
}
}
]
},
"interaction": "json-patch",
"rid": "{{episodeId}}"
}
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.