难以获得多个结果。我可以通过对 API 端点的几次调用来实现我想要的,但我想确保我没有遗漏任何东西。
Endpoint: https://data.cms.gov/resource/vzbp-x4iv.json
我将它用于多个代码,但只有一个状态,它工作正常。
https://data.cms.gov/resource/vzbp-x4iv.json?$$app_token=XXX&$where=hcpcs%20in(%27CODE1%27,%27CODE2%27)&referring_provider_state=Ohio
在 SQL 中,我会将其写为...
SELECT ...
FROM hcpcs
LEFT JOIN referral_state ...
WHERE hcpcs in ('code1', 'code2')
AND (referral_state = 'State1'
OR referral_state = 'state2'
OR referral_state = 'state3 ... )