Template parameters are matched by name inside text
https://kerfors.github.io/usdm-overlay/id/finding/template-tags-by-markup
Syntax-template text marks parameters with usdm:tag elements that name a ParameterMap.tag. The stored tag is a bare name; the angle brackets that the NCI definition of ParameterMap.tag describes appear only in the template text. Resolution is by name inside a string, so a tag can lack a matching ParameterMap, and the published examples include such a case.
- standing
- For discussion: Rests on the published example files, which are not mature study definitions.
- evidence
- Example-observed
- holds
- true
- observation
- 16 usdm:tag elements in 13 texts; stored tags containing angle brackets: 0. Unresolved: observational.json EligibilityCriterionItem_2 'max_agexxx'.
- about
- ParameterMap, SyntaxTemplate, SyntaxTemplateDictionary
- sources
- https://github.com/cdisc-org/DDF-RA/blob/v4.0.0/Deliverables/CT/USDM_CT.xlsx
https://github.com/cdisc-org/DDF-RA/tree/v4.0.0/Documents/Examples
Test
Check function template_tags_by_markup in scripts/check_findings.py.