شعار Clinical Data Requirements

Clinical Data Requirements

المجتمع
PranavNagrecha
clinical-data-requirements

Use this skill when defining clinical data model requirements for Health Cloud: HL7/FHIR data mapping, interoperability requirements, FHIR R4-aligned object activation, CodeableConcept constraints, and middleware translation requirements. NOT for the field-level mapping work itself — use data/fhir-data-mapping. NOT for choosing legacy HC24__ EHR objects vs standard clinical objects — use data/health-cloud-data-model.

نظرة عامة

الناشرPranavNagrecha
المستودعAwesomeSalesforceSkills
اسم المهارةclinical-data-requirements
النجوم
26
التفريعات
5
الملفات المرفقة
7
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها PranavNagrecha على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Clinical Data Requirements في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/clinical-data-requirements
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/clinical-data-requirements .claude/skills/clinical-data-requirements
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Clinical Data Requirements في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Clinical Data Requirements تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Clinical Data Requirements بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Clinical Data Requirements

Use this skill when defining clinical data model requirements for Health Cloud: enabling the FHIR R4-aligned clinical data model, mapping FHIR resources to Salesforce objects, identifying CodeableConcept and cardinality constraints, and specifying middleware translation for HL7 and FHIR integration. It does NOT cover migration procedures, Apex integration code, or generic data architecture.

Licence gate: the clinical data model is part of Health Cloud and Life Sciences Cloud and is documented as available in Enterprise and Unlimited Editions. The developer guide is titled "Agentforce Health Developer Guide" in Summer '26.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm whether the FHIR-Aligned Clinical Data Model org pref is enabled. The guide says: "To enable these objects in your org, go to FHIR R4 Support Settings in Setup and enable the FHIR-Aligned Clinical Data Model org pref." It also says some objects exist before the pref is on because other data models use them (for example CareObservation, CodeSet, CodeSetBundle, Identifier, PersonName). In metadata the setting is IndustriesSettings.enableClinicalDataModel (API 51.0, default false).
  • Identify the source systems (EHR, payer, HIE) and their standard: FHIR R4, HL7 v2.3, or custom. Each needs a different translation approach.
  • Confirm whether the org is new or legacy. "Starting with the Spring '23 release, new customers won't be able to create records in the packaged EHR objects that have counterpart standard objects in the FHIR R4-aligned data model."
  • Identify CodeableConcept-heavy resources (Condition, Observation, Procedure). CodeSetBundle flattens a CodeableConcept's codings to 15 references (CodeSet1Id through CodeSet15Id).

Questions to Ask Before Configuring

Ask these before mapping a single resource. Each one traces to a gotcha in references/gotchas.md.

QuestionWhy it mattersWhat a good answer addsWhat proper configuration adds over just doing it
"Which FHIR resources or HL7 v2.3 messages arrive, and from which systems?"The org pref, the objects, and the middleware all depend on the resource list (gotchas 1, 5)A resource inventory with volumes and source systemsObjects enabled and mapped before integration build starts
"Do any source concepts carry more than 15 codings?"CodeSetBundle holds 15 coding references (gotcha 2)A coding-priority policy per resourceDeliberate, documented truncation instead of silent loss
"Is this a new org or one that already holds HC24__ EHR data?"New customers cannot create records in packaged EHR objects that have standard counterparts (gotcha 3)The target objects per data type, and a migration decisionNo integration written against objects the org cannot write
"Will patients or caregivers see clinical data in an Experience Cloud site?"Community users need the FHIR R4 for Experience Cloud Sites permission set (gotcha 6)The external audience and the records they may seePortal access designed with the right permission set from the start
"Which source fields are required in Salesforce but optional in FHIR?"condition.code is 0..1 in FHIR but HealthCondition.ConditionCodeId is 1..1 (gotcha 4)A rule for records that arrive without the fieldFewer rejected loads and a defined error path
"How do multi-line addresses and multiple names arrive?"address.line maps to a single Street string, and names map to PersonName child records (gotcha 7)Merge and split rules for the middlewareDemographics that render correctly in Health Cloud components

What a proper requirements package adds over "just loading clinical data": every resource has a target object, every deviation from FHIR is handled on purpose in the middleware, and no record depends on an object the org cannot write.


Core Concepts

Activating the FHIR-Aligned Clinical Data Model

The org pref lives on the FHIR R4 Support Settings page in Setup. The guide lists which objects need it:

Needs the org prefAvailable without it
AllergyIntolerance, ClinicalEncounter (and its child objects), ClinicalServiceRequest, DiagnosticSummary, HealthCondition, MedicationRequest, MedicationStatement, PatientHealthReaction, PatientImmunization, PatientMedicalProcedure, PatientMedicationDosageCareObservation, CodeSet, CodeSetBundle, HealthcareProvider, Identifier, Medication, PersonLanguage, PersonName, Specimen

Enabling the pref also adds fields to standard objects, for example ContactPointPhone.UsageType, Account.SourceSystemIdentifier, Contact.Gender, and Contact.DeceasedDate. The deployable setting is in references/metadata-examples.md.

Salesforce Is Not a 1:1 FHIR R4 Implementation

The guide states that "a middleware integration solution is required to convert messages from HL7 and FHIR-based systems to the fields and objects in Salesforce", and lists the deviations:

FHIR constructSalesforce implementation
CodeableConcept (0..* codings)CodeSetBundle with 15 zero-to-one CodeSet references
Simple value-set codesPicklists (for example Identifier.IdUsageType)
code data typeString (for example CodeSet.Code)
uri for code and identifier systemsString (CodeSet.SourceSystem, Identifier.SourceSystem)
Period, Quantity, Range, RatioFlattened into two or three fields, with a lookup to UnitofMeasure where a unit applies
HumanNamePersonName with FirstName, LastName, FullName, related to the person through ParentRecordId

HL7 v2.3

The clinical data model "also supports many of the HL7 v2.3 message types": ADT, ORM, ORU, MDM, VXU, and RDE messages "can be stored in Salesforce by mapping their constituent segments to fields in Salesforce standard objects". The guide documents segment mappings (PID, PV1, PV2, OBX, AL1, ORC, OBR, RXA, RXE, RXR, RXC). It does not describe a native HL7 v2 listener, so a translation layer still parses the message and writes the mapped fields.

Legacy EHR Objects

New customers since Spring '23 cannot create records in packaged EHR objects that have counterpart standard objects, and future development targets the FHIR R4-aligned model. Typical pairs:

Legacy packaged objectStandard counterpart
HC24__EhrCondition__cHealthCondition
HC24__EhrMedicationStatement__c, HC24__EhrMedicationPrescription__cMedicationStatement, MedicationRequest
HC24__EHRProcedure__cPatientMedicalProcedure
HC24__EhrObservation__cCareObservation
HC24__EhrImmunization__cPatientImmunization
HC24__EhrAllergyIntolerance__cAllergyIntolerance

Earlier versions of this skill named HC24__EhrMedication__c, HC24__EhrLabResult__c, PatientMedication, and MedicalProcedure. None of those names appears in the guide. UNVERIFIED (2026-10-03): the pairing in this table is by resource meaning; the guide does not publish a one-to-one legacy mapping table.


Common Patterns

FHIR Patient Resource Mapping Requirements

When to use: Incoming FHIR R4 Patient resources from an EHR.

How it works:

  • Patient.name maps to PersonName records whose ParentRecordId references the person's Account or Contact.
  • Patient.telecom maps to ContactPointPhone and ContactPointEmail records.
  • Patient.address maps to ContactPointAddress; multiple line values must be merged into one Street string, and type and text are not supported.
  • Patient.identifier maps to Identifier records.
  • Patient.gender and deceased details map to Contact.Gender and Contact.DeceasedDate, fields added by the org pref.

Middleware must create the Person Account first, then the child records. UNVERIFIED (2026-10-03): that the Patient Card and Timeline components read only the child objects is stated by earlier versions of this skill, not by the guide.

HL7 v2.3 Inbound Requirements

When to use: An EHR sends HL7 v2.3 ADT, ORM, ORU, MDM, VXU, or RDE messages.

How it works:

  1. List the message types and segments in scope.
  2. Map each segment field to the standard object field documented in the guide's HL7 v2.3 segment tables.
  3. Choose the translation layer that parses the message and calls the Salesforce APIs.
  4. Define error handling for unrecognized segments and out-of-range values.

Decision Guidance

SituationRecommended ApproachReason
New Health Cloud org, clinical data neededEnable the FHIR-Aligned Clinical Data Model org pref firstMost clinical objects do not exist without it
EHR sends FHIR R4 bundlesMiddleware translation still requiredThe guide requires middleware; complex types are flattened
Source has more than 15 codings per conceptPriority-based truncation in middlewareCodeSetBundle holds 15 references
Org holds legacy HC24__ EHR dataPlan migration to standard objectsNew development targets the FHIR R4-aligned model
HL7 v2.3 messages from EHRSegment-to-field mapping in a translation layerMappings are documented; parsing is not native
Portal users must see clinical dataFHIR R4 for Experience Cloud Sites permission setRequired for community users

Recommended Workflow

  1. Enable the org pref. Turn on the FHIR-Aligned Clinical Data Model (Setup, FHIR R4 Support Settings, or IndustriesSettings.enableClinicalDataModel), then confirm the objects exist with a SOQL query.
  2. Inventory source clinical data. FHIR resources or HL7 v2.3 messages, cardinality, required and optional fields, and coding systems (SNOMED CT, LOINC, ICD-10, RxNorm).
  3. Map resources to objects. Use the guide's FHIR v4.0 mapping tables. Flag every deviation: flattened types, the 15-coding cap, fields that are 1..1 in Salesforce but 0..1 in FHIR, and unsupported elements.
  4. Set coding-priority rules. For concepts with more than 15 codings, define which systems fill the 15 slots, in order.
  5. Specify middleware. Flattening, truncation, address-line merging, identifier mapping, HL7 v2.3 parsing, and error handling.
  6. Assess legacy objects. If HC24__ EHR data exists, scope the migration as a separate workstream and target standard objects for all new integrations.

Review Checklist

  • FHIR-Aligned Clinical Data Model org pref enabled or planned, with the objects it unlocks listed
  • Every in-scope FHIR resource or HL7 v2.3 message mapped to Salesforce objects
  • 15-coding limit handled with a documented priority policy
  • FHIR deviations documented (flattening, cardinality, unsupported elements)
  • Middleware requirements specified for every inbound source
  • Legacy HC24__ usage assessed and a migration decision recorded
  • FHIR R4 for Experience Cloud Sites permission set planned if portal users need clinical data

Salesforce-Specific Gotchas

The deep versions, with sources, live in references/gotchas.md.

#GotchaOne-line consequence
1Most clinical objects need the org pref; some do notIntegration tests fail on missing objects, or teams wrongly wait for objects that already exist
215 coding references per CodeableConceptCodings past 15 are lost unless the middleware prioritizes
3New customers cannot create records in packaged EHR objects with standard counterpartsLegacy-targeted integrations fail
4Some fields are 1..1 in Salesforce but 0..1 in FHIRConditions without a code are rejected
5HL7 v2.3 is a mapping, not a listenerA direct HL7 feed has nowhere to land without a translator
6Portal access needs a specific permission setCommunity users see nothing
7Address lines and names have their own shapesDemographics arrive truncated or in the wrong place

Output Artifacts

ArtifactDescription
FHIR-to-Salesforce field mappingField-level mapping for each in-scope resource
CodeableConcept constraint specificationAffected resources and the coding-priority policy
Middleware translation requirementsHL7 and FHIR transformation rules for the integration layer
Legacy EHR object migration assessmentCurrent HC24__ usage and migration scope
Org pref deploymentIndustries.settings with enableClinicalDataModel

Related Skills

  • data/health-cloud-data-model: Health Cloud object reference and data model overview
  • data/fhir-data-mapping: FHIR resource to Health Cloud object mapping reference
  • apex/fhir-integration-patterns: FHIR R4 integration code patterns and API usage
  • admin/care-coordination-requirements: referrals and care episodes that depend on the clinical data model

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Clinical Data Requirements؟

Use this skill when defining clinical data model requirements for Health Cloud: HL7/FHIR data mapping, interoperability requirements, FHIR R4-aligned object activation, CodeableConcept constraints, and middleware translation requirements. NOT for the field-level mapping work itself — use data/fhir-data-mapping. NOT for choosing legacy HC24__ EHR objects vs standard clinical objects — use data/health-cloud-data-model.

لماذا تستخدم Clinical Data Requirements على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Clinical Data Requirements عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Clinical Data Requirements في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/clinical-data-requirements. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Clinical Data Requirements؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Clinical Data Requirements؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Clinical Data Requirements معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Clinical Data Requirements مجانية؟

نشرها PranavNagrecha على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇