123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- import request from "@/utils/request";
- let url = '/emrControlRule'
- export function addRule(data) {
- return request({
- url: url + '/addRule',
- method: 'post',
- data
- })
- }
- export function getAvailableObjects() {
- return request({
- url: url + '/getAvailableObjects',
- method: 'get',
- })
- }
- export function hospitalWidePatients() {
- return request({
- url: url + '/hospitalWidePatients',
- method: 'post',
- })
- }
- export function accessToYourOwnPatientMedicalRecords() {
- return request({
- url: url + '/accessToYourOwnPatientMedicalRecords',
- method: 'get',
- })
- }
- export function getRuleList() {
- return request({
- url: url + '/getRuleList',
- method: 'get',
- })
- }
- export function switchQualityControl(id, offOn) {
- return request({
- url: url + '/switchQualityControl',
- method: 'get',
- params: {id, offOn}
- })
- }
- export function deleteRuleById(id) {
- return request({
- url: url + '/deleteRuleById',
- method: 'get',
- params: {id}
- })
- }
- export function modifyQualityControl(data) {
- return request({
- url: url + '/modifyQualityControl',
- method: 'post',
- data
- })
- }
- export function modifyTheAdmissionQualityControlTime(date) {
- return request({
- url: url + '/modifyTheAdmissionQualityControlTime',
- method: 'get',
- params: {date}
- })
- }
- export function getAdmissDate() {
- return request({
- url: url + '/getAdmissDate',
- method: 'get',
- })
- }
- export function createRestrictions(code, id, patNo) {
- return request({
- url: url + '/createRestrictions',
- method: 'get',
- params: {code, id, patNo}
- })
- }
- /// 下面是新的
- export function requestToUnlockMedicalRecords(data) {
- return request({
- url: url + '/requestToUnlockMedicalRecords',
- method: 'post',
- data
- })
- }
- export function getApplicationData(data) {
- return request({
- url: url + '/getApplicationData',
- method: 'post',
- data
- })
- }
- export function reviewMedicalRecordsToUnlock(data) {
- return request({
- url: url + '/reviewMedicalRecordsToUnlock',
- method: 'post',
- data
- })
- }
- export function getMyUnlockByPatNo(patNo, times) {
- return request({
- url: url + '/getMyUnlockByPatNo',
- method: 'get',
- params: {patNo, times}
- })
- }
- export function specifyAdmissionQualityControl(start,end) {
- return request({
- url: url + '/specifyAdmissionQualityControl',
- method: 'get',
- params: {start, end}
- })
- }
|