Future Direction for SDOH Referral Development

As one of the original developers of OpenEMR’s configurable SDOH screening module, I’d like to explore the next phase of SDOH functionality within the platform.

Over the coming months, I’d like to focus on researching existing social needs screening and referral models, identifying best practices, and understanding how organizations are currently implementing closed-loop referral systems. My goal is not to immediately build a solution, but first to learn from successful implementations and collaborate with others interested in this space.

One area I believe deserves discussion is maintaining maximum flexibility within OpenEMR’s open-source architecture. While tools such as PRAPARE have become widely adopted standards, embedding proprietary screening instruments directly into software platforms can introduce licensing restrictions and ongoing costs that may conflict with the goals of an open-source community.

I would like to explore a more flexible, standards-based approach that allows organizations to:

  • Create and maintain their own social needs screening questions and workflows

  • Map questions and responses to standardized vocabularies such as LOINC, SNOMED CT, and ICD-10 Z-codes

  • Support reporting, interoperability, and regulatory requirements without dependence on proprietary form licensing

  • Build future referral workflows that can connect patients to community resources using open standards

I am particularly interested in hearing from:

  • Organizations currently using SDOH referral platforms

  • Anyone familiar with successful closed-loop referral implementations

  • Developers interested in contributing to architecture, standards research, workflow design, or interoperability

  • Clinics that have encountered licensing or cost barriers with existing commercial solutions

If OpenEMR can provide the same structured data, interoperability, and workflow capabilities while preserving flexibility and avoiding unnecessary licensing costs, I believe it could become a powerful open-source alternative for social care integration.

I’d welcome discussion, existing examples, research references, and potential collaborators.

2 Likes

Hi Char,

The current OpenEMR SDOH assessment was mainly built to satisfy the ONC/USCDI direction and give us a standardized place in the patient workflow to capture SDOH-related screening data. It is intentionally not as broad as your original work, but I think it can serve as a useful foundation instead of everyone having to start from scratch.

Where I think OpenEMR can help your referral work is in a few areas:

  1. The existing SDOH assessment can act as the baseline “needs” screen.
  2. The FHIR Questionnaire/QuestionnaireResponse tooling can support more flexible screening instruments, including your “Opportunity” style questions.
  3. Responses can be preserved as the completed instrument while still allowing selected answers to become discrete observations or health concerns where appropriate.
  4. Those findings can then feed into goals, consent, ServiceRequest/referral workflows, and eventually closed-loop referral tracking.
  5. The same framework could support both patient-requested opportunities and provider-identified needs without forcing everything into one rigid form.

I really like your point from the other forum topic about phrasing. Asking only “what do you lack?” can miss patients who would accept help if it were offered in a less stigmatizing way. An “Opportunity” screen could ask more neutral questions such as whether the patient would like information, support, connection to community resources, or follow-up for food, housing, transportation, utilities, employment, caregiving, education, safety, etc. That could still map into the same SDOH/referral structure when the patient opts in.

My thought is that your referral system could build on the existing OpenEMR assessment and FHIR Questionnaire work rather than replacing it. The ONC assessment gives us a standard base, and your workflow could add the care-navigation/referral layer that makes the data useful in real practice.
I think there is a good path here where the existing SDOH assessment, FHIR questionnaires, and your referral workflow all complement each other.

Since we currently have the capability to import FHIR/LOINC questionnaires it may be worth taking a few minutes researching what questionnaires are available for import concerning SDOH subject.
If you have questionnaires enabled in encounters there is a LOINC search capability to find and import available forms.

Hi @Char_Miller ,
As an example of what I was referring to, here is a FHIR Structured Data Capture (SDC) Questionnaire imported directly into OpenEMR and launched from an encounter.

The questionnaire is dynamically rendered from the FHIR resource rather than being a hard-coded OpenEMR form. It is designed to be context-aware, with Patient and Encounter launch context, and supports response-driven conditional branching. In other words, answers can determine which follow-up questions are presented to the patient or provider.

For example, selecting that the patient would like someone to contact them or help connect them to a service can expose additional questions about preferred contact method and messaging permission. Questions that are not relevant to the patient’s answers remain out of the workflow.

SDC also gives us a path toward context-based prepopulation, calculated values, and more advanced questionnaire logic as support is expanded.

The important part to me is that new assessments can be authored as FHIR Questionnaires, imported, and plugged into the existing OpenEMR questionnaire infrastructure rather than requiring a new custom PHP form for every assessment.

This screenshot is the Opportunity-based SDOH example discussed above, running as an encounter assessment in OpenEMR.

A better view outside an encounter.

1 Like

Hi @Char_Miller, @sjpadgett. I’d like to come at the closed-loop part from the staff side: who notices when a referral never comes back.

I’ve been building a staff worklist for OpenEMR. One of its queues is referrals nobody has heard back on. An outgoing referral (the stock Referral transaction) with no Reply Date after 14 days goes on the referring provider’s list. It comes off when someone records the reply. It only reads what OpenEMR already stores, so it already works for a referral to a community organization entered as an External Organization in the address book. But “closed” only means someone typed a reply date. It’s published as a pre-release package, oe-module-staff-worklist, tested on synthetic data only.

I’d rather line it up with where you’re taking this than build alongside it:

  1. Once a screen can produce a ServiceRequest and a Task, as planned in #13266, is Task status the signal a worklist should follow? The Referral transaction’s Reply Date would be the fallback for sites that don’t use it.
  2. For referrals to community organizations, who records the outcome in the clinics you’ve looked at: the clinic’s own staff, or the organization itself? That decides whether the loop can close inside OpenEMR at all.
  3. Char, among the closed-loop models in your research, do any track whether the patient actually got the service, rather than only whether the organization acknowledged the referral?

Glad to fit it to whatever data model you settle on.

1 Like

Hi @anun333 Here is an example of a close loop I had sent to Char in our email chain.
I’d be very happy to get any help I can. Review below. The Observation vital category is now in for v8.5.0. Working lab Observation now plus a new Questionnaire Manager Epic: Questionnaire-driven clinical workflows — render, extract, and close the loop · Issue #13266 · openemr/openemr · GitHub and I’m 75% finished. I also donated a SMART Questionnaire App for openemr and contrib’ed to the openemr repo.
For now procedure will be handled with ServiceRequest, The last piece is Task which I still haven’t put an issue up for. It’d be welcome if you took on.
Brady just developed a FHIR import for Synthia companioning CCDA import. This is in dev ops.
So in master now and released in v8.5.0 (accept Task) we have everything to finish a demo project. Thanks for jumping in and hope any of what we’ve done concerning FHIR is helpful.
Hope you don’t mind me sharing this Char.

Jerry Padgett sjpadgett@gmail.com

Sep 25, 2026, 11:31 AM
to Char

Subject: Re: Civitas takeaways and CareSphere - how OpenEMR fits

Hi Char,

Thanks for the update and congratulations on wrapping up I-Corps. I think the shift you describe is exactly right. “Referral closed” tells us almost nothing, and treating the CBO as a specialty provider with its own system of record is the right model. (The dermatologist analogy is going to stick with me.)

One point worth knowing: the standards already support what you’re after. The Gravity SDOH Clinical Care IG models the full loop, including the CBO reporting the services it actually delivered back to the referrer as structured data. Most referral platforms just never fill that part in, because the CBO has no system capturing the care. That is precisely the role CareSphere on OpenEMR can play.

HOW OPENEMR MEETS THE CBO-AS-PROVIDER REQUIREMENTS

Taking the workflow from your email step by step:

  • Receives a patient/client: registration and demographics, including the USCDI v3 elements. Incoming referrals arrive as FHIR ServiceRequest, with FHIR Task tracking the referral itself.
  • Assesses need and eligibility: native FHIR Questionnaires (AHC-HRSN, PRAPARE, Hunger Vital Sign, or a CBO’s own intake/eligibility forms), with results stored as structured QuestionnaireResponses and SDOH observations using Gravity codes.
  • Develops a service plan: SDOH health concerns, goals, interventions and care plans.
  • Delivers and documents services: encounters plus configurable forms, so a CBO can define its own service documentation without programming. Each delivered service is recorded as a FHIR Procedure.
  • Authorization and claims: 837P claims, 270/271 eligibility, and HCPCS coding, which is how HRSN waiver services are generally billed.
  • Reports outcomes: follow-up questionnaires and goal status, reported back to the referrer (see the example below).
  • Moves data via FHIR/HL7: FHIR API with read, bulk export, and now write support. I just merged FHIR create/update support for 25 resources, including ServiceRequest, Procedure, Condition, Goal and CarePlan. Task and Observation( done for vitals, labs coming) are coming in their own dedicated PRs, and those two complete the referral loop. C-CDA and Direct messaging are also available for sending summaries to clinicians.
  • Client and caregiver access: the patient portal, including related-person access, lets clients or caregivers complete questionnaires themselves.

EXAMPLE: A REFERRAL TRACKED THROUGH PATIENT PROGRESS

Maria, 68, is seen at her primary care clinic for diabetes.

  1. Screening at the clinic. Maria completes the AHC-HRSN screening. Her answers are stored as a QuestionnaireResponse, and the positive food-insecurity result becomes a structured Observation, which supports a Condition of “food insecurity” and a Goal of “food secure.”

  2. The referral. The clinician orders medically tailored meals. That creates a ServiceRequest that points back to Maria’s screening as the reason for the referral, plus a referral Task assigned to the CBO with status “requested.” Anyone looking at the referral can follow the link back to the questionnaire that triggered it.

  3. The CBO accepts. The CBO’s system (CareSphere on OpenEMR) picks up the new Task, marks it “accepted,” and runs its own intake and eligibility questionnaire. The clinic sees the status change without a phone call.

  4. Services are delivered and recorded. Each week of meal delivery is documented as a Procedure and attached to the referral Task’s output. The referrer sees not just “in progress” but exactly what was delivered and when.

  5. Progress is tracked with follow-up questionnaires. At 30 and 90 days, the CBO issues patient Tasks asking Maria to repeat the Hunger Vital Sign screening. Each of those Tasks is linked to the original referral. Maria completes them in the portal, or a CBO staff member completes them with her by phone. Her responses become new Observations, also attached to the referral’s output, and the Goal is updated to “improving” or “achieved.”

  6. The loop closes. When the program ends, the CBO marks the referral Task “completed.” The clinic now has the full picture in Maria’s record: why she was referred, what services she received, how often, and whether her food security actually improved between the first screening and the follow-ups. Her clinician can look at that alongside her A1c and ER visits.

That last step is exactly the data you described wanting: not “referral closed,” but structured longitudinal evidence of the care delivered and its effect. It also works whether the referring clinic runs OpenEMR or another certified EHR, because each step is standard FHIR.

WHAT STILL NEEDS BUILDING

  • Task and Observation write support: in progress as my next PRs. These complete steps 3 through 6 above.
  • Program enrollment and authorizations: CBOs think in enrollments (“authorized for X units over Y months”), not visits. OpenEMR has no strong equivalent today.
  • Units of service: delivering 60 meals or 12 rides shouldn’t mean 60 clinic-style encounters. A lightweight service log that rolls up into claims and outcomes is probably the most important CBO-specific build.
  • Consent and data segmentation: many CBOs aren’t HIPAA covered entities, domestic violence providers operate under VAWA confidentiality restrictions, and substance-use services may fall under 42 CFR Part 2. Granular consent enforcement will be needed before data can flow freely.
  • Mandated reporting: aging programs (Older Americans Act) and homeless services (HUD HMIS) have required reporting systems, so a pilot in those areas needs an export path.
  • Hosting and usability: small CBOs need a hosted service, and a CBO-oriented interface profile (client terminology, clinical features hidden).

SUGGESTIONS FOR THE PILOT

  1. Pick one service line. Medically tailored or home-delivered meals fits the example above well: defined units, established billing codes, clear outcome measures, and a natural follow-up screening.
  2. Define the minimum dataset first: service type, units, dates, cost, authorizing payer and outcome measure.
  3. Work alongside the existing referral platforms rather than against them. A CBO-side system that completes their referral Tasks with real data complements them.
  4. Build the CBO-specific pieces (service log, program enrollment, CBO interface) as OpenEMR modules rather than modifying core, so the clinical foundation stays shared.

Best,
Jerry

Thanks, @sjpadgett, that’s a clear picture, and yes, I’d like to take on Task.

I’d rather agree the shape before writing code, so I’ll open an issue with a proposed first version: read, search, create and update for a referral Task as the SDOH Clinical Care IG profiles it, with focus pointing at the ServiceRequest and owner at the organization, following the pattern of your ServiceRequest write support. Two questions I’d put there and would value your view on first:

  1. Storage. A Task table of its own, or tied to OpenEMR’s existing referral transactions (Transactions › Referral), so the referral screens and reports see the same status? ServiceRequest comes from procedure_order, and the referral transactions aren’t in FHIR at all, so a community-organization referral could live in either place today.
  2. First version. Is status plus focus, owner and for enough to start, with output (the Procedures and follow-up Observations) as a second step? Or should the first version already carry outputs?

It connects directly to what I posted above: the worklist’s referral queue would follow Task status instead of a typed reply date.

Terrific. I look forward to the issue.

Opened as #14521: feat(fhir): Task resource (D9 of #13266) · Issue #14521 · openemr/openemr · GitHub

It follows D9 of your epic and walks through your Maria example step by step: what Task does at each step, and which PR delivers it. Referral Tasks point at today’s ServiceRequest, as you said, so D8 isn’t a blocker. There are three short questions there before I start.