node package manager

dentalofficelocation-pack

Dental Office Location: Standalone Interactive Exercise

Background

You are a North Oralington licensed general dentist working in a private suburban practice when you are approached by Duane County's St. Cabrini Adolescent Health Center (AHC). They are seeking your assistance in expanding their health services to include an oral health program to serve the underserved poor/low income adolescents in the local neighborhood. Even though you don’t have extensive experience working with young adults, you agree to help.

Your charge

After estimating that you can set aside half a day each week from your primary practice, you agree to serve as a part-time dental consultant. You have been given the responsibility of choosing a physical site location for the dental program and advising on the overall operation and design.

The St. Cabrini board of directors would like to come present your recommendations and answer any questions regarding the program design. You are scheduled to present at their next board meeting in 4 days.

Adolescents module

This interactive is a small piece of the larger Adolescents module of PASS, a population-based approach to patient services and professional success. PASS was a five-year project to build a website with tools to educate pre-doctoral dental students about patient populations and how demographics play into decision of building a successful dental practice. The PASS content and interactives are being migrated to a sustainable home in the Health Resources and Services Administration Train environment.

This and other interactives were developed by the Columbia University College of Dental Medicine in collaboration with the Columbia University Center ror Teaching & Learning (CTL).

REQUIREMENTS

npm webpack

DEV INSTALLATION

  1. Clone the repository
  2. Type make runserver. This command will install the necessary npm modules, build the bundle and spin up Webpack's dev server.
  3. Navigate to http://localhost:8080.
  4. Play around with the interactive!

NPM INSTALLATION

  1. npm install dentalofficelocation-pack
  2. ./node_modules/webpack/webpack.js --output-path <output_path> --config ./node_modules/dentalofficelocation-pack/webpack.config.js
  3. Embed the interactive via an iframe.
<code>
    <iframe src="<server>/<output_path>/index.html"></iframe>
</code>

Configuration

The interactive will alert the user on page navigation if the activity is not yet complete. To turn off this behavior, add a quiet=1 parameter to the url. For example:

<code>
    <iframe src="<server>/<output_path>/?quiet=1"></iframe>
</code>