find out mor10l medications type and route of administration.

SELECT PRESCRIPTIONS."DRUG_TYPE",PRESCRIPTIONS."ROUTE" FROM PRESCRIPTIONS WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "MOR10L"

find out mor10l medications type and route of administration .

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN


Find the route of administration for medication with a GELCLAIR drug code.

SELECT PRESCRIPTIONS."ROUTE" FROM PRESCRIPTIONS WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "GELCLAIR"

Find the route of administration for medication with a GELCLAIR drug code .

Answer: ORAL

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: TP

Answer: PO

Answer: ORAL

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: ORAL

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: ORAL

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: TP

Answer: PO

Answer: PO

Answer: TP

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: PO

Answer: ORAL

Answer: PO

Answer: PO

Answer: PO

Answer: PO

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: PO

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: ORAL

Answer: TP

Answer: ORAL


SELECT PRESCRIPTIONS."DRUG_TYPE" FROM PRESCRIPTIONS WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "NALO4I"

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN

Answer: MAIN


SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M"

Answer: 26121


how many patients belong to greek orthodox religion?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."RELIGION" = "GREEK ORTHODOX"

how many patients belong to greek orthodox religion ?

Answer: 326


which patients had emergency hospital admission?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY"

which patients had emergency hospital admission ?

Answer: 32610


how many patients are with private insurance?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Private"

how many patients are with private insurance ?

Answer: 19663


How many of the total number of patients have a black/cape verdean ethnic origin?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "BLACK/CAPE VERDEAN"

How many of the total number of patients have a black/cape verdean ethnic origin ?

Answer: 167


calculate the total number of asian patients.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ETHNICITY" = "ASIAN"

calculate the total number of asian patients .

Answer: 1306


what is the number of patients who are still alive?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."EXPIRE_FLAG" = "0"

what is the number of patients who are still alive ?

Answer: 30761


how many patients were admitted on clinic referral/premature?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_LOCATION" = "CLINIC REFERRAL/PREMATURE"

how many patients were admitted on clinic referral / premature ?

Answer: 10554


how many patients were transferred within this facilty?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_LOCATION" = "TRSF WITHIN THIS FACILITY"

how many patients were transferred within this facilty ?

Answer: 5


count the number of patients who were discharged at home.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DISCHARGE_LOCATION" = "HOME"

count the number of patients who were discharged at home .

Answer: 17019


count the number of patients whose discharge location is dead/expired.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DISCHARGE_LOCATION" = "DEAD/EXPIRED"

count the number of patients whose discharge location is dead / expired .

Answer: 5813


count the number of patients who left the hospital against medical advice.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DISCHARGE_LOCATION" = "LEFT AGAINST MEDICAL ADVI"

count the number of patients who left the hospital against medical advice .

Answer: 305


how many patients are primarily suffering from t5 fracture?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "T5 FRACTURE"

how many patients are primarily suffering from t5 fracture ?

Answer: 1


what is the number of patients suffering from right upper quadrant pain primary disease?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "RUQ PAIN"

what is the number of patients suffering from right upper quadrant pain primary disease ?

Answer: 3


Find out the number of patients with a newborn primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "NEWBORN"

Find out the number of patients with a newborn primary disease .

Answer: 7821


which patients are suffering from pneumonia primary disease?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "PNEUMONIA"

which patients are suffering from pneumonia primary disease ?

Answer: 1419


Calculate the total number of patients who had transient ischemic attack as their primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "TRANSIENT ISCHEMIC ATTACK"

Calculate the total number of patients who had transient ischemic attack as their primary disease .

Answer: 18


how many patients are diagnosed with primary disease bladder cancer/sda?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "BLADDER CANCER/SDA"

how many patients are diagnosed with primary disease bladder cancer / sda ?

Answer: 22


provide the number of patients who are diagnosed with bowel obstruction.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "BOWEL OBSTRUCTION"

provide the number of patients who are diagnosed with bowel obstruction .

Answer: 98


how many patients are with primary disease gangrene?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "GANGRENE"

how many patients are with primary disease gangrene ?

Answer: 12


SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "PITUITARY BLEED"

Answer: 1


tell me the number of patients with coronary artery primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "CORONARY ARTERY DISEASE"

tell me the number of patients with coronary artery primary disease .

Answer: 839


what number of patients have been diagnosed with hyperglycemia?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DIAGNOSIS" = "HYPERGLYCEMIA"

what number of patients have been diagnosed with hyperglycemia ?

Answer: 59


how many patients are below 64 years of age?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."AGE" < "64"

how many patients are below 64 years of age ?

Answer: 25586


tally the number of patients under the age of 27.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."AGE" < "27"

tally the number of patients under the age of 27 .

Answer: 9392


what is the number of patients who were born before 2182?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOB_YEAR" < "2182"

what is the number of patients who were born before 2182 ?

Answer: 45037


give the number of patients who passed away in or before the year 2180.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOD_YEAR" <= "2180.0"

give the number of patients who passed away in or before the year 2180 .

Answer: 12342


tell me the number of patients who were born in or before 2132.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOD_YEAR" <= "2132.0"

tell me the number of patients who were born in or before 2132 .

Answer: 4820


What is the total number of patients who died in or before the year 2111?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."DOD_YEAR" <= "2111.0"

What is the total number of patients who died in or before the year 2111 ?

Answer: 1531


what is the number of patients who have v4364 diagnoses icd9 code?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."ICD9_CODE" = "V4364"

what is the number of patients who have v4364 diagnoses icd9 code ?

Answer: 706


what is the number of patients who have diagnoses icd9 code 2875?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."ICD9_CODE" = "2875"

what is the number of patients who have diagnoses icd9 code 2875 ?

Answer: 2807


how many patients have been diagnosed with unspecified pseudomonas infection?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."SHORT_TITLE" = "Pseudomonas infect NOS"

how many patients have been diagnosed with unspecified pseudomonas infection ?

Answer: 376


provide the number of patients whose diagnosis short title is subarachnoid hemorrhage.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."SHORT_TITLE" = "Subarachnoid hemorrhage"

provide the number of patients whose diagnosis short title is subarachnoid hemorrhage .

Answer: 647


how many patients were diagnosed with urinary incontinence nos?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."SHORT_TITLE" = "Urinary incontinence NOS"

how many patients were diagnosed with urinary incontinence nos ?

Answer: 293


tell me the number of patients who were diagnosed with unspecified cerebral artery occlusion with cerebral infarction.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."SHORT_TITLE" = "Crbl art ocl NOS w infrc"

tell me the number of patients who were diagnosed with unspecified cerebral artery occlusion with cerebral infarction .

Answer: 728


how many patients are diagnosed with secundum atrial septum defect?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."SHORT_TITLE" = "Secundum atrial sept def"

how many patients are diagnosed with secundum atrial septum defect ?

Answer: 621


how many of the patients had other shock without mention of trauma?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."LONG_TITLE" = "Other shock without mention of trauma"

how many of the patients had other shock without mention of trauma ?

Answer: 530


how many patients had the diagnosis long title hemochromatosis due to repeated red blood cell transfusions?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DIAGNOSES."LONG_TITLE" = "Hemochromatosis due to repeated red blood cell transfusions"

how many patients had the diagnosis long title hemochromatosis due to repeated red blood cell transfusions ?

Answer: 2


specify the total number of patients who had icd9 code 4105

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."ICD9_CODE" = "4105"

Answer: 29


what is the total number of patients who had icd9 code 4601

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."ICD9_CODE" = "4601"

Answer: 73


get the number of patients who have procedure icd9 code 3804.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."ICD9_CODE" = "3804"

get the number of patients who have procedure icd9 code 3804 .

Answer: 10


give the number of patients whose procedure short title is cardiac rhythm conv nec.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."SHORT_TITLE" = "Cardiac rhythm conv NEC"

give the number of patients whose procedure short title is cardiac rhythm conv nec .

Answer: 90


calculate the total number of patients who had abdomen artery incision.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."SHORT_TITLE" = "Abdomen artery incision"

calculate the total number of patients who had abdomen artery incision .

Answer: 32


what is the number of patients who underwent radical cystectomy?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."SHORT_TITLE" = "Radical cystectomy"

what is the number of patients who underwent radical cystectomy ?

Answer: 55


which patients had open and other left hemicolectomy?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."SHORT_TITLE" = "Opn lft hemicolectmy NEC"

which patients had open and other left hemicolectomy ?

Answer: 117


how many patients had procedure creation of conduit between left ventricle and aorta?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."LONG_TITLE" = "Creation of conduit between left ventricle and aorta"

how many patients had procedure creation of conduit between left ventricle and aorta ?

Answer: 4


find the number of patients who underwent drug detoxification.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE PROCEDURES."LONG_TITLE" = "Drug detoxification"

find the number of patients who underwent drug detoxification .

Answer: 35


how many patients were treated with diltiazem?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Diltiazem"

how many patients were treated with diltiazem ?

Answer: 3476


how many patients had the drug name hydrocortisone oint 0.5%?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Hydrocortisone Oint 0.5%"

how many patients had the drug name hydrocortisone oint 0.5 % ?

Answer: 13


which patients have prescription for spironolactone medication?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Spironolactone"

which patients have prescription for spironolactone medication ?

Answer: 1738


how any patients have been given nitroglycerin ointment 2%?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Nitroglycerin Ointment  2%"

how any patients have been given nitroglycerin ointment 2 % ?

Answer: 571


specify the total number of patients treated with tizanidine

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Tizanidine"

Answer: 187


how many patients were given the drug ferrous gluconate?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."DRUG" = "Ferrous Gluconate"

how many patients were given the drug ferrous gluconate ?

Answer: 523


how many patients have been prescribed the drug with code pred1?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "PRED1"

how many patients have been prescribed the drug with code pred1 ?

Answer: 215


SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "BACTSS"

Answer: 851


SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "ATRO1I"

how many patients had drug code atro1i ?

Answer: 3500


how many patients have the drug code pant40i?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."FORMULARY_DRUG_CD" = "PANT40I"

how many patients have the drug code pant40i ?

Answer: 13973


what is the number of patients with replaced route of drug administration?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."ROUTE" = "REPLACE"

what is the number of patients with replaced route of drug administration ?

Answer: 800


which patients have buccal route of drug administration?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."ROUTE" = "BUCCAL"

which patients have buccal route of drug administration ?

Answer: 3


how many patients had iv drip drug route?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."ROUTE" = "IV DRIP"

how many patients had iv drip drug route ?

Answer: 25780


Which patients are medicated via tp route?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."ROUTE" = "TP"

Which patients are medicated via tp route ?

Answer: 12600


what is the number of patients whose drug route is dwell?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE PRESCRIPTIONS."ROUTE" = "DWELL"

what is the number of patients whose drug route is dwell ?

Answer: 966


which patients have lab test item id 51200?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51200"

which patients have lab test item i d 51200 ?

Answer: 35491


look for the number of patients who have lab test item id 51214.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51214"

look for the number of patients who have lab test item i d 51214 .

Answer: 15268


give the number of patients whose item id is 51218.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51218"

give the number of patients whose item i d is 51218 .

Answer: 1180


count the number of patients who have lab test item id 51229.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51229"

count the number of patients who have lab test item i d 51229 .

Answer: 254


find out the number of patients with lab test item id 51245.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51245"

find out the number of patients with lab test item i d 51245 .

Answer: 416


count the number of patients whose item id is 51256.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."ITEMID" = "51256"

count the number of patients whose item i d is 51256 .

Answer: 35492


how many patients were tested for triiodothyronine (t3)?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."LABEL" = "Triiodothyronine (T3)"

how many patients were tested for triiodothyronine ( t3 ) ?

Answer: 1137


Which patients were ordered a rbc csf lab test?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."LABEL" = "RBC, CSF"

Which patients were ordered a rbc csf lab test ?

Answer: 2445


find the number of patients who were ordered alanine aminotransferase (alt) lab test.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."LABEL" = "Alanine Aminotransferase (ALT)"

find the number of patients who were ordered alanine aminotransferase ( alt ) lab test .

Answer: 26917


how many patients had their lab test name as mesothelial cells?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."LABEL" = "Mesothelial cells"

how many patients had their lab test name as mesothelial cells ?

Answer: 397


count the number of patients for whom csf lab test was ordered.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE LAB."FLUID" = "Cerebrospinal Fluid (CSF)"

count the number of patients for whom csf lab test was ordered .

Answer: 2478


how many of the unmarried patients belonged to white ethnic origin?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND DEMOGRAPHIC."ETHNICITY" = "WHITE"

how many of the unmarried patients belonged to white ethnic origin ?

Answer: 6512


How many patients are of divorced marital status and with black/african american ethnicity?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "DIVORCED" AND DEMOGRAPHIC."ETHNICITY" = "BLACK/AFRICAN AMERICAN"

How many patients are of divorced marital status and with black/african american ethnicity ?

Answer: 209


give me the number of patients whose marital status is married and ethnicity is asian

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."ETHNICITY" = "ASIAN"

Answer: 389


what is the number of divorced patients who were admitted before 2120?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "DIVORCED" AND DEMOGRAPHIC."ADMITYEAR" < "2120"

what is the number of divorced patients who were admitted before 2120 ?

Answer: 464


Out of total number of patients admitted before 2198, how many of them were married.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DEMOGRAPHIC."ADMITYEAR" < "2198"

Out of total number of patients admitted before 2198 , how many of them were married .

Answer: 17934


how many patients diagnosed under icd9 code 25541 were divorced?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "DIVORCED" AND DIAGNOSES."ICD9_CODE" = "25541"

how many patients diagnosed under icd9 code 25541 were divorced ?

Answer: 12


provide the number of divorced patients who were diagnosed with occlusion and stenosis of carotid artery without mention of cerebral infarction.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "DIVORCED" AND DIAGNOSES."SHORT_TITLE" = "Ocl crtd art wo infrct"

provide the number of divorced patients who were diagnosed with occlusion and stenosis of carotid artery without mention of cerebral infarction .

Answer: 42


count the number of married patients who have acute myocardial infarction of inferolateral wall, initial episode of care diagnoses.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DIAGNOSES."SHORT_TITLE" = "AMI inferolateral, init"

count the number of married patients who have acute myocardial infarction of inferolateral wall , initial episode of care diagnoses .

Answer: 71


find the number of patients who are married and have been diagnosed with pyelonephritis, unspecified.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND DIAGNOSES."LONG_TITLE" = "Pyelonephritis, unspecified"

find the number of patients who are married and have been diagnosed with pyelonephritis , unspecified .

Answer: 40


find me the number of unmarried patients who have 4523 procedure icd9 code.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND PROCEDURES."ICD9_CODE" = "4523"

find me the number of unmarried patients who have 4523 procedure icd9 code .

Answer: 165


what is the number of unmarried patients who have procedure icd9 code 8968?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND PROCEDURES."ICD9_CODE" = "8968"

what is the number of unmarried patients who have procedure icd9 code 8968 ?

Answer: 41


Get me the number of unmarried patients who had tonsil and adenoid biopsy.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND PROCEDURES."SHORT_TITLE" = "Tonsil&adenoid biopsy"

Get me the number of unmarried patients who had tonsil and adenoid biopsy .

Answer: 1


Tell me the number of married patients who underwent a procedure called open heart valvuloplasty of mitral valve without replacement.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "MARRIED" AND PROCEDURES."SHORT_TITLE" = "Opn mitral valvuloplasty"

Tell me the number of married patients who underwent a procedure called open heart valvuloplasty of mitral valve without replacement .

Answer: 251


Provide the number of unmarried patients who have a hematology lab test category.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."MARITAL_STATUS" = "SINGLE" AND LAB."CATEGORY" = "Hematology"

Provide the number of unmarried patients who have a hematology lab test category .

Answer: 9751


get me the number of female patients who had elective hospital admission.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE"

get me the number of female patients who had elective hospital admission .

Answer: 2957


how many female patients had an emergency admission type?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY"

how many female patients had an emergency admission type ?

Answer: 14324


among the total number of urgent admissions, how many of them were male patients?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT"

among the total number of urgent admissions , how many of them were male patients ?

Answer: 720


how many female patients had the insurance self pay?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."INSURANCE" = "Self Pay"

how many female patients had the insurance self pay ?

Answer: 153


how many male patients had medicare insurance?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."INSURANCE" = "Medicare"

how many male patients had medicare insurance ?

Answer: 10923


How many female patients iare of white russian ethnicity?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."ETHNICITY" = "WHITE - RUSSIAN"

How many female patients iare of white russian ethnicity ?

Answer: 66


How many female patients belonged to the white ethnic origin?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."ETHNICITY" = "WHITE"

How many female patients belonged to the white ethnic origin ?

Answer: 14007


find the number of patients who are male and their admission location is clinic referral/premature.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."ADMISSION_LOCATION" = "CLINIC REFERRAL/PREMATURE"

find the number of patients who are male and their admission location is clinic referral / premature .

Answer: 5782


look for the number of female patients who were discharged dead/expired.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "DEAD/EXPIRED"

look for the number of female patients who were discharged dead / expired .

Answer: 2690


provide the number of patients whose diagnoses is lap surg convert to open and they are female.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DIAGNOSIS" = "VENTRICULAR TACHYCARDIA"

provide the number of patients whose diagnoses is lap surg convert to open and they are female .

Answer: 6


find .the number of patients who are female and were diagnosed with transient ischemic attack?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."DIAGNOSIS" = "TRANSIENT ISCHEMIC ATTACK"

find .the number of patients who are female and were diagnosed with transient ischemic attack ?

Answer: 6


how many male patients have copd exacerbation as their primary disease?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DIAGNOSIS" = "COPD EXACERBATION"

how many male patients have copd exacerbation as their primary disease ?

Answer: 24


How many female patients are aged below 43 years?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."AGE" < "43"

How many female patients are aged below 43 years ?

Answer: 5669


tell me the number of female patients who are less than 44 years of age.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "F" AND DEMOGRAPHIC."AGE" < "44"

tell me the number of female patients who are less than 44 years of age .

Answer: 5803


how many of the male patients were aged below 77?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."AGE" < "77"

how many of the male patients were aged below 77 ?

Answer: 21059


how many male patients are less than 79 years of age?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."AGE" < "79"

how many male patients are less than 79 years of age ?

Answer: 21997


how many male patients are below 24 years of age?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."AGE" < "24"

how many male patients are below 24 years of age ?

Answer: 4850


count the number of male patients who were born before 1846.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."GENDER" = "M" AND DEMOGRAPHIC."DOB_YEAR" < "1846"

count the number of male patients who were born before 1846 .

Answer: 306


give me the number of female patients who have diagnosis icd9 code 3572.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND DIAGNOSES."ICD9_CODE" = "3572"

give me the number of female patients who have diagnosis icd9 code 3572 .

Answer: 461


how many female patients have diagnoses icd9 code 99813?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND DIAGNOSES."ICD9_CODE" = "99813"

how many female patients have diagnoses icd9 code 99813 ?

Answer: 37


show me the number of female patients who have been diagnosed with unspecified pneumonia due to staphylococcus.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND DIAGNOSES."SHORT_TITLE" = "Staph pneumonia NEC"

show me the number of female patients who have been diagnosed with unspecified pneumonia due to staphylococcus .

Answer: 5


how many female patients had the procedure icd9 code 5771?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND PROCEDURES."ICD9_CODE" = "5771"

how many female patients had the procedure icd9 code 5771 ?

Answer: 6


How many male patients had icd9 code 8842?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND PROCEDURES."ICD9_CODE" = "8842"

How many male patients had icd9 code 8842 ?

Answer: 432


how many male patients had the procedure icd9 code 9703?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND PROCEDURES."ICD9_CODE" = "9703"

how many male patients had the procedure icd9 code 9703 ?

Answer: 25


how many female patients have undergone drug detoxification as their procedure short title?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND PROCEDURES."SHORT_TITLE" = "Drug detoxification"

how many female patients have undergone drug detoxification as their procedure short title ?

Answer: 14


how many male patients had open and other replacement of aortic valve with tissue graft procedure?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND PROCEDURES."LONG_TITLE" = "Open and other replacement of aortic valve with tissue graft"

how many male patients had open and other replacement of aortic valve with tissue graft procedure ?

Answer: 816


among patients treated with amitriptyline, calculate the number of female patients.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND PRESCRIPTIONS."DRUG" = "Amitriptyline"

among patients treated with amitriptyline , calculate the number of female patients .

Answer: 154


How many female patients use a drug named theophylline sr?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "F" AND PRESCRIPTIONS."DRUG" = "Theophylline SR"

How many female patients use a drug named theophylline sr ?

Answer: 41


Find out the number of male patients who have an arip10 drug code.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND PRESCRIPTIONS."FORMULARY_DRUG_CD" = "ARIP10"

Find out the number of male patients who have an arip10 drug code .

Answer: 50


how many male patients have lab test item id 51146?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND LAB."ITEMID" = "51146"

how many male patients have lab test item i d 51146 ?

Answer: 19368


Specify the total number of male patients with item id 51148

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND LAB."ITEMID" = "51148"

Answer: 183


how many male patients had the lab test for amylase?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND LAB."LABEL" = "Amylase"

how many male patients had the lab test for amylase ?

Answer: 9441


give me the number of  male patients whose lab test name is ptt.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND LAB."LABEL" = "PTT"

give me the number of male patients whose lab test name is ptt .

Answer: 21266


how many male patients had the lab test name potassium, whole blood?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."GENDER" = "M" AND LAB."LABEL" = "Potassium, Whole Blood"

how many male patients had the lab test name potassium , whole blood ?

Answer: 14770


give the number of paitents whose language is russian and discharge location is disc-tran cancer/chldrn h.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "RUSS" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "DISC-TRAN CANCER/CHLDRN H"

give the number of paitents whose language is russian and discharge location is disc - tran cancer / chldrn h.

Answer: 10


what number of patients under the gae of 67 speak the language cape?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "CAPE" AND DEMOGRAPHIC."AGE" < "67"

what number of patients under the gae of 67 speak the language cape ?

Answer: 102


how many patients speak cape language and are under 71 years of age?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "CAPE" AND DEMOGRAPHIC."AGE" < "71"

how many patients speak cape language and are under 71 years of age ?

Answer: 115


provide the number of patients aged below 76 years whose language is spanish.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "SPAN" AND DEMOGRAPHIC."AGE" < "76"

provide the number of patients aged below 76 years whose language is spanish .

Answer: 664


What is the number of patients younger than 31 years who prefer english?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "ENGL" AND DEMOGRAPHIC."AGE" < "31"

What is the number of patients younger than 31 years who prefer english ?

Answer: 1364


how many portuguese speaking patients stayed in hospital for more than 3 days?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "PORT" AND DEMOGRAPHIC."DAYS_STAY" > "3"

how many portuguese speaking patients stayed in hospital for more than 3 days ?

Answer: 226


Give me the list of patients born before 2071 who prefer spanish.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "SPAN" AND DEMOGRAPHIC."DOB_YEAR" < "2071"

Give me the list of patients born before 2071 who prefer spanish .

Answer: 233


how many patients born before the year 2066 speaks the language ptun?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "PTUN" AND DEMOGRAPHIC."DOB_YEAR" < "2066"

how many patients born before the year 2066 speaks the language ptun ?

Answer: 194


How many patients whose language is ptun died in or before 2138?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."LANGUAGE" = "PTUN" AND DEMOGRAPHIC."DOD_YEAR" <= "2138.0"

How many patients whose language is ptun died in or before 2138 ?

Answer: 99


how many of the catholic patients were aged below 45?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."RELIGION" = "CATHOLIC" AND DEMOGRAPHIC."AGE" < "45"

how many of the catholic patients were aged below 45 ?

Answer: 3680


find the number of greek orthodox religious background patients who were born before 2085.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."RELIGION" = "GREEK ORTHODOX" AND DEMOGRAPHIC."DOB_YEAR" < "2085"

find the number of greek orthodox religious background patients who were born before 2085 .

Answer: 158


how many patients born before the year 1846 followed the catholic religion?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."RELIGION" = "CATHOLIC" AND DEMOGRAPHIC."DOB_YEAR" < "1846"

how many patients born before the year 1846 followed the catholic religion ?

Answer: 198


give me the number of government health insurance patients who had elective hospital admission.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."INSURANCE" = "Government"

give me the number of government health insurance patients who had elective hospital admission .

Answer: 135


how many elective hospital admission patients have medicaid health insurance?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."INSURANCE" = "Medicaid"

how many elective hospital admission patients have medicaid health insurance ?

Answer: 393


tell me the number of newborn admitted patients who have self pay insurance.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "NEWBORN" AND DEMOGRAPHIC."INSURANCE" = "Self Pay"

tell me the number of newborn admitted patients who have self pay insurance .

Answer: 36


how many patients admitted under emergency admission type are of hispanic/latino - puertorican ethnicity?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."ETHNICITY" = "HISPANIC/LATINO - PUERTO RICAN"

how many patients admitted under emergency admission type are of hispanic/latino - puertorican ethnicity ?

Answer: 128


How many patients with an elective admission type were discharged at home health care?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."DISCHARGE_LOCATION" = "HOME HEALTH CARE"

How many patients with an elective admission type were discharged at home health care ?

Answer: 3327


get me the number of elective hospital admission patients who had coronary artery primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."DIAGNOSIS" = "CORONARY ARTERY DISEASE"

get me the number of elective hospital admission patients who had coronary artery primary disease .

Answer: 9


give the number of patients whose admission type is elective and primary disease is abdominal abscess.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."DIAGNOSIS" = "ABDOMINAL ABSCESS"

give the number of patients whose admission type is elective and primary disease is abdominal abscess .

Answer: 0


count the number of emergency hospital admission patients who have gangrene primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."DIAGNOSIS" = "GANGRENE"

count the number of emergency hospital admission patients who have gangrene primary disease .

Answer: 6


how many patients are admitted under emergency and diagnosed with primary disease coronary artery disease or coronary artery bypass graft with mvr maze?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."DIAGNOSIS" = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE"

how many patients are admitted under emergency and diagnosed with primary disease coronary artery disease or coronary artery bypass graft with mvr maze ?

Answer: 0


count the number of newborn admission patients who have more than 10 days of hospital stay.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "NEWBORN" AND DEMOGRAPHIC."DAYS_STAY" > "10"

count the number of newborn admission patients who have more than 10 days of hospital stay .

Answer: 1816


provide the number of patients admitted in urgent care who were born before 2074.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DEMOGRAPHIC."DOB_YEAR" < "2074"

provide the number of patients admitted in urgent care who were born before 2074 .

Answer: 492


how many elective hospital admission patients were born before the year 2076?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."DOB_YEAR" < "2076"

how many elective hospital admission patients were born before the year 2076 ?

Answer: 2811


what is the number of patients whose admission type is emergency and born before 2066?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."DOB_YEAR" < "2066"

what is the number of patients whose admission type is emergency and born before 2066 ?

Answer: 10497


count the number of patients whose admission type is urgent and who were admitted before 2190.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DEMOGRAPHIC."ADMITYEAR" < "2190"

count the number of patients whose admission type is urgent and who were admitted before 2190 .

Answer: 1167


find the number of urgent hospital admission patients before the year 2194.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DEMOGRAPHIC."ADMITYEAR" < "2194"

find the number of urgent hospital admission patients before the year 2194 .

Answer: 1223


Calculate the total number of patients on elective admission before the year 2108

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DEMOGRAPHIC."ADMITYEAR" < "2108"

Answer: 531


how many patients are admitted in emergency and admitted before the year 2163?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DEMOGRAPHIC."ADMITYEAR" < "2163"

how many patients are admitted in emergency and admitted before the year 2163 ?

Answer: 20197


what is the number of emergency room admitted patients who have diagnosis icd9 code e8798?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND DIAGNOSES."ICD9_CODE" = "E8798"

what is the number of emergency room admitted patients who have diagnosis icd9 code e8798 ?

Answer: 1235


what is the number of elective hospital admission patients who have diagnoses icd9 code v453?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND DIAGNOSES."ICD9_CODE" = "V453"

what is the number of elective hospital admission patients who have diagnoses icd9 code v453 ?

Answer: 20


how many patients admitted on urgent basis have diagnoses icd9 code 2948?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DIAGNOSES."ICD9_CODE" = "2948"

how many patients admitted on urgent basis have diagnoses icd9 code 2948 ?

Answer: 14


find the number of urgent hospital admission patients who have acute salpingitis and oophoritis diagnoses.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DIAGNOSES."LONG_TITLE" = "Acute salpingitis and oophoritis"

find the number of urgent hospital admission patients who have acute salpingitis and oophoritis diagnoses .

Answer: 1


how many patients on urgent admission were diagnosed with ostium secundum type atrial septal defect?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND DIAGNOSES."LONG_TITLE" = "Ostium secundum type atrial septal defect"

how many patients on urgent admission were diagnosed with ostium secundum type atrial septal defect ?

Answer: 14


provide the number of patients whose admission type is urgent and procedure icd9 code is 17.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PROCEDURES."ICD9_CODE" = "17"

provide the number of patients whose admission type is urgent and procedure icd9 code is 17 .

Answer: 0


provide the number of patients with elective admission type under procedure icd9 code 540.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND PROCEDURES."ICD9_CODE" = "540"

provide the number of patients with elective admission type under procedure icd9 code 540 .

Answer: 16


count the number of emergency hospital admission patients who had procedure icd9 code 331.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PROCEDURES."ICD9_CODE" = "331"

count the number of emergency hospital admission patients who had procedure icd9 code 331 .

Answer: 3


how many of the patients had abdomen artery incision on urgent admission?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PROCEDURES."SHORT_TITLE" = "Abdomen artery incision"

how many of the patients had abdomen artery incision on urgent admission ?

Answer: 0


How many patients were admitted urgently and had the formation of cutaneous uretero-ileostomy procedure?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PROCEDURES."SHORT_TITLE" = "Form cutan ileoureterost"

How many patients were admitted urgently and had the formation of cutaneous uretero-ileostomy procedure ?

Answer: 0


how many patients are admitted under urgent admission type and underwent percu gastrojejunostomy?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PROCEDURES."SHORT_TITLE" = "Percu gastrojejunostomy"

how many patients are admitted under urgent admission type and underwent percu gastrojejunostomy ?

Answer: 9


give me the number of emergency hospital admission patients who had insertion of 2 vascular stents.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PROCEDURES."SHORT_TITLE" = "Insert 2 vascular stents"

give me the number of emergency hospital admission patients who had insertion of 2 vascular stents .

Answer: 374


specify the total number of patients who had urgent admission due to venous catheterization for renal dialysis

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PROCEDURES."LONG_TITLE" = "Venous catheterization for renal dialysis"

Answer: 45


count the number of patients whose admission type is elective and procedure long title is attachment of pedicle or flap graft to other sites.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND PROCEDURES."LONG_TITLE" = "Attachment of pedicle or flap graft to other sites"

count the number of patients whose admission type is elective and procedure long title is attachment of pedicle or flap graft to other sites .

Answer: 48


how many patients with  elective admission type had the procedure titled other operations on heart and pericardium?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND PROCEDURES."LONG_TITLE" = "Other operations on heart and pericardium"

how many patients with elective admission type had the procedure titled other operations on heart and pericardium ?

Answer: 30


count the number of emergency hospital admission patients who are taking main drug type prescription.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PRESCRIPTIONS."DRUG_TYPE" = "MAIN"

count the number of emergency hospital admission patients who are taking main drug type prescription .

Answer: 30393


let me know the number of emergency hospital admission patients who have docusate sodium prescription.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PRESCRIPTIONS."DRUG" = "Docusate Sodium"

let me know the number of emergency hospital admission patients who have docusate sodium prescription .

Answer: 18946


To how many patients on urgent admission were d5w (excel bag) administered?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PRESCRIPTIONS."DRUG" = "D5W (EXCEL BAG)"

To how many patients on urgent admission were d5w ( excel bag ) administered ?

Answer: 64


find the number of patients admitted in emergency whose drug code is glyc1r.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PRESCRIPTIONS."FORMULARY_DRUG_CD" = "GLYC1R"

find the number of patients admitted in emergency whose drug code is glyc1r .

Answer: 8


what number of patients admitted in emergency had drug code enox80i?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND PRESCRIPTIONS."FORMULARY_DRUG_CD" = "ENOX80I"

what number of patients admitted in emergency had drug code enox80i ?

Answer: 703


what number of patients admitted in urgent care had their route mentioned as ivpca?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PRESCRIPTIONS."ROUTE" = "IVPCA"

what number of patients admitted in urgent care had their route mentioned as ivpca ?

Answer: 76


How many of the patients on urgent admission had Neb drug route?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PRESCRIPTIONS."ROUTE" = "NEB"

How many of the patients on urgent admission had Neb drug route ?

Answer: 21


give me the number of urgent hospital admission patients who have replaced route of drug administration.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PRESCRIPTIONS on DEMOGRAPHIC.HADM_ID = PRESCRIPTIONS.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND PRESCRIPTIONS."ROUTE" = "REPLACE"

give me the number of urgent hospital admission patients who have replaced route of drug administration .

Answer: 17


how many of the patients on elective admission had item id 51257?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "ELECTIVE" AND LAB."ITEMID" = "51257"

how many of the patients on elective admission had item i d 51257 ?

Answer: 149


how many of the patients admitted to emergency had a lab test for magnesium level?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "EMERGENCY" AND LAB."LABEL" = "Magnesium"

how many of the patients admitted to emergency had a lab test for magnesium level ?

Answer: 31782


what is the number of urgent hospital admission patients for whom joint fluid lab test was ordered?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND LAB."FLUID" = "Joint Fluid"

what is the number of urgent hospital admission patients for whom joint fluid lab test was ordered ?

Answer: 6


count the number of patients whose admission type is urgent and lab test category is chemistry.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN LAB on DEMOGRAPHIC.HADM_ID = LAB.HADM_ID WHERE DEMOGRAPHIC."ADMISSION_TYPE" = "URGENT" AND LAB."CATEGORY" = "Chemistry"

count the number of patients whose admission type is urgent and lab test category is chemistry .

Answer: 1246


get me the number of private insurance patients who had phys referral/normal deli admission.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DEMOGRAPHIC."ADMISSION_LOCATION" = "PHYS REFERRAL/NORMAL DELI"

get me the number of private insurance patients who had phys referral / normal deli admission .

Answer: 8090


count the number of medicaid patients who have bradycardia primary disease.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND DEMOGRAPHIC."DIAGNOSIS" = "BRADYCARDIA"

count the number of medicaid patients who have bradycardia primary disease .

Answer: 7


provide the number of self pay insurance patients who were hospitalized for more than 23 days.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DEMOGRAPHIC."DAYS_STAY" > "23"

provide the number of self pay insurance patients who were hospitalized for more than 23 days .

Answer: 22


count the number of self pay insurance patients who were hospitalized for more than 27 days in hospital.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DEMOGRAPHIC."DAYS_STAY" > "27"

count the number of self pay insurance patients who were hospitalized for more than 27 days in hospital .

Answer: 14


get me the number of patients with self pay health insurance who were hospitalized for more than 29 days.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DEMOGRAPHIC."DAYS_STAY" > "29"

get me the number of patients with self pay health insurance who were hospitalized for more than 29 days .

Answer: 11


how many patients are with private insurance and born before 1887?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DEMOGRAPHIC."DOB_YEAR" < "1887"

how many patients are with private insurance and born before 1887 ?

Answer: 60


how many patients have a medicare insurance policy and diagnosis icd9 code is 4168?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Medicare" AND DIAGNOSES."ICD9_CODE" = "4168"

how many patients have a medicare insurance policy and diagnosis icd9 code is 4168 ?

Answer: 1276


what is the number of patients whose insurance is self pay and with diagnosis icd9 code 430?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DIAGNOSES."ICD9_CODE" = "430"

what is the number of patients whose insurance is self pay and with diagnosis icd9 code 430 ?

Answer: 13


find the number of patients whose insurance is private and diagnoses icd9 code is 2769.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DIAGNOSES."ICD9_CODE" = "2769"

find the number of patients whose insurance is private and diagnoses icd9 code is 2769 .

Answer: 29


let me know the number of patients who have self pay insurance with diagnoses icd9 code 33829.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DIAGNOSES."ICD9_CODE" = "33829"

let me know the number of patients who have self pay insurance with diagnoses icd9 code 33829 .

Answer: 3


provide the number of patients whose insurance is self pay and whose diagnosis short title is hx of gi malignancy nos.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DIAGNOSES."SHORT_TITLE" = "Hx of GI malignancy NOS"

provide the number of patients whose insurance is self pay and whose diagnosis short title is hx of gi malignancy nos .

Answer: 0


how many of the patients on self pay had coronary athrscl natve vessel?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DIAGNOSES."SHORT_TITLE" = "Crnry athrscl natve vssl"

how many of the patients on self pay had coronary athrscl natve vessel ?

Answer: 48


tell me the number of private health insurance patients who have infectious mononucleosis diagnoses.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DIAGNOSES."LONG_TITLE" = "Infectious mononucleosis"

tell me the number of private health insurance patients who have infectious mononucleosis diagnoses .

Answer: 6


how many patients with tietze's disease are insured by the government?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Government" AND DIAGNOSES."LONG_TITLE" = "Tietze's disease"

how many patients with tietze 's disease are insured by the government ?

Answer: 1


provide the number of patients whose insurance is private and diagnosis long title is hematoma complicating a procedure.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DIAGNOSES."LONG_TITLE" = "Hematoma complicating a procedure"

provide the number of patients whose insurance is private and diagnosis long title is hematoma complicating a procedure .

Answer: 346


find the number of medicaid patients who are diagnosed with acute on chronic systolic heart failure.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND DIAGNOSES."LONG_TITLE" = "Acute on chronic systolic heart failure"

find the number of medicaid patients who are diagnosed with acute on chronic systolic heart failure .

Answer: 47


how many patients posses self pay insurance and were diagnosed with blood in stool?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Self Pay" AND DIAGNOSES."LONG_TITLE" = "Blood in stool"

how many patients posses self pay insurance and were diagnosed with blood in stool ?

Answer: 3


how many patients with a private insurance had the diagnosis long title paraplegia?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN DIAGNOSES on DEMOGRAPHIC.HADM_ID = DIAGNOSES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND DIAGNOSES."LONG_TITLE" = "Paraplegia"

how many patients with a private insurance had the diagnosis long title paraplegia ?

Answer: 46


give me the number of private insurance patients who have procedure icd9 code 8960.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND PROCEDURES."ICD9_CODE" = "8960"

give me the number of private insurance patients who have procedure icd9 code 8960 .

Answer: 98


how many patients posses private insurance and followed the procedure icd9 code 8847?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND PROCEDURES."ICD9_CODE" = "8847"

how many patients posses private insurance and followed the procedure icd9 code 8847 ?

Answer: 208


how many of the patients on government insurance had icd9 code 2219?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Government" AND PROCEDURES."ICD9_CODE" = "2219"

how many of the patients on government insurance had icd9 code 2219 ?

Answer: 0


how many of the patients on medicaid insurance had icd9 code 331?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND PROCEDURES."ICD9_CODE" = "331"

how many of the patients on medicaid insurance had icd9 code 331 ?

Answer: 0


what is the number of medicaid patients who have procedure icd9 code 7761?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Medicaid" AND PROCEDURES."ICD9_CODE" = "7761"

what is the number of medicaid patients who have procedure icd9 code 7761 ?

Answer: 6


what is the number of medicare patients who have procedure icd9 code 9703?

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Medicare" AND PROCEDURES."ICD9_CODE" = "9703"

what is the number of medicare patients who have procedure icd9 code 9703 ?

Answer: 29


provide the number of private insurance patients who had incision of abdomen artery.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND PROCEDURES."SHORT_TITLE" = "Abdomen artery incision"

provide the number of private insurance patients who had incision of abdomen artery .

Answer: 9


provide the number of patients whose insurance is private and procedure short title is remov biliary/liver tube.

SELECT COUNT ( DISTINCT DEMOGRAPHIC."SUBJECT_ID" ) FROM DEMOGRAPHIC INNER JOIN PROCEDURES on DEMOGRAPHIC.HADM_ID = PROCEDURES.HADM_ID WHERE DEMOGRAPHIC."INSURANCE" = "Private" AND PROCEDURES."SHORT_TITLE" = "Remov biliary/liver tube"

provide the number of patients whose insurance is private and procedure short title is remov biliary / liver tube .

Answer: 18