Fix sensitive record indicator inconsistency (always check)
This commit is contained in:
parent
4a25b2f823
commit
45dda6f51d
@ -46,8 +46,8 @@
|
|||||||
strptime_vista,
|
strptime_vista,
|
||||||
async loadinfo(dfn, viewsensitive) {
|
async loadinfo(dfn, viewsensitive) {
|
||||||
this.patient_dfn = dfn;
|
this.patient_dfn = dfn;
|
||||||
this.sensitive = viewsensitive ? false : await this.client.ORWPT_SELCHK(dfn);
|
this.sensitive = await this.client.ORWPT_SELCHK(dfn);
|
||||||
this.patient_info = this.sensitive ? null : await this.client.ORWPT16_ID_INFO(dfn);
|
this.patient_info = (this.sensitive) && (!viewsensitive) ? null : await this.client.ORWPT16_ID_INFO(dfn);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user