pracro:praxisd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pracro:praxisd [2011/04/18 14:53] – deva | pracro:praxisd [2011/10/20 15:26] – Fix fra Bertho deva | ||
---|---|---|---|
Line 378: | Line 378: | ||
</ | </ | ||
</ | </ | ||
+ | |||
====Authenticate==== | ====Authenticate==== | ||
< | < | ||
- | Validate a username and password against the pcpraxis user db. NOTE: this is not needed in order to communicate with the server. Not event PUTs. | + | Validate a username and password against the pcpraxis user db. NOTE: this is not needed in order to communicate with the server. Not event POSTs. |
Parameters: | Parameters: | ||
* user the username | * user the username | ||
Line 393: | Line 394: | ||
//Returns// the plaintext utf-8 name connected with the userid. | //Returns// the plaintext utf-8 name connected with the userid. | ||
- | ====Get All Docmenu | + | ====Get All DokMenu |
< | < | ||
- | Shows the complete | + | Shows the complete |
Parameters: | Parameters: | ||
* cpr the patient id. | * cpr the patient id. | ||
- | //Returns// xml structure with docmenu | + | //Returns// xml structure with dokmenu |
<code xml> | <code xml> | ||
<?xml version=" | <?xml version=" | ||
Line 413: | Line 414: | ||
</ | </ | ||
- | ====Get | + | ====Get |
< | < | ||
- | Fetch contents of a file in the docmenu | + | Fetch contents of a file in the dokmenu |
Parameters: | Parameters: | ||
* cpr the patient id. | * cpr the patient id. | ||
Line 424: | Line 425: | ||
=====POST===== | =====POST===== | ||
+ | |||
====Add To Journal==== | ====Add To Journal==== | ||
< | < | ||
+ | Add text to the journal. | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <journal cpr=" | ||
+ | </ | ||
+ | </ | ||
====Update Patient==== | ====Update Patient==== | ||
< | < | ||
+ | FIXME Not yet implemented. | ||
====Add Sogeord to Patient==== | ====Add Sogeord to Patient==== | ||
< | < | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | < | ||
+ | <sogeord sogenr=" | ||
+ | . | ||
+ | . | ||
+ | . | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
====Update Aftale==== | ====Update Aftale==== | ||
< | < | ||
+ | In the xml both the old and the new contents must be present in order for the server to be able to verify that no changes were made since the original was last fetched. | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <aftale date=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <aftale date=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
====Add Aftale==== | ====Add Aftale==== | ||
< | < | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <aftale date=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
====Delete Aftale==== | ====Delete Aftale==== | ||
< | < | ||
+ | Delete the matching calendar entry. | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <aftale date=" | ||
+ | </ | ||
+ | </ | ||
- | ====Add File to Docmenu==== | + | |
+ | ====Add File to DokMenu==== | ||
< | < | ||
+ | Upload file to dokmenu. | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <dokmenu cpr=" | ||
+ | < | ||
+ | < | ||
+ | <file [name=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
- | ====Delete File from Docmenu==== | + | ====Delete File from DokMenu==== |
< | < | ||
+ | Delete a file from the dokmenu. | ||
+ | <code xml> | ||
+ | <praxisd version=" | ||
+ | <dokmenu cpr=" | ||
+ | </ | ||
+ | </ | ||
pracro/praxisd.txt · Last modified: 2011/12/08 10:18 by deva