Home›Blog›Patient Program Data Model and Hub Integration in a CRM
Patient ServicesPublished: November 26, 2026Last updated: November 26, 2026

Patient Program Data Model and Hub Integration in a CRM

The entities, identity rules, consent fields and hub field mapping a patient program record needs in Salesforce, Veeva or any CRM.

KC
Kaustubh ChandrabhanCo-founder & CTO, Zelthy
Share:
PSP Data Model & Hub Integration: entities, consent and hub feeds, with a patient record card linked to hub, pharmacy and consent
TL;DR
  • Salesforce Life Sciences Cloud's enrollee Status field has only Active and Inactive, so journey status needs its own append-only history log.
  • Mint your own program ID, store every hub, pharmacy and copay ID beside it, and never let a partner's ID become your primary key.
  • Store consent as data: the HIPAA authorization elements map to data categories, discloser, recipient, purpose, expiry and capture evidence.
  • Map every hub and pharmacy code to eight to ten canonical stages, keep the raw code, and route unmapped codes to a person.
  • Keep identified operations data and tokenized analytics data in separate lanes; one hematology program matched 8,159 of 8,496 tokenized patients (96%).

Open the standard enrollment object in Salesforce Life Sciences Cloud and you will find that its Status field has two values: Active and Inactive. A specialty patient, meanwhile, can be waiting on benefits verification, stuck in a prior authorization appeal, approved but not shipped, or on hold for a lab result, and your hub and specialty pharmacy each describe those states in their own codes. That gap is why designing a Salesforce Life Sciences Cloud patient program enrollment data model, and the hub integration that feeds it, is mostly about what you add around the standard objects. The same applies in Veeva, IQVIA OCE or any CRM.

This post goes one level below the data section of Zelthy's guide on how to design a patient support program for specialty drugs , which sets out why the manufacturer should own the patient record. Zelthy, an AI-native platform-as-a-service built on the open-source Zango framework, is used by pharma companies including Roche, AstraZeneca and Novo Nordisk to configure patient program records, consent capture and partner integrations as applications they own, across 12+ countries and more than 1 million patients. Below: the entities to model, how to handle identity and tokens, how to store consent as data, and a field-mapping table for hub and pharmacy feeds.

The patient program enrollment data model, entity by entity

The Salesforce care program management data model is a useful reference even if you never use Salesforce, because it separates things that teams often merge: the program (CareProgram), the person's participation (CareProgramEnrollee), the product they receive through it (CareProgramEnrolleeProduct), the pharmacy or service provider (CareProgramProvider), eligibility rules, and a mapping object for source-system fields (CareSystemFieldMapping). Consent sits in a separate platform object, AuthorizationFormConsent, which can point to an enrollee as the consent giver.

Seven entities cover most specialty programs:

  • Person: one record per human, with every external identifier stored alongside the program ID you mint.
  • Enrollment: one per person per program, with dates, source and opt-out reason. Salesforce's enrollee object already carries opt-out start, end and reason fields.
  • Therapy line: one per enrollment per product, so a patient on two of your brands has two lines. The Salesforce version tracks status as Available, Offered, Received, Declined or Canceled.
  • Consent: one record per form version, purpose and recipient, never a checkbox on the person.
  • Coverage and benefits check: the payer, plan and each verification result. Salesforce's CareBenefitVerifyRequest has statuses from Pending to Completed or Error, plus a free-text status reason.
  • Journey status history: an append-only log of every status event from every partner, with the partner's raw code kept beside your mapped value.
  • Dispense: ship date, product, quantity and days' supply from the specialty pharmacy, which is what persistence and time to first fill are calculated from.
Patient program entity model: person and program ID record linked to consent by purpose, two therapy lines and a status history log
The enrollment hangs off the person; status history is a log, not a field.

Status history is the entity most CRM builds skip. If a hub feed overwrites a single status field, you lose the time stamps that tell you whether a delay sat with the payer, the hub or the pharmacy. Keep the history, and let the current status be a view over it.

Identity: one program ID, many source IDs, and tokens for analytics

Hub case IDs, pharmacy patient numbers, copay card numbers and portal user IDs all describe the same person. Store each one with the system that issued it, mint your own program ID, and never let a partner's ID become your primary key. Salesforce offers fields for this on its program objects (SourceSystem and SourceSystemIdentifier on enrollee products, and an external ID mapping the Enrollment API uses as the patient ID).

Matching is where aggregation quality is won or lost. There is no universal patient identifier in US specialty data, so linking "depends on tokenization, probabilistic matching, or trusted third parties," each of which, Milliman's Rick Arnheim and Matt Berman note, introduces its own match rates and biases.

Tokens belong in the analytics lane, not the operations lane. A token is a one-way hash of identifiers created at the data source, so two data sets can be joined without exchanging names. HHS guidance allows that a covered entity may disclose codes derived from PHI as part of a de-identified data set if an expert determines the data meets the de-identification standard and the keys are not disclosed. In one hematology program, tokenizing 8,496 enrolled patients produced matches for 8,159 (96%) in a de-identified claims database; 1,128 of them filled at least two prescriptions, with a mean proportion of days covered of 0.82, and over one-third did not reach the 0.80 adherence standard (Igweokpala, Pan and Cosmatos, ISPOR 2025, Value in Health).

Bar chart of PSP token linkage: 8,496 enrolled patients, 8,215 matched (97%), 1,128 in the adherence cohort
Tokens let you link program data to claims without moving names. Source: Igweokpala, Pan and Cosmatos, ISPOR 2025 (Value in Health abstract EPH185).

For programs that include European patients, pseudonymised tokens are not a way out of GDPR. The European Data Protection Board's January 2025 guidelines say pseudonymised data "is therefore still personal data". The EU Court of Justice added nuance in September 2025, holding in EDPS v SRB that pseudonymised data must not be regarded as personal data "in all cases and for every person", while for the disclosing controller, identifiability is assessed at the time of collection, so its obligations remain.

A scanned PDF proves a patient signed something. It cannot tell an integration whether it may send pharmacy status to a nurse vendor.

The HIPAA Privacy Rule gives you the field list. A valid authorization must include a description of the information, who may disclose it, who may receive it, each purpose, an expiration date or event, and a signature and date, plus statements about revocation and redisclosure. Those six elements map cleanly to a consent record: data categories, discloser, recipient, purpose, expiry and capture evidence. The same rule limits combining an authorization with other documents into a compound form, which is a reason to version enrollment forms carefully rather than bundle program terms, marketing opt-ins and the HIPAA authorization into one checkbox.

Standards already point this way. The FHIR R4 Consent resource expresses each rule as a provision with permit or deny, period, actor, action, purpose and data. The HL7 and NCPDP Specialty Medication Enrollment guide notes that these consents "may be between the patient and a specialty pharmacy, manufacturer or patient support organization" and uses a Task to request a brand-specific form and return the signed Consent. In Salesforce, AuthorizationFormConsent stores the form text version, capture time, capture channel, an optional expiry and a status of Seen, Signed or Rejected. Whatever the CRM, test one thing: can an integration ask "may this recipient receive this data for this purpose today?" and get a yes or no.

Zelthy's posts on when Part 11 applies to patient support program systems and on the HIPAA Security Rule for patient portals cover the audit trails and access controls around consent records.

Hub integration: send events, map every code, keep the raw value

Hubs and specialty pharmacies send patient-level status data to the manufacturer on a schedule set in their program agreements (NCPDP). Daily is the minimum for a program that measures time to first fill. The specialty pharmacy side has an industry format: NCPDP's Specialty Pharmacy Data Reporting guide provides "a standardized format for the data submitted by specialty pharmacy to drug manufacturers" (members only), and NCPDP and X12 publish guidance for 852 inventory data. Channel data has limits: 867 and 852 transactions are limited to dispensing entities under contract, and hub data covers only enrolled patients.

The integration contract is a canonical field list that every partner maps to:

Canonical fieldTypical hub or pharmacy sourceSalesforce Life Sciences CloudFHIR R4 / standardDesign rule
Program patient IDHub case ID, pharmacy patient numberPerson Account plus source system identifiersPatient.identifier (one per system)Mint your own ID; store partner IDs, never overwrite
Referral receivedHub intake time stamp, fax or eRx receiptEnrollee link to a clinical service requestServiceRequestStart every turnaround clock here
EnrollmentHub enrollment date and programCareProgramEnrolleeSpecialty Rx IG enrollment messageOne per person per program
Therapy lineNDC prescribedCareProgramEnrolleeProductMedicationRequestOne per enrollment per product
ConsentSigned form, version, channelAuthorizationFormConsentConsent (provision by purpose)One record per purpose and form version
Benefits verificationPayer, plan, benefit type, PA requiredCareBenefitVerifyRequestCoverageEligibilityRequest / ResponseStore the payer response, not a yes/no flag
Journey statusHub disposition, pharmacy status and reasonStatus history object (custom or partner)Task.status and statusReasonMap to your stage and reason; keep the raw code
DispenseShip date, NDC, quantity, days' supply, fill numberDispense object (custom or partner)MedicationDispense; NCPDP SP data reportingNeeded for persistence and first-fill KPIs

Write a status dictionary of eight to ten canonical stages (for example referral received, missing information, benefits verification, prior authorization or appeal, approved awaiting fill, shipped, on therapy, on hold, discontinued), each with a controlled reason list. Every vendor code maps to one stage and reason, and the mapping table is versioned like any other configuration. When a code arrives that is not in the table, route it to a person instead of guessing.

Plan for electronic prior authorization too. CMS requires impacted payers to stand up prior authorization APIs primarily by January 1, 2027 for items and services other than drugs, and an April 2026 proposed rule would extend this to drugs, with a proposed compliance date of October 1, 2027. Leave room for payer decisions that arrive as structured data rather than faxes; see AI in hub services for benefits verification and prior authorization.

Who keeps the patient record when hub vendors change?

On Zelthy, manufacturers configure the person, enrollment, consent and status entities as applications they own, with hub, pharmacy and nurse partners writing into the same record through APIs.

See the Patient Services solution →

Identified and de-identified data flows: two lanes, one firewall

Most programs need two lanes. The operations lane carries identified data that case managers, nurses and pharmacies use to serve the patient, under the patient's authorization and business associate agreements. The analytics lane carries tokenized, de-identified data for brand, access and outcomes analysis, under an expert determination. Rules that keep the lanes apart:

  • Tokens are generated by the data holder or its tokenization engine, never by the brand team, and token keys stay with the engine.
  • The analytics lane receives no free-text notes; case notes are where identifiers hide.
  • Copay and foundation data get their own access rules, because who can see them is a compliance question as much as a privacy one.
  • Re-identification requests go through a documented, audited process, not a database join.
Two data lanes split by a locked wall: identified operations lane to the pharmacy, tokenization to a de-identified analytics lane
Serve the patient in one lane, analyze the program in the other.

Building it in Salesforce, Veeva or a configurable platform

Salesforce Life Sciences Cloud ships the enrollment, product, provider, benefits verification and consent objects described above, and its training module shows enrollment creating the enrollee and enrollee-product records while benefits verification follows as a separate step. Veeva describes Vault Patient CRM as having a core data model in which "Designated PHI/PII attributes are natively encrypted at rest and in transit", and its 26R2 release moved Patient Attribute objects into core Vault CRM. Teams on IQVIA OCE should plan around IQVIA's commitment to support OCE customers through 2029 during the move to Life Sciences Cloud.

None of them ships your status dictionary, your consent purposes or your partner mappings. Avoid building those as one-off custom objects per program; define them once as versioned configuration that every program reuses.

On Zelthy, manufacturers configure the person, enrollment, consent and status entities as applications they own on the open-source Zango framework, with hub, pharmacy and nurse partners writing into the same record through APIs. Zelthy is the platform builder, not a hub operator, so the model stays when a vendor changes; the live post on unifying multiple PSP vendors under one data layer shows the multi-partner pattern. For buyers comparing options, the PSP provider scorecard makes a sample data export a pass/fail test.

What a manufacturer-owned model delivers

In a cancer therapy patient support program built on Zelthy, adherence improved by 45%, onboarding was 60% faster, operating costs fell by 30% and patient engagement reached 85%. Across 300+ applications deployed in 12+ countries, programs on Zelthy keep the patient record with the manufacturer while partners do the work.

Frequently asked questions

What is CareProgramEnrollee in Salesforce Life Sciences Cloud?

CareProgramEnrollee is the standard object that represents a participant enrolled in a care program. It links a person account to a CareProgram and holds enrollment details such as opt-out dates and reasons. Its Status field has only Active and Inactive values, so detailed journey status needs a separate history object.

How should hub data be integrated into a pharma CRM?

Agree a canonical field list and status dictionary first, then map every hub and specialty pharmacy code to it while keeping the raw code. Load status changes as append-only events at least daily, store partner IDs beside your own program ID, and route unmapped codes to a person.

Is tokenized patient data still PHI?

Under HIPAA, codes derived from PHI can be part of a de-identified data set if an expert determines the data meets the de-identification standard and the keys are not disclosed. In the EU, regulators treat pseudonymised data as personal data, though a 2025 EU Court of Justice ruling found it is not personal data for every recipient in every case.

What does a HIPAA authorization for a patient support program need to include?

A valid authorization must describe the information, name who may disclose and receive it, state each purpose, give an expiration date or event, and carry the patient's signature and date, plus statements on revocation and redisclosure. Store each element as a field so integrations can check permissions automatically.

What is the difference between 852 and 867 data in specialty pharmacy?

The X12 852 reports product activity such as inventory and sales at a location, and NCPDP and X12 publish guidance for its use between manufacturers and specialty pharmacies. The 867 reports product transfers and resales. Both cover only dispensing entities under contract, so they complement patient-level status and dispense data rather than replace it.

Next step

Designing the data model for a new or migrating program? Talk to Zelthy about building a patient program record you own, with any hub or pharmacy partner.

Sources

  1. Salesforce, Life Sciences Cloud Developer Guide: Care Program Management data model; CareProgramEnrollee; CareProgramEnrolleeProduct; CareBenefitVerifyRequest; CareSystemFieldMapping
  2. Salesforce, Object Reference: AuthorizationFormConsent
  3. Salesforce Trailhead, Patient Services Programs for Life Sciences Cloud: Enroll and Onboard Patients
  4. Veeva, Vault Patient CRM Features Brief; What's New in Vault CRM 26R2.0 (August 2026)
  5. Salesforce and IQVIA, Expanded global partnership press release (April 2024)
  6. HL7 and NCPDP, FHIR Specialty Medication Enrollment IG STU2, consent workflow
  7. HL7 FHIR R4: Consent, CoverageEligibilityRequest, ServiceRequest
  8. NCPDP, Specialty Pharmacy Resources (rev. February 2023)
  9. eCFR, 45 CFR 164.508
  10. HHS OCR, Guidance on de-identification of protected health information
  11. Igweokpala, Pan and Cosmatos, Linkage of patient services and real-world healthcare data (EPH185), ISPOR 2025, Value in Health 28(6S1)
  12. Milliman, Understanding 3 dimensions of syndicated specialty pharmacy data quality (November 2026)
  13. CMS, Interoperability and Prior Authorization Final Rule (CMS-0057-F)
  14. CMS, 2026 Interoperability Standards and Prior Authorization for Drugs Proposed Rule (CMS-0062-P) fact sheet (April 2026)
  15. EDPB, Guidelines 01/2025 on pseudonymisation announcement (January 2025)
  16. Court of Justice of the EU, Press Release No 107/25, Judgment in Case C-413/23 P, EDPS v SRB (September 2025)

This article is for general information and is not legal advice. Confirm consent language, de-identification methods and cross-border transfers with your privacy, legal and regulatory teams.

Related Solution

Designing the data model for a patient program?

Zelthy is pharma's patient services platform: an AI-native platform built on the open-source Zango framework, where the patient program record, consent capture and partner integrations are applications the manufacturer owns. Roche, AstraZeneca and Novo Nordisk use it across 12+ countries and more than 1 million patients.

See the Patient Services Solution →

Similar Blogs