Patient Banner Customization

Jun 2, 2008 at 7:08 PM
Is there a way to customize the Patient Banner's 3rd and 4th section's title area to show data also:

For instance,
section 1
Address: "address data"


I see examples on how to have it so that you can change the title in Sections 3 and 4 but not on how to put data inline with the title.


Thanks,
Jun 4, 2008 at 5:20 PM
Hello,

Please see the InstantiateTitles and InstantiateAddressSummary methods of the PatientBannerZoneTwoTemplate class of the NhsCui.Toolkit.Web\PatientBannerControl project subdirectory for the method used to add two-part content to the SubSectionOne (address) title area. The actual data is bound in the SetChildControlProperties method of the PatientBanner class which calls a helper method on the AddressControl:

 

zoneTwoContainer.AddressSummaryControl.Text = addressControl.GetSummary();

You would need to implement similar functionality for the other subsections to achieve what you are trying to do.

HTH - MSCUI Dev.

Jun 5, 2008 at 1:57 PM
Hello,

Please see the InstantiateTitles and InstantiateAddressSummary methods of the PatientBannerZoneTwoTemplate class of the NhsCui.Toolkit.Web\PatientBannerControl project subdirectory for the method used to add two-part content to the SubSectionOne (address) title area. The actual data is bound in the SetChildControlProperties method of the PatientBanner class which calls a helper method on the AddressControl:

 

zoneTwoContainer.AddressSummaryControl.Text = addressControl.GetSummary();

You would need to implement similar functionality for the other subsections to achieve what you are trying to do.

HTH - MSCUI Dev.