---
schema_version: "1"
id: fc223de3a6a88f149d1cce9430348a09f022bb9bec2276e243cf234dfffda77d
title: RXC - Pharmacy Component Order Segment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/map_hl7_RXC.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/map_hl7_RXC.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9e6c19ba69d88217432182e48b00c4ec37a50f49556178e365a31cae1b33a01b
description: The Pharmacy Component Order Segment (RXC) HL7 segment maps to the Medication and MedicationRequestobjects in Salesforce.
---
# RXC - Pharmacy Component Order Segment

The Pharmacy Component Order Segment (RXC) HL7 segment maps to the Medication and MedicationRequestobjects in Salesforce.

## HL7 V2.3 - Clinical Data Model Mapping

Here’s how the segments defined by HL7 V2.3 for RXC map to fields in Salesforce standard objects.

![Note](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/images/icon_note.png)

#### Note

Only the segments supported by Salesforce are mentioned below.

<table class="featureTable sort_table" summary="">
          <caption><span class="tablecap">Table 1. RXC - Salesforce</span></caption>




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d296738e64">RXC</th>

              <th class="featureTableHeader  " id="d296738e67">Salesforce Field</th>

              <th class="featureTableHeader  " id="d296738e70">Type</th>

              <th class="featureTableHeader  " id="d296738e73">Notes</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d296738e64" data-title="RXC">RXC.2 - Component Code</td>

              <td class="entry" headers="d296738e67" data-title="Salesforce Field">
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Medication​.Medication​CodeId</samp></li>

                  <li class="li"><samp class="codeph nolang">MedicationRequest​.Medication​CodeId</samp></li>

                </ul>

              </td>

              <td class="entry" headers="d296738e70" data-title="Type">Lookup: CodeSetBundle</td>

              <td class="entry" headers="d296738e73" data-title="Notes">N/A</td>

            </tr>

          </tbody>

        </table>