mw10013 / remix-cf-20240202

0 stars 0 forks source link

Search for patient with demographics #14

Closed mw10013 closed 10 months ago

mw10013 commented 10 months ago

https://dashboard.redoxengine.com/#/organization/15903/development/actions/search-patient-by-demographics https://docs.redoxengine.com/fhir-api-actions/patients/search-for-a-patient-by-demographics/ https://docs.redoxengine.com/api-reference/fhir-api-reference/fhir-resources/Patient/_search/ https://docs.redoxengine.com/basics/redox-fhir-api/fhir-glossary/

mw10013 commented 10 months ago
    {
      name: "getKevaGreenDetails",
      description: "Get Keva Green's details",
      schema: z.object({}),
      func: async () => {
        return redox.post("Patient/_search", {
          given: "Keva",
          family: "Green",
          birthdate: "1995-08-26",
        });
      },
    },