Python http client12/19/2023 Raise ValueError( 'password can not be null') Raise ValueError( 'username can not be null') Raise ValueError( 'base_url can not be null') Token_timeout = TOKEN_DEFAULT_TIMEOUT_IN_SECS,Ĭreates an instance of TouchWorks, connects to the TouchWorks Web Service RESULT_GET_USER_PREFERENCES = 'getuserpreferencesinfo' RESULT_GET_PROVIDERS = 'getprovidersinfo'ĪCTION_GET_USER_PREFERENCES = 'GetUserPreferences' RESULT_GET_PROVIDER_INFO = 'getproviderinfoinfo' RESULT_GET_PATIENT_LOCATIONS = 'getpatienlLocationsinfo'ĪCTION_GET_PROVIDER_INFO = 'GetProviderInfo' RESULT_GET_CHANGED_PATIENTS = 'getchangedpatientsinfo'ĪCTION_GET_PATIENT_LOCATIONS = 'GetPatientLocations ' RESULT_SET_PATIENT_MEDHX_FLAG = 'setpatientmedhxflaginfo'ĪCTION_GET_CHANGED_PATIENTS = 'GetChangedPatients ' RESULT_GET_PATIENT_PHARAMCIES = 'getpatientpharmaciesinfo'ĪCTION_SET_PATIENT_MEDHX_FLAG = 'SetPatientMedHXFlag ' RESULT_GET_PATIENT_ACTIVITY = 'getpatientactivityinfo'ĪCTION_GET_PATIENT_PHARAMCIES = 'GetPatientPharmacies ' RESULT_GET_CLINICAL_SUMMARY = 'getclinicalsummaryinfo'ĪCTION_GET_PATIENT_ACTIVITY = 'GetPatientActivity' RESULT_SET_PATIENT_LOCATION_AND_STATUS = 'setpatientlocationandstatusinfo'ĪCTION_GET_CLINICAL_SUMMARY = 'GetClinicalSummary' ![]() RESULT_SAVE_MSG_FROM_PAT_PORTAL = 'savemsgfrompatportalinfo'ĪCTION_SET_PATIENT_LOCATION_AND_STATUS = 'SetPatientLocationAndStatus' RESULT_SAVE_TASK_COMMENT = 'savetaskcommentinfo'ĪCTION_SAVE_MSG_FROM_PAT_PORTAL = 'SaveMsgFromPatPortal' ![]() RESULT_SAVE_TASK_STATUS = 'savetaskstatusinfo'ĪCTION_SAVE_TASK_COMMENT = 'SaveTaskComent' RESULT_SEARCH_TASK_VIEWS = 'searchtaskviewsinfo'ĪCTION_SAVE_TASK_STATUS = 'SaveTaskStatus' RESULT_GET_TASK_COMMENTS = 'gettaskcommentsinfo'ĪCTION_SEARCH_TASK_VIEWS = 'SearchTaskViews' RESULT_GET_DELEGATES = 'getdelegatesinfo'ĪCTION_GET_TASK_COMMENTS = 'GetTaskComments' RESULT_GET_TASKLISTBY_VIEW = 'gettasklistbyviewinfo' RESULT_GET_DICTIONARY = 'getdictionaryinfo'ĪCTION_GET_TASKLIST_BY_VIEW = 'GetTaskListByView' RESULT_GET_DOCUMENT_TYPE = 'getdocumenttypeinfo' RESULT_SAVE_UNSTRUCTURED_DATA = 'saveunstructureddocument'ĪCTION_GET_DOCUMENT_TYPE = 'GetDocumentType' RESULT_GET_ENCOUNTER = 'getencounterinfo'ĪCTION_SAVE_UNSTRUCTURED_DATA = 'SaveUnstructuredDocument' RESULT_GET_PATIENT_INFO = 'getpatientinfo' ![]() RESULT_GET_ENCOUNTER_LIST_FOR_PATIENT = 'getencounterlistforpatientinfo' RESULT_GET_DOCUMENTS = 'getdocumentsinfo'ĪCTION_GET_ENCOUNTER_LIST_FOR_PATIENT = 'GetEncounterListForPatient' RESULT_SEARCH_PATIENTS = 'searchpatientsinfo' Raise Exception( 'token can not be empty')ĪCTION_SEARCH_PATIENTS = 'SearchPatients' MAGIC_JSON_FAILED = 'magic json api failed'ĭef _init_( self, token, acquired_time = None): GET_TOKEN_FAILED_ERROR = 'unable to acquire the token from web service' TouchWorksException Class TouchWorksErrorMessages Class SecurityToken Class _init_ Function TouchWorksEndPoints Class TouchWorksMagicConstants Class TouchWorks Class _init_ Function get_token Function _token_valid Function _http_request Function save_note Function search_patients Function get_document_type Function get_patient Function get_encounter Function get_dictionary Function find_document_type_by_name Function get_encounter_list_for_patient Function save_unstructured_document Function set_patient_location_and_status Function get_clinical_summary Function get_patient_activity Function set_patient_medhx_flag Function get_changes_patients Function get_patients_locations Function get_patient_pharmacies Function get_user_id Function get_provider Function get_provider_info Function get_providers Function get_task_list Function save_message_from_pat_portal Function save_task_comment Function get_task Function save_task_status Function search_task_views Function save_task Function get_task_comments Function get_delegates Function get_task_list_by_view Function get_schedule Function get_documents Function _magic_json Function _get_results_or_raise_if_magic_invalid Function
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |