NoteWalker is a React-based application designed to search, filter, and view medical notes and their associated FHIR resources. This README provides an overview of the project, instructions for setup, and details on how to deploy the application to GitHub Pages.
- Features
- Installation
- Running the Application
- Project Structure
- Components
- Utilities
- Testing
- Deployment
- Contributing
- License
- Search medical notes by keywords.
- Advanced search with complex criteria based on FHIR resources.
- View detailed information for each note, including FHIR resource details.
- Dynamic highlighting of search terms within notes.
- Compact display of FHIR resources with badges for missing fields.
To get started with NoteWalker, clone the repository and install the dependencies:
git clone https://github.com/juegodynamics/notewalker.git
cd notewalker
npm install
To run the application locally, use the following command:
npm start
Open http://localhost:3000 in your browser to view the application.
The project structure is organized as follows:
src/
components/ # React components
data/ # Data files and mock data
utils/ # Utility functions
views/ # View components
App.tsx # Main application component
index.tsx # Entry point for React
types.ts # TypeScript type definitions
enums.ts # Enumerations used in the application
...
public/
index.html # HTML template
...
The MainView component is the landing page of NoteWalker, featuring the search bar, notes grid, and advanced search functionality.
The DetailView component displays detailed information for a selected note, including associated FHIR resources.
The NotesGrid component displays notes in a grid format, allowing users to click on a note to view its details.
The AdvancedSearchDialog component provides an interface for building and executing advanced search criteria.
The NoteCard component displays a summary of a note, including highlighting search terms.
PatientCard
ConditionCard
EncounterCard
ProcedureCard
CarePlanCard
OrganizationCard
PractitionerCard
These components display details for their respective FHIR resource types.