lbeagleeyes / IDBug

Medical app to get diagnosis and look for doctors nearby
https://lbeagleeyes.github.io/IDBug/
3 stars 3 forks source link

US3 - Retrieve doctors #5

Closed lbeagleeyes closed 5 years ago

lbeagleeyes commented 5 years ago

User Story

As a patient, I want to know the doctors for the specialization I need, near me, so that I can quickly get the care I need.

Acceptance Criteria

sewon-park commented 5 years ago

API key: 7e08d09b7f6c0a16e0d23968b6669bd7

sewon-park commented 5 years ago

Sample response: { "meta": { "data_type": "array", "item_type": "Practice", "total": 9912, "count": 10, "skip": 0, "limit": 10 }, "data": [ { "location_slug": "wa-seattle", "within_search_area": true, "distance": 3.429396527926138, "lat": 47.65136, "lon": -122.309238, "uid": "09bf2827ccad414e5e740c15a66f8bb7", "name": "Douglas Opel, MD", "accepts_new_patients": true, "insurance_uids": [ "multiplan-phcsppo", "multiplan-multiplanppo", "firstchoice-firstchoice", "bcbsbluecard-bcbsbluecardppo", "cigna-cignaopenaccessplus", "aetna-aetnachoiceposii", "aetna-aetnasignatureadministratorsppo", "cigna-cignappo", "cigna-cignahmo", "providencehealthsystem-providencepersonaloption", "regenceblueshieldofwashinton-regencewapreferredprovidernetwork", "premerabluecross-premeraheritagesignature", "premerabluecross-premeralifewiseconnect", "gwhcigna-greatwestppo", "unitedhealthcare-uhcchoicepluspos", "unitedhealthcare-uhcnavigatehmo", "unitedhealthcare-uhcnavigatepos", "unitedhealthcare-uhcoptionsppo", "grouphealthcooperative-grouphealthcoopalliantplusconnect", "grouphealthcooperative-grouphealthcoopcore" ], "visit_address": { "city": "Seattle", "lat": 47.65136, "lon": -122.309238, "state": "WA", "state_long": "Washington", "street": "1959 NE Pacific St", "zip": "98195" }, "office_hours": [], "phones": [ { "number": "2065432470", "type": "landline" } ], "languages": [ { "name": "English", "code": "en" } ], "total_doctors": 3, "doctors_pagination_url": "https://api.betterdoctor.com/2016-03-01/practices/09bf2827ccad414e5e740c15a66f8bb7/doctors", "doctors": [ { "educations": [], "profile": { "first_name": "Courtney", "last_name": "Plitt", "slug": "courtney-plitt-arnp", "title": "ARNP", "image_url": "https://asset2.betterdoctor.com/assets/general_doctor_female.png", "gender": "female", "languages": [ { "name": "English", "code": "en" } ], "bio": "Dr. Courtney Plitt, ARNP sees patients in Seattle, Washington, specializing in family nurse practitioner, family psychology, surgery, nurse practitioner, and primary care nurse practitioner.\n\nDr. Plitt is licensed to treat patients in Washington.\n\nDr. Plitt has successfully passed a background check including a medical license verification (active) and screening for malpractice history (none found)." }, "ratings": [], "insurances": [], "specialties": [ { "uid": "family-nurse-practitioner", "name": "Family Nurse Practitioner", "description": "Specializes in your and your family's health.", "category": "medical", "actor": "Family Nurse Practitoner", "actors": "Family Nurse Practitoners" } ], "licenses": [ { "number": "60233492", "state": "WA" } ], "uid": "e0e9e760c9162e244ae899b8fa040d38", "npi": "1740562420" }, { "educations": [], "profile": { "first_name": "Louis", "last_name": "Jacobson", "slug": "louis-jacobson-md", "title": "MD", "image_url": "https://asset1.betterdoctor.com/assets/general_doctor_male.png", "gender": "male", "languages": [ { "name": "English", "code": "en" } ], "bio": "Dr. Louis Jacobson, MD--specialist in pain medicine--currently treats patients in Tacoma, Washington and Kent, Washington.\n\nDr. Jacobson is licensed to treat patients in Washington.\n\nIn addition to having active medical licenses, Dr. Jacobson has been found during an automated background check to be clear of any malpractice history and holds one or more active medical licenses." }, "ratings": [], "insurances": [], "specialties": [ { "uid": "pain-management-doctor", "name": "Pain Medicine", "description": "Specializes in pain management and prevention.", "category": "medical", "actor": "Pain Management Doctor", "actors": "Pain Management Doctors" } ], "claims": [ { "hcpcs": "20553", "hcpcs_description": "Injection, single or multiple trigger points, 3 or more muscles", "service_cnt": 109, "bene_uniq_cnt": 12, "avg_allowed_amt": 66.82, "avg_charge_amt": 130, "avg_payment_amt": 51.498165138 }, { "hcpcs": "99214", "hcpcs_description": "Office / outpatient visit, established patient, 25 minutes", "service_cnt": 80, "bene_uniq_cnt": 48, "avg_allowed_amt": 112.18, "avg_charge_amt": 211, "avg_payment_amt": 78.973375 }, { "hcpcs": "77003", "hcpcs_description": "Fluoroscopic guidance and localization of needle or catheter tip for spine", "service_cnt": 79, "bene_uniq_cnt": 38, "avg_allowed_amt": 31.57, "avg_charge_amt": 135.08860759, "avg_payment_amt": 24.125189873 }, { "hcpcs": "62311", "hcpcs_description": "Inject spine, lumbar / sacral (caudal)", "service_cnt": 62, "bene_uniq_cnt": 31, "avg_allowed_amt": 86.38983871, "avg_charge_amt": 566.12903226, "avg_payment_amt": 64.216612903 }, { "hcpcs": "99144", "hcpcs_description": "Moderate sedation services, for patient 5 years and older, first 30 minutes", "service_cnt": 46, "bene_uniq_cnt": 22, "avg_allowed_amt": 31.08, "avg_charge_amt": 197.26086957, "avg_payment_amt": 24.053913043 }, { "hcpcs": "99214", "hcpcs_description": "Office / outpatient visit, established patient, 25 minutes", "service_cnt": 41, "bene_uniq_cnt": 32, "avg_allowed_amt": 80.25, "avg_charge_amt": 200, "avg_payment_amt": 63.149268293 }, { "hcpcs": "99205", "hcpcs_description": "Office / outpatient visit, new patient, 60 minutes", "service_cnt": 40, "bene_uniq_cnt": 40, "avg_allowed_amt": 212.93, "avg_charge_amt": 408, "avg_payment_amt": 156.63375 }, { "hcpcs": "99204", "hcpcs_description": "Office / outpatient visit, new patient, 45 minutes", "service_cnt": 28, "bene_uniq_cnt": 28, "avg_allowed_amt": 133.34, "avg_charge_amt": 390, "avg_payment_amt": 106.67 }, { "hcpcs": "64483", "hcpcs_description": "Injection foramen epidural, lumbar or sacral", "service_cnt": 19, "bene_uniq_cnt": 11, "avg_allowed_amt": 108.49578947, "avg_charge_amt": 656.63157895, "avg_payment_amt": 86.793684211 }, { "hcpcs": "99213", "hcpcs_description": "Office / outpatient visit, established patient, 15 minutes", "service_cnt": 15, "bene_uniq_cnt": 12, "avg_allowed_amt": 52.3, "avg_charge_amt": 160, "avg_payment_amt": 33.472 }, { "hcpcs": "99205", "hcpcs_description": "Office / outpatient visit, new patient, 60 minutes", "service_cnt": 12, "bene_uniq_cnt": 12, "avg_allowed_amt": 170.87, "avg_charge_amt": 490, "avg_payment_amt": 136.7 } ], "licenses": [ { "number": "MD00020499", "state": "WA" } ], "uid": "af6e4ee56b6c5d99dfb12c306bcc60b4", "npi": "1275625857" }, { "educations": [ { "school": "University Of Wa School Of Med", "degree": "residency" } ], "profile": { "first_name": "Douglas", "middle_name": "J.", "last_name": "Opel", "slug": "douglas-opel", "title": "MD", "image_url": "https://asset2.betterdoctor.com/assets/general_doctor_male.png", "gender": "male", "languages": [ { "name": "English", "code": "en" } ], "bio": "Dr. Douglas Opel, MD--specialist in pediatrics--currently sees patients in Bellevue, Washington.\n\nDr. Opel is licensed to treat patients in Washington.\n\nDr. Opel has been found to hold one or more active medical licenses, and successfully passed a malpractice history screening." }, "ratings": [], "insurances": [], "specialties": [ { "uid": "pediatrician", "name": "Pediatrics", "description": "Specializes in the health of children from birth to young adulthood.", "category": "medical", "actor": "Pediatrician", "actors": "Pediatricians" } ], "licenses": [ { "number": "MD00045369", "state": "WA" } ], "uid": "939f2227c1631d27a9eda075b34f12f4", "npi": "1063593317" } ] },