Skip to main content

Adverse Event Child Record

The MIC - Adverse Event Child Record (medAdverseEventChildRecord) Lightning Web Component (LWC) lets users manage the child records of an Adverse Event (MED_Adverse_Event__c) record all on a single Adverse Event page. For every child object that is configured on a component, users can click New to create a new record within the component. This means that users can continue to reference other information on the page while entering new information about the adverse event. Users can also collapse and expand on each record in the component.

MIC_AEChildRecordComponent.png

Configuration

To configure the MIC - Adverse Event Child record component, open the LWC in the Lightning App Builder.

  1. On the Related Drug Name field, enter or select the API name of the child object whose records are to be listed and created in the component. Possible options include:

    • MED_AE_Drug_History__c

    • MED_AE_Drug_Information__c

    • MED_AE_Medical_History__c

    • MED_AE_Primary_Source__c

    • MED_AE_Reaction__c

    • MED_AE_Results__c

  2. On the FieldSet API Name field, enter the API name of the field set on the child object that contains the list of fields to appear in the component.

  3. On the Number of Columns field, enter or select the number of columns that should appear in the component. Possible options include:

    • 1 Column

    • 2 Columns

  4. On the What to show as Card Title field, enter the name that should appear for the column. If the field is left empty, the component will use the name of the child object.

  5. On the Field API Name to show as Record Label field, enter the API name of the field on the child object whose value should appear for each collapsed record in the component.

  6. Check the Default Edit Mode checkbox if a new record form should appear when there are no existing records to appear in the component.

  7. On the Waiting time to autosave field, enter the number of milliseconds that the component should wait before it automatically saves any changes in the component.