Learn how to update your Vault’s configuration to enable local fields for NMPA (China).

About the Feature

Support for local fields for NMPA (China) was added in 21R2. Vaults created in 21R2 or later include the necessary configuration by default, while Vaults originally deployed earlier than 21R2 must have the configuration upgrades described on this page to enable this feature.

Update the Localized Case Object

Add Fields to the Localized Case Layout

  1. In Admin, go to Configuration > Objects > Localized Case.
  2. On the Layouts tab, open the Localized Case Detail Page Layout.
  3. Select Add from the Details section.
  4. Add the following fields, if not already added:
    • NMPA Report Classification
    • Localized Parent Information
  5. Select Save.
  6. Select Add from the Narrative section.
  7. Select Additional Pregnancy Related Information.
  8. Select Save.
  1. Select Layout Rules on the Localized Case Detail Layout Page.
  2. Select Create.
  3. Complete the Create Layout Rule form with the following details:
    • Label: NMPA
    • Description: “Additional Pregnancy Related Information field is required only by NMPA for now.”
    • IF this Layout Rule Expression is TRUE: localization__vr.name__v != 'Chinese'
    • Apply the following display effects:
      • Effect: Hide
      • Type: Fields
      • Values: Additional Pregnancy Related Information, NMPA Report Classification
  4. Select Save.

Update the Localized Case Product Object

Add the Localization Field

  1. In Admin, go to Configuration > Objects > Localized Case Product.
  2. Select Create on the Fields tab.
  3. Complete the Create Field form with the following information:
    • Field Type: Lookup
    • Label: Localization
    • Name: localization__c
    • Lookup Relationship: Localized Case localized_case__vr)
    • Lookup Source Field: Localization (localization__v)
  4. Select Save.

Update the Localized Case Product Layout

  1. In Admin, go to Configuration > Objects > Localized Case Product.
  2. On the Layouts tab, open the Localized Case Detail Page Layout.
  3. Select Add from the Details section.
  4. Add the Related Device Information field.
  5. Remove the Localization field.
  6. Select Save.
  1. Select Layout Rules on the Localized Case Product Detail Layout Page.
  2. Select Create.
  3. Complete the Create Layout Rule form with the following details:
    • Label: NMPA
    • Description: “Additional Pregnancy Related Information field is required only by NMPA for now.”
    • IF this Layout Rule Expression is TRUE: localization__cr.name__v != 'Chinese'
    • Apply the following display effects:
      • Effect: Hide
      • Type: Fields
      • Values: Related Device Information
  4. Select Save.

Update the Localized Case Contact Object

Add the Localization Field

  1. In Admin, go to Configuration > Objects > Localized Case Contact.
  2. Select Create on the Fields tab.
  3. Complete the Create Field form with the following information:
    • Field Type: Lookup
    • Label: Localization
    • Name: localization__c
    • Lookup Relationship: Localized Case localized_case__vr)
    • Lookup Source Field: Localization (localization__v)
  4. Select Save.

Update the Localized Case Contact Detail Layout

  1. In Admin, go to Configuration > Objects > Localized Case Contact.
  2. On the Layouts tab, open the Localized Case Contact Detail Page Layout.
  3. Select Add from the Details section.
  4. Add the following fields:
    • NMPA Report Source
    • NMPA Patient Race
    • NMPA Patient Nationality
  5. Remove the Localization field.
  6. Select Save.

Add a Layout Rule to Hide the NMPA Fields

  1. Select Layout Rules on the Localized Case Contact Detail Layout Page.
  2. Select Create.
  3. Complete the Create Layout Rule form with the following details:
    • Label: NMPA
    • Description: “NMPA fields are required only by NMPA. Hide those fields from non-Chinese localized cases.”
    • IF this Layout Rule Expression is TRUE: localization__cr.name__v != 'Chinese'
    • Apply the following display effects:
      • Effect: Hide
      • Type: Fields
      • Values: NMPA Report Source, NMPA Patient Race, NMPA Patient Nationality
  4. Select Save.

Add the Generic Name Field to the Localized Product Object

  1. In Admin, go to Configuration > Objects > Localized Product.
  2. On the Layouts tab, open the Localized Product Detail Page Layout.
  3. Select Add from the Details section.
  4. Select Generic Name.
  5. Select Save.