New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle batch GET call not returning expected response #822

manjusampath opened this Issue Jan 10, 2018 · 0 comments


None yet
1 participant

manjusampath commented Jan 10, 2018

  1. Created patient with id -P3000254749.

  2. Created few medications. - NDC code: 00093-0058-05 - NDC code: 50580-0449-23 - NDC code: 00555-0833-02

  3. Created one MedicationRequest for the each of the above Medications.

  4. When we use bundle batch to make a GET call of MedicationRequest with MRN and NDC code.
    For the below call we expect only one MedicationRequest in the response, but it gives back all 3 MedicationRequest of the patient in the response
    Method: POST
    Request Body:
    "resourceType": "Bundle",
    "id": "bundle-batch",
    "type": "batch",
    "entry": [

     	"fullUrl": "urn:uuid:61ebe359-bfdc-4613-8bf2-c5e300945f0z",
     	"request": {
     		"method": "GET",
     		"url": "MedicationRequest?intent=plan,order&medication.code=50580-0449-23&patient=P3000254749"


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment