REST API Gateway component to expose DNPM:DIP modules
WORK IN PROGRESS
https://github.com/KohlbacherLab/dnpm-dip-api-gateway/blob/main/app/controllers/README.md
REST API Gateway component for DNPM:DIP
License: MIT License
REST API Gateway component to expose DNPM:DIP modules
WORK IN PROGRESS
https://github.com/KohlbacherLab/dnpm-dip-api-gateway/blob/main/app/controllers/README.md
The generated fake patient mtb data does not match generated JSON schema.
Schema file and fake data are generated from example DNPM:DIP source:
This will compare an example part of Schema with generated mtb data.
For example, a Patient
is defined as:
"patient": {
"type": "object",
"additionalProperties": false,
"properties": {
...
"gender": {
"$ref": "#/definitions/Gender"
},
"birthDate": {
"$ref": "#/definitions/YearMonth"
},
...
}
Gender
is defined as:
"Gender": {
"type": "string",
"enum": [
"female",
"male",
"other",
"unknown"
]
},
Same part in generated fake patient mtb data does not use a string but an object:
"patient": {
"id": "fbd23d0b-f81b-4a2f-b53b-e93871069cfd",
"gender": {
"code": "male",
"display": "Männlich",
"system": "Gender"
},
"birthDate": "1977-01-01",
...
}
The gender (and all other object values using a coding scheme) should use some kind of schema definition containing code
, display
and system
.
The JSON schema uses diagnoses.icd10
but data model uses diagnoses.code
Schema file and fake data are generated from example DNPM:DIP source:
Schema says:
...
"MTBDiagnosis": {
"type": "object",
"additionalProperties": false,
"properties": {
...
"id": {
"$ref": "#/definitions/Id"
},
"icd10": { <--- Here!
"$ref": "#/definitions/Coding"
},
...
but example fake data uses:
...
"diagnoses": [
{
"id": "2b478ee3-f5c0-4429-8367-7215b1908a19",
"patient": {
"id": "fbd23d0b-f81b-4a2f-b53b-e93871069cfd",
"type": "Patient"
},
"recordedOn": "2004-05-15",
"code": { <---- Here!
"code": "C76.7",
"display": "Bösartige Neubildung: Sonstige ungenau bezeichnete Lokalisationen",
"system": "http://fhir.de/CodeSystem/bfarm/icd-10-gm",
"version": "2024"
},
...
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.