Skip to content
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

_revinclude results need entry.search.mode "include" #209

Closed
jmandel opened this Issue Aug 22, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@jmandel
Copy link
Contributor

jmandel commented Aug 22, 2015

Currently they have search.mode of match.

E.g. http://fhirtest.uhn.ca/baseDstu2/Patient?_id=3633&_revinclude=Condition:patient

returns entries like the following.

     {
            "resource":{
                "resourceType":"Condition",
                "id":"2511",
                "meta":{
                    "versionId":"2",
                    "lastUpdated":"2015-07-16T15:57:24.091-04:00"
                },
                "language":[
                    "3Vf9lD4km0UBj68K2mT1"
                ],
                "text":{
                    "status":"generated",
                    "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">Ischemic stroke, July 18, 2010</div>"
                },
                "patient":{
                    "reference":"Patient/3633"
                },
                "code":{
                    "coding":[
                        {
                            "system":"http://snomed.info/sct",
                            "code":"422504002",
                            "display":"Ischemic stroke (disorder)"
                        }
                    ],
                    "text":"Stroke"
                },
                "category":{
                    "coding":[
                        {
                            "system":"http://hl7.org/fhir/condition-category",
                            "code":"diagnosis",
                            "display":"Diagnosis"
                        }
                    ]
                },
                "clinicalStatus":"entered-in-error",
                "onsetDateTime":"2010-07-18",
                "notes":"RjY0_NVpcaEW2R7QNeLgWw"
            },
            "search":{
                "mode":"match"
            }
        },

@jmandel jmandel changed the title _revinclude results should set entry.search.mode to "include" _revinclude results need entry.search.mode "include" Aug 22, 2015

@jamesagnew

This comment has been minimized.

Copy link
Owner

jamesagnew commented Aug 24, 2015

Thanks for reporting! Will be committing a fix shortly, and deploying it to the test server later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.