pracro:praxisd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
pracro:praxisd [2011/04/18 10:07] – deva | pracro:praxisd [2011/12/08 10:18] – removed deva | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Praxisd====== | ||
- | Pracro must connect to praxisd in order to: | ||
- | * Upload journal data. | ||
- | * Retrieve journal data. | ||
- | * Get cave list. | ||
- | * Post cave information to a patient. | ||
- | * Get cave information from a patient. | ||
- | |||
- | Future uses include: | ||
- | * Calendar extracts for macro prefills. | ||
- | |||
- | =====libpraxisd===== | ||
- | The praxisd interface library. | ||
- | Using curl. | ||
- | interface: | ||
- | <code c> | ||
- | struct { | ||
- | char *data; | ||
- | size_t size; | ||
- | } journal_t; | ||
- | |||
- | journal_t *getJournal(const char *patientid); | ||
- | void freeJournal(journal_t *journal); | ||
- | |||
- | |||
- | </ | ||
- | |||
- | =====API===== | ||
- | GET: | ||
- | < | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | </ | ||
- | |||
- | POST: | ||
- | < | ||
- | / | ||
- | /* / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | </ | ||
- | |||
- | ====Get Journal By CPR==== | ||
- | < | ||
- | Parameters: | ||
- | * cpr the cpr number of the patient | ||
- | //Returns// the journal plaintext in utf-8 | ||
- | |||
- | ====Get Patient By CPR==== | ||
- | < | ||
- | Parameters: | ||
- | * cpr the cpr number of the patient | ||
- | //Returns// xml structure with patient data.\\ | ||
- | XML fields: | ||
- | |||
- | Example: '' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | <patient cpr=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | <sogeord sogenr=" | ||
- | </ | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | </ | ||
- | |||
- | |||
- | ====Get Diverse From Sogenr==== | ||
- | < | ||
- | Get list of matching sogenr entries. | ||
- | Parameters: | ||
- | * sogenr the sogenr prefix to match in the search. | ||
- | //Returns// xml structure with matching diverse entries\\ | ||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | <praxisd version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | . | ||
- | . | ||
- | . | ||
- | </ | ||
- | </ | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
- | |||
- | Prefix ' | ||
pracro/praxisd.txt · Last modified: 2011/12/08 10:18 by deva