dunmail / mhd.js Goto Github PK
View Code? Open in Web Editor NEWNode.js implementation of IHE MHD trial implementation
License: Other
Node.js implementation of IHE MHD trial implementation
License: Other
lib/xdsAdapter has dependency on test/config/constants in makeEntry
getDocument should return error if PatientId is for unknown patient (allowing request handler to return 404/Document Entry UUID not found). How do we identify unknown patients?
The Document Consumer may include additional key/value pairs to further scope the search. They are encoded in accordance with RFC2616 for encoding GET queries. The query string (i.e., the string after the ‘?’ and before the ‘#’ in the HTTP action) is created as a list of key/value pairs.
See documentation for further details
I am changing the module API to work on buffers. I would recommend no longer using the b64 module if you are only interested in working with b64 strings. Instead just use this code in your own module:
function base64_encode(message) {
if(typeof message !== "string") {
throw new Error("Argument is not a string");
}
return new Buffer(message).toString('base64');
};
function base64_decode(message) {
if(typeof message !== "string") {
throw new Error("Argument is not a string");
}
return new Buffer(message, 'base64').toString('utf8');
};
Alternatively, just change your package.json to only allow b64 version 1.x.x
because your code will break as soon as I publish 2.0.0.
getDocument should return error if UUID is for document in deprecated state (allowing request handler to return 410/Document Entry UUID deprecated). How do we identify documents in the deprecated state?
The Document Consumer may indicate in the Accept a preference for Atom (i.e. application/xml+atom). The Document Responder must then return with Atom return formats.
Service should raise audit events
findDocumentDossiers should return error if PatientId is for unknown patient (allowing request handler to return 404/Document Entry UUID not found). How do we identify unknown patients?
getDocumentDossier should return error if UUID is for document in deprecated state (allowing request handler to return 410/Document Entry UUID deprecated). How do we identify documents in the deprecated state?
getDocumentDossier should return error if PatientId is for unknown patient (allowing request handler to return 404/Document Entry UUID not found). How do we identify unknown patients?
The Document Consumer shall indicate in the Accept a preference for JSON (i.e.,
application/json) or Atom (i.e. application/xml+atom). In the absence of an Accept preference, JSON shall be used. The Document Responder shall support both JSON and Atom return formats.
If the requested media type is not supported by the server, the Document Responder shall return a status code of 415.
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.