Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prototype and LinkedSPLs: how to handle "Highlights" #31

Open
rkboyce opened this issue Jun 10, 2014 · 0 comments
Open

prototype and LinkedSPLs: how to handle "Highlights" #31

rkboyce opened this issue Jun 10, 2014 · 0 comments

Comments

@rkboyce
Copy link
Owner

rkboyce commented Jun 10, 2014

The stylesheet for SPLs computes the "Highlights" section by pulling together in order excerpts from several sections including

34066-1 BOXED WARNING SECTION
49489-8 MICROBIOLOGY SECTION
43683-2 RECENT MAJOR CHANGES SECTION

A full description of the profess is found in the comments of the stylesheet:

<!-- MODE HIGHLIGHTS -->
<!-- Requirements: there used to be a lot of content created from data, now that is less and more is just written.
         certain rearrangements are still made. sequence:
         - frontmatter (material that is before any section)
         - highlights title: "HIGHLIGHTS OF PRESCRIBING INFORMATION" -> generated title
         - highlights limitation statement: "these highlights do not ..." -> from document title (FIXME)
         - highlights drug title: "Cifidipan for immersion in bathtub" -> from document title
         - initial US approval year: "Initial U.S. Approval: 2099" -> from document title
         - recent major changes -> pulled up from recent major changes section
         - microbiology advisory "To reduce ... drug-resistant ..." -> microbiology highlight pulled up
         - what gets pulled up into the frontmatter is determined by $standardSection/*[@highlightfrontmatter]
         - boxed warning section (no title shown, and the box)
         - all others (except frontmatter pull-up)
         - backmatter
         - BPCA pediatric advisory like microbiology but pulled last at the end of the highlights (after the revision date.)
         - patient counseling information reference 34076-0 text based on what other sections are ther
         * 38056-8 supplemental patient material
         * 42231-1 medguide
         * 42230-3 patient package insert
         [reverse engineered requirements
         - -42231-1 -38056-8 -42230-3 => See 17 for PATIENT COUNSELING INFORMATION
         - -42231-1 +38056-8|+42230-3 => See 17 for PCI and FDA-approved patient labeling
         - +42231-1 -38056-8|-42230-3 => See 17 for PCI and Medication Guide
         - +42231-1 +38056-8 +42230-3 => See 17 for PCI and Medication Guide]
         if 42231-1 is subsection of 34076-0 add "and Medication Guide"
         if 42231-1 is not there but patient package insert add "and FDA-approved patient labeling"
         just make reference to any of these 3 sub-sections - any $standardSection/*[@patsec]
         it should not labeled as section "17" if it isn't 17
-->

So, its seems that I will need to extend LinkedSPLs to include the generated highlights as a separate section. Then, so long as the we annotate the sections used to generate highlights, we should be able to show those annotations in the context of an excerpt from highlights section within the prototype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant