Errors relating to BaseList in Patient Medical Record [Healthcare domain]

Hello Community members,

I am having a bug on the Patient Medical Record page of Healthcare Module.

I am getting the error: TypeError: frappe.ui.BaseList is not a constructor

I’m not sure if the code below is proper:

    	frappe.model.with_doctype("Patient Medical Record", function() { = new frappe.ui.BaseList({
    			hide_refresh: true,
    			method: '',
    			args: {name: patient},
    			parent: $("<div></div>").appendTo(,
    			render_view: function(values) {
    				var me = this;
    				var wrapper =".result-list").get(0); (value) {
    					var row = $('<div class="list-row">').data("data", value).appendTo($(wrapper)).get(0);
    					new frappe.medical_record.Feed(row, value);
    			show_filters: true,
    			doctype: "Patient Medical Record",
    		show_patient_info(patient, me);;

Please Advise.


Hi, Cannot replicate this on the master branch, can you share the branch and version you are getting this error?

i am on:

ERPNext: v9.x.x-develop (abc0632) (develop) and
Frappe Framework: v9.x.x-develop (2bb2544) (develop)

Are you running VM by any chance?

running on ubuntu 17.10


I have temporarily fixed this error by adding the lines to js/list.min.js under frappe/public/build.json.

"js/list.min.js": [ ...

Don’t forget to bench build.


this doesn’t solved the issue on mine…

Installed Apps

ERPNext: v11.1.48 (master)

Frappe Framework: v11.1.43 (master)

This issue is fixed in the just released v12, please upgrade.