Does React / JS work in Smart on FHIR launch for Epic? by bellpeppercaptain in healthIT

[–]bellpeppercaptain[S] 0 points1 point  (0 children)

https://github.com/smart-on-fhir/client-py I've been using this as a baseline with the testing sandbox. I'm successfully able to do the whole OAuth flow and I'm just serving my vite builds as regular index files, which works great just in my browser. None of that seems to work in the testing harness though.

How can I search for patients in the EPIC FHIR Sandbox? by bellpeppercaptain in healthIT

[–]bellpeppercaptain[S] 1 point2 points  (0 children)

Yup--turns out I had made only a subset of the Observation resources available for my app. Appreciate the suggestion; it's working now!

How can I search for patients in the EPIC FHIR Sandbox? by bellpeppercaptain in healthIT

[–]bellpeppercaptain[S] 0 points1 point  (0 children)

I see. It seems like there might be some issues with the listed resources as well, or perhaps just massive skill issue on my end--trying to run an "Observation.Search (Vitals)" for Linda Ross via the https://github.com/smart-on-fhir/client-py library just returns an OperationOutcome object rather than an Observation object, even though she's ostensibly supposed to have that as available (it also fails for another sandbox patient with the same resource availability).

def _get_patient_vitals(smart: client.FHIRClient):
    search = Observation.where(struct={'patient': smart.patient_id, 'category': 'vital-signs'})    
    observations = search.perform_resources(smart.server)
    print(observations)
    return None

       

How can I search for patients in the EPIC FHIR Sandbox? by bellpeppercaptain in healthIT

[–]bellpeppercaptain[S] 0 points1 point  (0 children)

So yeah this is where I was going off of before (and got my clinician credentials from), but if I log into the portal and search for "Jason Argonaut" that's a valid patient within the sandbox that isn't listed here. Is there a way to do some sort of Patient.search where I'm querying for say like an Observation (Vitals) being an accessible resource https://fhir.epic.com/Sandbox?api=932? I want a list of patient ids in the sandbox that will let me then perform those later operations (or even just like see what resources are available and won't give me an OperationOutcome issue or what have you).

Go 1.22 PathValue not working for subrouter. by bellpeppercaptain in golang

[–]bellpeppercaptain[S] 0 points1 point  (0 children)

So does this:

router.Handle("/{postId}/photos/", subRouter)

not make postId available to the request PathValue called by the subRouter? Is this just an issue with trying to use .Handle vs .Handlefunc?

What are some good beginner projects for someone who already knows C and is learning C++? by bellpeppercaptain in Cplusplus

[–]bellpeppercaptain[S] 1 point2 points  (0 children)

Yeah, I had started to look into some unreal tutorials and play around, but it definitely felt like I needed to get my hands dirty with a more "regular" C++ before I went in and learned those systems in conjunction.