Patient Profile Modules only show relevant datanames #828
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
How to test
Use
patient-profile
app fromteal.gallery
, or the code below.Note: the code below that adds 2
tm_t_summary
modules to patient-profile (the 2nd doesn't usedataname = "ADSL"
to show thatADSL
is added asparentname
)See to code
Changes description
With the exception of
tm_t_summary
, only patient_profile modules were modified.Change to
datanames = c(dataname)
tm_t_pp_basic_info
Change to
datanames = c(dataname_adcm, dataname_adae, parentname)
tm_g_pp_patient_timeline
datanames = c(dataname, parentname)
tm_g_pp_adverse_events
tm_g_pp_therapy
tm_g_pp_vitals
tm_t_pp_laboratory
tm_t_pp_medical_history
tm_t_pp_prior_medication
tm_t_summary
parentname
server parameter is used ondata_extract_list
, but was not used inmodule()
call