json-to-csv icon indicating copy to clipboard operation
json-to-csv copied to clipboard

i wanna apply this function in my json!

Open heemokyim opened this issue 6 years ago • 0 comments
trafficstars

but i don't know how do i do it can i help me?

a = { "medications":[{ "aceInhibitors":[{ "name":"lisinopril", "strength":"10 mg Tab", "dose":"1 tab", "route":"PO", "sig":"daily", "pillCount":"#90", "refills":"Refill 3" }], "antianginal":[{ "name":"nitroglycerin", "strength":"0.4 mg Sublingual Tab", "dose":"1 tab", "route":"SL", "sig":"q15min PRN", "pillCount":"#30", "refills":"Refill 1" }], "anticoagulants":[{ "name":"warfarin sodium", "strength":"3 mg Tab", "dose":"1 tab", "route":"PO", "sig":"daily", "pillCount":"#90", "refills":"Refill 3" }], "betaBlocker":[{ "name":"metoprolol tartrate", "strength":"25 mg Tab", "dose":"1 tab", "route":"PO", "sig":"daily", "pillCount":"#90", "refills":"Refill 3" }], "diuretic":[{ "name":"furosemide", "strength":"40 mg Tab", "dose":"1 tab", "route":"PO", "sig":"daily", "pillCount":"#90", "refills":"Refill 3" }], "mineral":[{ "name":"potassium chloride ER", "strength":"10 mEq Tab", "dose":"1 tab", "route":"PO", "sig":"daily", "pillCount":"#90", "refills":"Refill 3" }] } ], "labs":[{ "name":"Arterial Blood Gas", "time":"Today", "location":"Main Hospital Lab"
}, { "name":"BMP", "time":"Today", "location":"Primary Care Clinic"
}, { "name":"BNP", "time":"3 Weeks", "location":"Primary Care Clinic"
}, { "name":"BUN", "time":"1 Year", "location":"Primary Care Clinic"
}, { "name":"Cardiac Enzymes", "time":"Today", "location":"Primary Care Clinic"
}, { "name":"CBC", "time":"1 Year", "location":"Primary Care Clinic"
}, { "name":"Creatinine", "time":"1 Year", "location":"Main Hospital Lab"
}, { "name":"Electrolyte Panel", "time":"1 Year", "location":"Primary Care Clinic"
}, { "name":"Glucose", "time":"1 Year", "location":"Main Hospital Lab"
}, { "name":"PT/INR", "time":"3 Weeks", "location":"Primary Care Clinic"
}, { "name":"PTT", "time":"3 Weeks", "location":"Coumadin Clinic"
}, { "name":"TSH", "time":"1 Year", "location":"Primary Care Clinic"
} ], "imaging":[{ "name":"Chest X-Ray", "time":"Today", "location":"Main Hospital Radiology"
}, { "name":"Chest X-Ray", "time":"Today", "location":"Main Hospital Radiology"
}, { "name":"Chest X-Ray", "time":"Today", "location":"Main Hospital Radiology"
} ] }

heemokyim avatar Aug 20 '19 08:08 heemokyim