Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion push-site.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

TODAY=$(date +"%Y-%m-%d")
BUCKET="open.fda.gov-$TODAY"
BUCKET="open.fda.gov-remssplupdated"

echo "Pushing to: ${BUCKET}"

Expand Down
3 changes: 3 additions & 0 deletions src/components/ApiStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ let endpointKeys = [
'drugenforcement',
'drugsfda',
'drugshortages',
'remsspl',
'deviceevent',
'devicerecall',
'deviceclass',
Expand Down Expand Up @@ -51,6 +52,7 @@ const catMap: Record<EndpointKey, string> = Object.freeze({
'drugenforcement': 'Drugs › Enforcement Reports',
'drugsfda': 'Drugs › Drugs@FDA',
'drugshortages': 'Drugs › Drug Shortages',
'remsspl': 'Drugs › REMS SPL',
'deviceevent': 'Devices › Adverse Events',
'devicerecall': 'Devices › Recalls',
'deviceclass': 'Devices › Classification',
Expand Down Expand Up @@ -80,6 +82,7 @@ const endpointLinkMap: Record<EndpointKey, string> = Object.freeze({
'drugenforcement': 'drug/enforcement',
'drugsfda': 'drug/drugsfda',
'drugshortages': 'drug/shortages',
'remsspl': 'drug/drugremsspl',
'deviceevent': 'device/event',
'devicerecall': 'device/recall',
'deviceclass': 'device/classification',
Expand Down
1 change: 1 addition & 0 deletions src/components/DataDictionary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class DataDictionary extends React.Component<{}, DataDictionaryState> {
'nsde': 'NSDE',
'drugsfda': 'Drugs@FDA',
'drugshortages': 'Drug Shortages',
'remsspl': 'REMS SPL',
'covid19serology': 'COVID-19 Serology',
'pma': 'Pre-Market Approval',
'recall': 'Recall',
Expand Down
16 changes: 10 additions & 6 deletions src/components/EndpointBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ const EndpointBox = (props: tPROPS) => {
'ndc': 'NDC directory containing information on the National Drug Code (NDC)',
'enforcement': 'Drug product recall enforcement reports.',
'drugsfda': 'Drugs@FDA includes most of the drug products approved since 1939.',
'drugshortages': 'Drug Shortages can occur for many reasons, including manufacturing and quality problems, delays, and discontinuations.'
'drugshortages': 'Drug Shortages can occur for many reasons, including manufacturing and quality problems, delays, and discontinuations.',
'remsspl': 'REMS are programs designed to ensure that the benefits of certain drugs outweigh their risks.'
},
'other': {
'historicaldocument': 'FDA Press Releases, 1913-2014, in searchable format',
Expand All @@ -88,7 +89,7 @@ const EndpointBox = (props: tPROPS) => {
'problem': 'Reports about tobacco products that are damaged, defective, contaminated, smell or taste wrong, or cause undesirable health effects.'
},
'transparency': {
'crl': 'Centralized database of Complete Response Letters (CRLs)',
'crl': 'Centralized database of Complete Response Letters (CRLs)'
}
}

Expand Down Expand Up @@ -120,7 +121,8 @@ const EndpointBox = (props: tPROPS) => {
'ndc': 'NDC Directory',
'enforcement': 'Recall enforcement reports',
'drugsfda': 'Drugs@FDA',
'drugshortages': 'Drug shortages'
'drugshortages': 'Drug shortages',
'remsspl': 'REMS SPL'
},
'other': {
'historicaldocument': 'Historical Documents',
Expand All @@ -132,7 +134,7 @@ const EndpointBox = (props: tPROPS) => {
'problem': 'Tobacco Problem Reports'
},
'transparency': {
'crl': 'Complete Response Letters',
'crl': 'Complete Response Letters'
}
}
const bg_color: Record<NounName, React.CSSProperties> = {
Expand Down Expand Up @@ -174,7 +176,8 @@ const EndpointBox = (props: tPROPS) => {
'ndc': <div className='ep-icon' style={bg_color.drug}><i className='fa fa-3x fa-database' style={{color: "white"}}/></div>,
'enforcement': <div className='ep-icon' style={bg_color.drug}><i className='fa fa-3x fa-rotate-left' style={{color: "white"}}/></div>,
'drugsfda': <div className='ep-icon' style={bg_color.drug}><i className='fa fa-3x fa-at' style={{color: "white"}}/></div>,
'drugshortages': <div className='ep-icon' style={bg_color.drug}><i className='fa fa-3x fa-at' style={{color: "white"}}/></div>
'drugshortages': <div className='ep-icon' style={bg_color.drug}><i className='fa fa-3x fa-at' style={{color: "white"}}/></div>,
'remsspl': <div className="ep-icon" style={bg_color['drug']}><i className="fa fa-3x fa-bar-chart" style={{color: "white"}}/></div>
},
'other': {
'historicaldocument': <div className="ep-icon" style={bg_color['other']}><i className="fa fa-3x fa-history" style={{color: "white"}}/></div>,
Expand Down Expand Up @@ -218,7 +221,8 @@ const EndpointBox = (props: tPROPS) => {
'ndc': '/apis/drug/ndc/',
'enforcement': '/apis/drug/enforcement/',
'drugsfda': '/apis/drug/drugsfda/',
'drugshortages': '/apis/drug/drugshortages/'
'drugshortages': '/apis/drug/drugshortages/',
'remsspl': '/apis/drug/remsspl/'
},
'other': {
'historicaldocument': '/apis/other/historicaldocument/',
Expand Down
3 changes: 3 additions & 0 deletions src/components/FieldDownload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const pdfDownloadMap: Readonly<Record<string, string>> = Object.freeze({
'drugenforcement': '/fields/drugenforcement_reference.pdf',
'drugsfda': '/fields/drugsfda_reference.pdf',
'drugshortages': '/fields/drugshortages_reference.pdf',
'drugremsspl': '/fields/drugremsspl_reference.pdf',
'deviceevent': '/fields/deviceevent_reference.pdf',
'devicerecall': '/fields/devicerecall_reference.pdf',
'deviceclass': '/fields/deviceclass_reference.pdf',
Expand Down Expand Up @@ -39,6 +40,7 @@ const xlsxDownloadMap: Readonly<Record<string, string>> = Object.freeze({
'drugenforcement': '/fields/drugenforcement_reference.xlsx',
'drugsfda': '/fields/drugsfda_reference.xlsx',
'drugshortages': '/fields/drugshortages_reference.xlsx',
'drugremsspl': '/fields/drugremsspl_reference.xlsx',
'deviceevent': '/fields/deviceevent_reference.xlsx',
'devicerecall': '/fields/devicerecall_reference.xlsx',
'deviceclass': '/fields/deviceclass_reference.xlsx',
Expand Down Expand Up @@ -66,6 +68,7 @@ const yamlDownloadMap: Readonly<Record<string, string>> = Object.freeze({
'drugenforcement': '/fields/drugenforcement.yaml',
'drugsfda': '/fields/drugsfda.yaml',
'drugshortages': '/fields/drugshortages.yaml',
'drugremsspl': '/fields/drugremsspl.yaml',
'deviceevent': '/fields/deviceevent.yaml',
'devicerecall': '/fields/devicerecall.yaml',
'deviceclass': '/fields/deviceclass.yaml',
Expand Down
Loading