- Created by Former user on Nov 06, 2014
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
List Report Templates
Current Implementation
Reports are assigned to User's roles. This operation returns the list of Report Templates (and their parameters) that are available to the user that is invoking it.
Parameters
Base URL: /listReportTemplates
Parameters:
Name | Type | Mandatory | Description |
---|---|---|---|
token | String | Yes | Security Token obtained before. |
userId | String | Yes | The id of the logged in user. |
API Sample
Result Expand source
{ "data" : [ { "name" : "All Patients", "parametersForm" : { "canSaveDraft" : false, "chartId" : null, "createDate" : null, "dirty" : false, "exitOnEmpty" : false, "groupName" : null, "hasDetails" : false, "interactive" : false, "language" : null, "name" : null, "patientId" : null, "patientSurveyId" : null, "position" : null, "surveyClass" : null, "surveyId" : "1", "surveyQuestions" : [ { "answerType" : "date", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "p1", "oid" : 0, "position" : 0, "possibleAnswers" : [ ], "preLabel" : "From", "query" : null, "questionName" : "startDate", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "text", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : "UNC", "displayWhen" : null, "groupAnswers" : null, "itemId" : "organizationid", "oid" : 0, "position" : -3, "possibleAnswers" : [ { "action" : null, "itemId" : "organizationid", "label" : "UNC", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "UNC" } ], "preLabel" : "Organization", "query" : null, "questionName" : "organizationid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "facilityid", "oid" : 0, "position" : -2, "possibleAnswers" : [ { "action" : null, "itemId" : "facilityid", "label" : "North Eastern", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]NorthEastern" }, { "action" : null, "itemId" : "facilityid", "label" : "UNC", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]UNC" }, { "action" : null, "itemId" : "facilityid", "label" : "Vidant", "oid" : 0, "position" : 2, "surveyId" : 0, "value" : "[UNC]Vidant" } ], "preLabel" : "Facility", "query" : "organizationid", "questionName" : "facilityid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "workspaceid", "oid" : 0, "position" : -1, "possibleAnswers" : [ { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[NorthEastern]ne_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[NorthEastern]ne_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]unc_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]unc_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[Vidant]vidant_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[Vidant]vidant_nursery" } ], "preLabel" : "Workspace", "query" : "facilityid", "questionName" : "workspaceid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null } ], "updateDate" : null, "updateWith" : null }, "reportTemplateId" : 1 }, { "name" : "Facility", "parametersForm" : { "canSaveDraft" : false, "chartId" : null, "createDate" : null, "dirty" : false, "exitOnEmpty" : false, "groupName" : null, "hasDetails" : false, "interactive" : false, "language" : null, "name" : null, "patientId" : null, "patientSurveyId" : null, "position" : null, "surveyClass" : null, "surveyId" : "2", "surveyQuestions" : [ { "answerType" : "text", "currentAnswer" : "UNC", "displayWhen" : null, "groupAnswers" : null, "itemId" : "organizationid", "oid" : 0, "position" : -3, "possibleAnswers" : [ { "action" : null, "itemId" : "organizationid", "label" : "UNC", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "UNC" } ], "preLabel" : "Organization", "query" : null, "questionName" : "organizationid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "facilityid", "oid" : 0, "position" : -2, "possibleAnswers" : [ { "action" : null, "itemId" : "facilityid", "label" : "North Eastern", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]NorthEastern" }, { "action" : null, "itemId" : "facilityid", "label" : "UNC", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]UNC" }, { "action" : null, "itemId" : "facilityid", "label" : "Vidant", "oid" : 0, "position" : 2, "surveyId" : 0, "value" : "[UNC]Vidant" } ], "preLabel" : "Facility", "query" : "organizationid", "questionName" : "facilityid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "workspaceid", "oid" : 0, "position" : -1, "possibleAnswers" : [ { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[NorthEastern]ne_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[NorthEastern]ne_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]unc_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]unc_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[Vidant]vidant_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[Vidant]vidant_nursery" } ], "preLabel" : "Workspace", "query" : "facilityid", "questionName" : "workspaceid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null } ], "updateDate" : null, "updateWith" : null }, "reportTemplateId" : 2 }, { "name" : "Organization", "parametersForm" : { "canSaveDraft" : false, "chartId" : null, "createDate" : null, "dirty" : false, "exitOnEmpty" : false, "groupName" : null, "hasDetails" : false, "interactive" : false, "language" : null, "name" : null, "patientId" : null, "patientSurveyId" : null, "position" : null, "surveyClass" : null, "surveyId" : "3", "surveyQuestions" : [ { "answerType" : "text", "currentAnswer" : "UNC", "displayWhen" : null, "groupAnswers" : null, "itemId" : "organizationid", "oid" : 0, "position" : -3, "possibleAnswers" : [ { "action" : null, "itemId" : "organizationid", "label" : "UNC", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "UNC" } ], "preLabel" : "Organization", "query" : null, "questionName" : "organizationid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "facilityid", "oid" : 0, "position" : -2, "possibleAnswers" : [ { "action" : null, "itemId" : "facilityid", "label" : "North Eastern", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]NorthEastern" }, { "action" : null, "itemId" : "facilityid", "label" : "UNC", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]UNC" }, { "action" : null, "itemId" : "facilityid", "label" : "Vidant", "oid" : 0, "position" : 2, "surveyId" : 0, "value" : "[UNC]Vidant" } ], "preLabel" : "Facility", "query" : "organizationid", "questionName" : "facilityid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "workspaceid", "oid" : 0, "position" : -1, "possibleAnswers" : [ { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[NorthEastern]ne_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[NorthEastern]ne_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]unc_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]unc_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[Vidant]vidant_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[Vidant]vidant_nursery" } ], "preLabel" : "Workspace", "query" : "facilityid", "questionName" : "workspaceid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null } ], "updateDate" : null, "updateWith" : null }, "reportTemplateId" : 3 }, { "name" : "Workspace", "parametersForm" : { "canSaveDraft" : false, "chartId" : null, "createDate" : null, "dirty" : false, "exitOnEmpty" : false, "groupName" : null, "hasDetails" : false, "interactive" : false, "language" : null, "name" : null, "patientId" : null, "patientSurveyId" : null, "position" : null, "surveyClass" : null, "surveyId" : "4", "surveyQuestions" : [ { "answerType" : "text", "currentAnswer" : "UNC", "displayWhen" : null, "groupAnswers" : null, "itemId" : "organizationid", "oid" : 0, "position" : -3, "possibleAnswers" : [ { "action" : null, "itemId" : "organizationid", "label" : "UNC", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "UNC" } ], "preLabel" : "Organization", "query" : null, "questionName" : "organizationid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "facilityid", "oid" : 0, "position" : -2, "possibleAnswers" : [ { "action" : null, "itemId" : "facilityid", "label" : "North Eastern", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]NorthEastern" }, { "action" : null, "itemId" : "facilityid", "label" : "UNC", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]UNC" }, { "action" : null, "itemId" : "facilityid", "label" : "Vidant", "oid" : 0, "position" : 2, "surveyId" : 0, "value" : "[UNC]Vidant" } ], "preLabel" : "Facility", "query" : "organizationid", "questionName" : "facilityid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "workspaceid", "oid" : 0, "position" : -1, "possibleAnswers" : [ { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[NorthEastern]ne_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[NorthEastern]ne_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]unc_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]unc_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[Vidant]vidant_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[Vidant]vidant_nursery" } ], "preLabel" : "Workspace", "query" : "facilityid", "questionName" : "workspaceid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null } ], "updateDate" : null, "updateWith" : null }, "reportTemplateId" : 4 }, { "name" : "Human Milk", "parametersForm" : { "canSaveDraft" : false, "chartId" : null, "createDate" : null, "dirty" : false, "exitOnEmpty" : false, "groupName" : null, "hasDetails" : false, "interactive" : false, "language" : null, "name" : null, "patientId" : null, "patientSurveyId" : null, "position" : null, "surveyClass" : null, "surveyId" : "5", "surveyQuestions" : [ { "answerType" : "text", "currentAnswer" : "UNC", "displayWhen" : null, "groupAnswers" : null, "itemId" : "organizationid", "oid" : 0, "position" : -3, "possibleAnswers" : [ { "action" : null, "itemId" : "organizationid", "label" : "UNC", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "UNC" } ], "preLabel" : "Organization", "query" : null, "questionName" : "organizationid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "facilityid", "oid" : 0, "position" : -2, "possibleAnswers" : [ { "action" : null, "itemId" : "facilityid", "label" : "North Eastern", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]NorthEastern" }, { "action" : null, "itemId" : "facilityid", "label" : "UNC", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]UNC" }, { "action" : null, "itemId" : "facilityid", "label" : "Vidant", "oid" : 0, "position" : 2, "surveyId" : 0, "value" : "[UNC]Vidant" } ], "preLabel" : "Facility", "query" : "organizationid", "questionName" : "facilityid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null }, { "answerType" : "text", "currentAnswer" : null, "displayWhen" : null, "groupAnswers" : null, "itemId" : "workspaceid", "oid" : 0, "position" : -1, "possibleAnswers" : [ { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[NorthEastern]ne_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[NorthEastern]ne_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[UNC]unc_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[UNC]unc_nursery" }, { "action" : null, "itemId" : "workspaceid", "label" : "Adults", "oid" : 0, "position" : 0, "surveyId" : 0, "value" : "[Vidant]vidant_adult" }, { "action" : null, "itemId" : "workspaceid", "label" : "Nursery", "oid" : 0, "position" : 1, "surveyId" : 0, "value" : "[Vidant]vidant_nursery" } ], "preLabel" : "Workspace", "query" : "facilityid", "questionName" : "workspaceid", "required" : false, "splitDisplay" : null, "style" : null, "suggestedControl" : "custom_linked_combobox", "surveyId" : 0, "updateBy" : null, "updateDate" : null, "updateWith" : null, "validation" : null } ], "updateDate" : null, "updateWith" : null }, "reportTemplateId" : 5 } ], "statusFact" : { "success" : true } }
Get Report
Current Implementation
This operation executes a specific Report Template and returns it as a binary. The current implementation ALWAYS returns the Report as PDF.
Parameters
Base URL: /listReportTemplates
Parameters:
Name | Type | Mandatory | Description |
---|---|---|---|
token | String | Yes | Security Token obtained before. |
userId | String | Yes | The id of the logged in user. |
API Sample
- No labels
Add Comment