From MiniAppSettings.yaml (chernobyl/MiniAppSettings.schema
)
---
hospitals: [ktph]
intents: [guideline, document, guidelines]
timezone: Asia/Singapore
airtable:
url: airtable://appV7DXQfqG297rqc/Guidelines
fields:
- column: Title
key: title
search: tokenize
- column: Tags 1
key: tags_1
search: tokenize
type: strings
- column: Tags 2
key: tags_2
search: tokenize
type: strings
- column: Associations
key: author
type: strings
search: name
- column: Year
key: year
- column: content.pdf
key: document_url
type: string
- column: Email
key: email
type: string
search: email
- column: pages.json
key: document_pages
search: document
type: json_url
style:
carousel:
button_text: Open
button_text_2: Find Within
button_url: ${document_url}
button_url_2: "{% if has_searchable_document_pages %}http://localhost:9005/chernobyl/app/ktph-documents?document_answer_id=${answer_id}&query=${search_query}{% else %}{% endif %}"
logo: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
style: ONE_PER_RECORD
subtitle: ${year} - ${author}
title: ${title}
document:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
subtitle: ${title}
title: Document Search
quick_reply:
text: "KTPH Documents: ${search_query}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
row:
content: |
tags: ${tags_1} ${tags_2}
document_pages: ${document_pages}
document_url: ${document_url}
subtitle: ${year} - ${author}
title: ${title}
subtitle: KTPH Documents
---
airtable:
url: airtable://appTlo8PKhRTDeopL/Calculators
style:
carousel:
button_kwargs:
external_browser: false
iframe: true
button_text: Open
button_url: ${url}
style: ONE_PER_RECORD
description: ${description}
logo: ${logo}
subtitle: ${source}
title: ${title}
quick_reply:
text: "Calculators: ${search_query}"
fields:
- column: Title
key: title
- column: Description
key: description
- column: URL
key: url
- column: Source
key: source
- column: Logo
key: logo
- column: Alternate Names
key: alternate_names
search: default
type: strings
intents: [calculate, calculator, mdcalc, qxmd, calc, tool]
tags: [calculators_accessible]
---
intents: [mediview, images, image, image of, images of, picture, picture of, pictures, pictures of, pic of]
style:
carousel:
button_text: Open
logo: https://stitch.staging.botmd.io/botmd-staging-chatterbox-static/fleming/mediview.png
subtitle: ${query_without_intent}
title: Mediview
button_url: https://www.mediview.sg/keyword/n-zXKQXN/${query_without_intent}/
style: ONE_PER_APP
tags: [Mediview_accessible]
---
style:
carousel:
button_text: Open
button_url: http://127.0.0.1:9005/chernobyl/parkway/app/parkwayradio-patient?query=${query_without_intent}
logo: https://hippocrates.staging.botmd.io/v1/partner/logos/parkwayradio/full.png
style: ONE_PER_APP
subtitle: ${search_query}
title: Parkway Patient Report
quick_reply:
text: "Patient: ${query_without_intent}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/parkwayradio/full.png
row:
content: |2
Phone: ${phone_no}
Scheduled For: ${scheduled_for}
cta_text: ${action_title}
cta_url: ${action_url}
subtitle: ${exam_name}, ${exam_modality} (${facility_name})
title: ${first_name} ${last_name} (${national_id})
title: Parkway Patient Report
fields:
- key: phone_no
- key: scheduled_for
- key: exam_name
- key: exam_modality
- key: facility_name
- key: first_name
- key: last_name
- key: national_id
- key: action_title
- key: action_url
hospitals: [parkwayradio]
intents: [radiology report, mri report, ct report, patient report]
---
style:
carousel:
style: ONE_PER_APP
button_text: Open
logo: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
subtitle: ${search_query}
title: Roche Clinical Trials
button_url: https://stitch-v3.staging.botmd.io/jpuo8jhkmr05ldyT?query=${search_query}
quick_reply:
text: "Clinical Trials: ${search_query}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
row:
content: |-
{% if imp %}IMP: ${imp}
{% endif %}{% if css %}CSS: ${css}
{% endif %}{% if trial_status %}Trial Status: ${trial_status}
{% endif %}{% if recruiting %}Recruiting: ${recruiting}
{% endif %}{% if gov_id %}ClinicalTrials.gov ID: ${gov_id}
{% endif %}{% if site %}Site: ${site}
{% endif %}{% if pi %}Principals Investigator(s): ${pi}
{% endif %}{% if first_patient %}Planned First Patient In: ${first_patient}
{% endif %}{% if keywords %}Keywords: ${keywords}
{% endif %}
subtitle: ${protocol_title}
title: ${study_name} (${protocol_number})
title: Roche Clinical Trials
fields:
- column: Protocol Number
key: protocol_number
search: default
- column: Study Name
key: study_name
search: tokenize
- column: Protocol Title
key: protocol_title
search: tokenize
- column: Roche CSS
key: css
search: tokenize
- column: IMP
key: imp
search: default
type: strings
- column: Trial Status
key: trial_status
- column: Recruiting
key: recruiting
- column: ClinicalTrials.gov Identifier
key: gov_id
search: default
- column: Site(s)
key: site
search: default
type: strings
- column: Principals Investigator(s)
key: pi
search: tokenize
type: strings
- column: Planned First Patient In
key: first_patient
- column: Keywords
key: keywords
search: tokenize
type: strings
gsheets:
urls: ["https://docs.google.com/spreadsheets/d/1KxbV7EqoHyB-Au54afhPx4jKQJIDFMSqxWu5TMydYZ0/edit#gid=0", "https://docs.google.com/spreadsheets/d/1KxbV7EqoHyB-Au54afhPx4jKQJIDFMSqxWu5TMydYZ0/edit#gid=1525990111"]
hospitals: [roche]
intents: [clinical trials, trials, clinical]
---
style:
carousel:
button_text: Open
button_url: https://stitch-v3.staging.botmd.io/tkJdV7ynEasnoNdR?query=${search_query}
logo: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
style: ONE_PER_RECORD
subtitle: |
${license_number}
${country_region}
title: "Product: ${drug_product}"
quick_reply:
text: "Roche Products: ${search_query}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
row:
content: |2-
Registration Status: ${registration_status} (${registration_status_date})
Expiration Date: ${expiration_date}
Marketing Status & Date: ${marketing_status} (${marketing_date})
{% if active_ingredient %}Active Ingredient: ${active_ingredient}{% endif %}
{% if singapore_product_insert %}SG Product Insert: ${singapore_product_insert}{% endif %}
Indication(s):
${indications}
subtitle: ${product_family}, ${country_region}
title: ${drug_product} (${license_number})
subtitle: Current Registration Status Report 1 Apr 2022
title: Roche Products
fields:
- key: country_region
search: default
- key: drug_product
search: tokenize
- key: license_number
search: default
- key: product_family
search: tokenize
- key: expiration_date
- key: indications
- key: marketing_date
- key: marketing_status
- key: registration_status
- key: registration_status_date
- key: active_ingredient
- key: singapore_product_insert
- key: route_of_administration
- key: sales_marketing_provider
- key: ordering_invoicing_delivery
- key: owner
- key: divesments_deregistration
- key: local_distributor
hospitals: [roche]
intents: [registration, status, report, registration status, status report, indications]
# product_information_gsheet_url: https://docs.google.com/spreadsheets/d/1bSz7LInDocWF73wvKBEn20j9n5mrMghRP9EJeBg2-E8/edit#gid=1351352631
# gdrive_file_id: 1EytimqbYEUSigREi83tNAhlZBWVMcV8-
timezone: Asia/Singapore
---
gsheets:
sheet_name: Active Sheet
url: https://docs.google.com/spreadsheets/d/1s4J2ujIkyUiTX4xYeEJ_NEvo3LjPcupP4-n1CUkDk2I
fields:
- column: Title
key: title
search: tokenize
- column: Tags
key: tags
search: tokenize
type: strings
- column: Author
key: author
type: strings
- column: Year
key: year
- column: Status
key: status
- column: Metadata
key: document_url
type: string
field_path: user_metadata.stitch_url
- column: Metadata
key: document_pages
search: document
type: json_url
field_path: user_metadata.pages_url
hospitals: [roche]
intents: [guidelines, guide, protocol, guideline, document, P&P]
style:
carousel:
button_text: Open
button_text_2: Find Within
button_url: ${document_url}
button_url_2: "{% if has_searchable_document_pages %}http://localhost:9005/chernobyl/app/roche-documents?document_answer_id=${answer_id}&query=${search_query}{% else %}{% endif %}"
logo: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
style: ONE_PER_RECORD
subtitle: ${year} - ${author}
title: ${title}
document:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
subtitle: ${title}
title: Document Search
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/roche/full.png
row:
content: |
tags: ${tags}
document_pages: ${document_pages}
document_url: ${document_url}
subtitle: ${year} - ${author}
title: ${title}
subtitle: Roche SG Documents
timezone: Asia/Singapore
---
airtable:
urls: ["airtable://appcLFVaFObdd8lTO/Physician%20Directory", "airtable://appcLFVaFObdd8lTO/Location%20Directory"]
fields:
- column: Display Name
key: name
search: tokenize
- column: Designation
key: designation
search: tokenize
type: string
- column: Department
key: department
type: strings
- column: Phone No.
key: phone
type: string
hospitals: [ktph]
intents: [contact, phone, phone no., pager, call, hp, tel, telephone, number, contact number, whois, who is]
style:
message:
message_body:
text: |
Were you looking for the following people?
{% for entry in entries %}
📞 {{ entry.name }} ({{ entry.designation }})
{{ entry.department }}
{{ entry.phone }}
{% endfor %}
{% if exceeded %}
{{ exceeded }} more entries...
{% endif %}
type: text
entries_limit: 3
quick_reply:
text: "Directory: ${query_without_intent}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
row:
content: |
phone: ${phone}
subtitle: ${department}
title: ${name} (${designation})
subtitle: KTPH Directory
timezone: Asia/Singapore
---
airtable:
urls: ["airtable://appcLFVaFObdd8lTO/Physician%20Directory", "airtable://appcLFVaFObdd8lTO/Location%20Directory"]
fields:
- column: Display Name
key: name
search: tokenize
- column: Designation
key: designation
search: tokenize
type: string
- column: Department
key: department
type: strings
- column: Phone No.
key: phone
type: string
hospitals: [ktph]
intents: [contact, phone, phone no., pager, call, hp, tel, telephone, number, contact number, whois, who is]
style:
message:
message_body:
sections:
- paragraphs:
- title: ${name} (${designation})
type: title
- subtitle: ${department}
type: subtitle
- text: ${phone}
type: text
type: paragraphs
- actions:
- button:
style: cta
text: Open
url: https://stitch-v3.staging.botmd.io/Ou91fYycx0gyhctV?query=${search_query}
type: button
- button:
style: link
text: Open
url: https://stitch-v3.staging.botmd.io/Ou91fYycx0gyhctV?query=${search_query}
type: button
type: actions
type: sections
carousel_mode: one_per_record
entries_limit: 3
quick_reply:
text: "Directory: ${query_without_intent}"
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
row:
content: |
phone: ${phone}
subtitle: ${department}
title: ${name} (${designation})
subtitle: KTPH Directory
timezone: Asia/Singapore
---
einstein:
module_uid: HuC4ZbB0aXMIG4J1lk4XLV7p5UBRctoa
fields:
- column: effectiveTitle
key: title
search: tokenize
- key: tags
search: tokenize
type: strings
- key: author
type: strings
- key: year
- column: pdfFileStitchUrl
key: document_url
type: string
- column: searchablePagesUrl
key: document_pages
search: document
type: json_url
hospitals: [ktph]
intents: [guideline, document, guidelines]
style:
table:
logo_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
row:
content: |
tags: ${tags}
document_url: ${document_url}
subtitle: ${year} - ${author}
title: ${title}
image_url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
subtitle: KTPH Documents
timezone: Asia/Singapore
---
chemocalc:
regimens:
url: airtable://apptoxWHTERjQ6RK8/NEW Regimen List
drug_dose:
url: airtable://apptoxWHTERjQ6RK8/NEW Regimen Builder
price_list:
url: airtable://apptoxWHTERjQ6RK8/NEW Price List
report:
left_logo_url: https://botmd-production-hippocrates-static.s3.ap-southeast-1.amazonaws.com/hospital/NUHS/full_size.png
right_logo_url: https://botmd-production-hippocrates-static.s3.ap-southeast-1.amazonaws.com/hospital/NCIS/full_size.png
footer: NCIS Chemocalc
header: Last updated on xxxx
hospitals: [ncis]
intents: [chemocalc]
stop_words: [contact, calculate]
---
einstein:
data_source_uid: HuC4ZbB0aXMIG4J1lk4XLV7p5UBRctoa
sorry_message:
text: I could not find ${search_query} in the directory
type: text
hospitals: [ktph]
intents: [contact, call]
---
sorry_message:
- text: I could not find ${search_query} in the directory
type: text
- text: ciao
type: text
hospitals: [ktph]
intents: [contact, call]
perfect_requires_intent: true
rank: 1
rank_group: cgh-directory
---
specificity: 0.5
f1_beta: 0.5
denoise: false
style:
message:
carousel_mode: one_per_record
message_body:
sections:
- type: video
video:
hide: "{% if file_url %}false{% else %}true{% endif %}"
url: ${file_url}
- image:
hide: "{% if document_url %}false{% else %}true{% endif %}"
url: https://hippocrates.staging.botmd.io/v1/partner/logos/ktph/full.png
type: image
- paragraphs:
- title: ${title}
type: title
- subtitle: ${year}
type: subtitle
type: paragraphs
- actions:
- button:
content_type: text/html
hide: "{% if document_url %}true{% else %}false{% endif %}"
style: cta
text: View File
url: ${document_url}
type: button
- button:
content_type: text/html
hide: "{% if has_searchable_document_pages %}true{% else %}false{% endif %}"
style: cta
text: Find Within
url: "{% if has_searchable_document_pages %}https://apps.staging.botmd.io/document?document_answer_id=${answer_id}&query=${search_query}&miniapp=ktph-documents-einstein&x-session=${session}{% else %}{% endif %}"
type: button
type: actions
type: sections