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.
Note: Before you enable this feature, the configuration for Localized Submissions and Translation Support must be complete.
Update the Localized Case Object
Add Fields to the Localized Case Layout
- In Admin, go to Configuration > Objects > Localized Case.
- On the Layouts tab, open the Localized Case Detail Page Layout.
- Select Add from the Details section.
- Add the following fields, if not already added:
- NMPA Report Classification
- Localized Parent Information
- Select Save.
- Select Add from the Narrative section.
- Select Additional Pregnancy Related Information.
- Select Save.
Add a Layout Rule to Hide the Additional Pregnancy Related Information Field
- Select Layout Rules on the Localized Case Detail Layout Page.
- Select Create.
- 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
- Select Save.
Update the Localized Case Product Object
Add the Localization Field
- In Admin, go to Configuration > Objects > Localized Case Product.
- Select Create on the Fields tab.
- 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)
- Select Save.
Update the Localized Case Product Layout
- In Admin, go to Configuration > Objects > Localized Case Product.
- On the Layouts tab, open the Localized Case Detail Page Layout.
- Select Add from the Details section.
- Add the Related Device Information field.
- Remove the Localization field.
- Select Save.
Add a Layout Rule to Hide the Related Device Information Field
- Select Layout Rules on the Localized Case Product Detail Layout Page.
- Select Create.
- 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
- Select Save.
Update the Localized Case Contact Object
Add the Localization Field
- In Admin, go to Configuration > Objects > Localized Case Contact.
- Select Create on the Fields tab.
- 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)
- Select Save.
Update the Localized Case Contact Detail Layout
- In Admin, go to Configuration > Objects > Localized Case Contact.
- On the Layouts tab, open the Localized Case Contact Detail Page Layout.
- Select Add from the Details section.
- Add the following fields:
- NMPA Report Source
- NMPA Patient Race
- NMPA Patient Nationality
- Remove the Localization field.
- Select Save.
Add a Layout Rule to Hide the NMPA Fields
- Select Layout Rules on the Localized Case Contact Detail Layout Page.
- Select Create.
- 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
- Select Save.
Add the Generic Name Field to the Localized Product Object
- In Admin, go to Configuration > Objects > Localized Product.
- On the Layouts tab, open the Localized Product Detail Page Layout.
- Select Add from the Details section.
- Select Generic Name.
- Select Save.