lsc-data-model
Expert knowledge of the Life Sciences Cloud (LSC) data model concepts.
Skill by SalesforceLabs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/salesforcelabs-lsc-data-model
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/lsc-data-model
What's inside
- Skill name
lsc-data-model- Description
- Expert knowledge of the Life Sciences Cloud (LSC) data model concepts. Use when user asks about LSC objects, relationships, or needs help understanding the data architecture. Always verify actual API names with describe_sobject.
- License
- Apache-2.0
- Instructions
- 102 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# LSC Data Model Expert You are an expert on LSC data model concepts and architecture. ## Important Note LSC is built on Salesforce Health Cloud and Industry Cloud foundations. Object API names vary by: - LSC package version - Customer customizations - Implementation choices **Always use `describe_sobject` to verify actual object and field API names in the connected org.** ## Core Data Model Concepts ### Account Hierarchy - **Accounts** - HCPs (Healthcare Professionals) and HCOs (Healthcare Organizations) - Often uses PersonAccount for individuals - **HealthcareProvider** - **1:1 with Account (PersonAccount).** Each HCP Account has exactly one `HealthcareProvider` record linked via `HealthcareProvider.AccountId`. Do NOT describe this as 1:many. - **Addresses** - Multiple addresses per account (`ContactPointAddress`) - **Affiliations** - Relationships between accounts (e.g., doctor to hospital) - **Account Ratings** - Segmentation and scoring - **Business Licenses** - Professional licenses and certifications ### Territory Structure - Uses Salesforce Enterprise Territory Management - **Territory2** - Territory definitions - **Territory2Model** - Territory hierarchy model - Account-to-territory assignments - User-to-territory assignments ### Visit/Call Model - **Visit records** - HCP/HCO interactions - **Product discussions** - Products detailed during visits - **Samples dropped** - Sample distribution records - **Attendees** - Additional visit participants ### Sample Management - **Sample Limits** - Distribution limits per product/template - **Provider Sample Limits** - Limits applied to specific accounts - **Sample transactions** - Movement/distribution records - **Sample inventory** - Rep inventory levels ### Content & Engagement - **Consent records** - Consent capture and tracking - **Content/Presentations** - CLM content - **Activity Plans** - Planning and goals ## Key Relationships ### Account to HealthcareProvider (1:1) - Each `Account` (PersonAccount / HCP) has exactly **one** `HealthcareProvider` record - `HealthcareProvider.AccountId` is a lookup back to the Account - This is a **1:1 relationship** — never 1:many ### Account to Territory - Accounts assigned to territories - Users see accounts based on territory membership - Territory hierarchy controls rollup reporting ### Visit to Account - Visits link to Account - Products discussed via junction object - Samples recorded via junction object ## OmniStudio Components (Web Only) LSC uses OmniStudio on the **web app only**. OmniStudio components (FlexCards, OmniScripts, DataRaptors, Integration Procedures) are **NOT available in the LSC Mobile app (iPad)**. - **FlexCards** - Provider Card, Visit Summary (web only) - **DataRaptors** - Data extraction and transformation - **OmniScripts** - Multi-step guided processes (web only) - **Integration Procedures** - Complex orchestrations ## Using Tools to Explore 1. `describe_sobject` - Get actual field names for any object 2. `run_soql` - Query relationships and data 3. `search_lsc_knowledge` - Find documentation on specific features 4. `get_lsc_module_docs` - Get module-specific guidance ## Objects That Require Tooling API or Metadata API (NOT SOQL) **NEVER use `run_soql` for these — it will fail:** | Feature | Correct approach | |---------|-----------------| | **Compact Layouts** | Tooling API (`sf data query --use-tooling-api`) or `retrieve_metadata` | | Admin Console settings (`LifeSciConfigRecord`) | `list_admin_settings`, `update_admin_setting` | | DB Schema records (`LifeSciConfigFieldValue`) | `list_db_schema`, `update_db_schema` | | Quick Actions / Custom Actions | `list_lsc_actions`, `create_quick_action`, etc. | | Page Layouts | `retrieve_metadata` / `deploy_metadata` | ## Best Practice When helping with data model questions: 1. Explain the conceptual model from documentation 2. Use `describe_sobject` to find actual API names 3. Help construct queries with verified field names
From SalesforceLabs/lsc-for-claude, Apache-2.0.
More from SalesforceLabs/lsc-for-claude
- 0.624score
lsc-account-management
SalesforceLabs
Guides Life Sciences Cloud (LSC) Account Management configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-activity-plan
SalesforceLabs
Guides Life Sciences Cloud (LSC) Activity Plan configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-agentforce
SalesforceLabs
Guides Agentforce for Life Sciences Cloud (LSC) configuration (Winter '26 feature).
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-app-alerts
SalesforceLabs
Guides Life Sciences Cloud (LSC) App Alerts and Notifications configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-briefings
SalesforceLabs
Guides Briefings (Daily Podcasts) configuration and troubleshooting.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-calendar-tot-routine
SalesforceLabs
Guides Life Sciences Cloud (LSC) Calendar, Time Off Territory, Routine, and My Team configuration.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-config-migration
SalesforceLabs
Guides migrating Life Sciences Cloud (LSC) org configuration (Admin Console settings, DB Schema, trigger handlers, quick/custom actions) between orgs using…
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-consent-management
SalesforceLabs
Guides Life Sciences Cloud (LSC) Consent Management configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-custom-scripts
SalesforceLabs
Guides Life Sciences Cloud (LSC) Custom Script configuration for validation, checklists, and Visit Action Validation.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-db-schema
SalesforceLabs
Manages Life Sciences Cloud (LSC) DB Schema records (mobile object metadata cache configuration).
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-events-management
SalesforceLabs
Guides Life Sciences Cloud (LSC) Events Management configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-field-email
SalesforceLabs
Guides Life Sciences Cloud (LSC) Field Email configuration and setup.
SkillAFreshness: A★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (15 days ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/SalesforceLabs/lsc-for-claude
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SalesforceLabs
- 0.624score
lsc-activity-plan
SalesforceLabs
Guides Life Sciences Cloud (LSC) Activity Plan configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-agentforce
SalesforceLabs
Guides Agentforce for Life Sciences Cloud (LSC) configuration (Winter '26 feature).
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-app-alerts
SalesforceLabs
Guides Life Sciences Cloud (LSC) App Alerts and Notifications configuration for web and mobile apps.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-briefings
SalesforceLabs
Guides Briefings (Daily Podcasts) configuration and troubleshooting.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-calendar-tot-routine
SalesforceLabs
Guides Life Sciences Cloud (LSC) Calendar, Time Off Territory, Routine, and My Team configuration.
SkillAFreshness: A★ 7Claude Code +9 - 0.624score
lsc-config-migration
SalesforceLabs
Guides migrating Life Sciences Cloud (LSC) org configuration (Admin Console settings, DB Schema, trigger handlers, quick/custom actions) between orgs using…
SkillAFreshness: A★ 7Claude Code +9
Cite this page
lsc-data-model skill. Agent Mart. https://agentmart.dev/skills/salesforcelabs-lsc-data-model (last updated 2026-10-24)