{"id":18871124,"url":"https://github.com/hapifhir/playground-basic-test-app-react","last_synced_at":"2026-02-15T06:30:18.415Z","repository":{"id":82149960,"uuid":"283853816","full_name":"hapifhir/playground-basic-test-app-react","owner":"hapifhir","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-13T15:25:33.000Z","size":180,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-12-31T00:12:29.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hapifhir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T18:53:34.000Z","updated_at":"2024-11-13T15:25:37.000Z","dependencies_parsed_at":"2023-03-01T02:30:59.427Z","dependency_job_id":null,"html_url":"https://github.com/hapifhir/playground-basic-test-app-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapifhir%2Fplayground-basic-test-app-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapifhir%2Fplayground-basic-test-app-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapifhir%2Fplayground-basic-test-app-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapifhir%2Fplayground-basic-test-app-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapifhir","download_url":"https://codeload.github.com/hapifhir/playground-basic-test-app-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239818847,"owners_count":19702221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T05:24:28.700Z","updated_at":"2026-02-15T06:30:18.355Z","avatar_url":"https://github.com/hapifhir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HAPI FHIR Playground: Basic Test App\n\nThis project is a skeleton project for querying data from the [HAPI FHIR public test server](http://hapi.fhir.org/baseR4)\n\n### Getting Started:\n\n- [ ] Take a few minutes to familiarize yourself with the [FHIR Standard](http://hl7.org/fhir/) for health data exchange. In particular you might want to read the [Executive Summary](http://hl7.org/fhir/summary.html) and the [Developer Introduction](http://hl7.org/fhir/overview-dev.html)\n\n- [ ] In addition, take a few minutes to familiarize yourself with [React](https://reactjs.org/docs/getting-started.html).\n\n- [ ] Please don't fork this repository. Clone this repository and set the git remote to your copy of the github repository and push it there.\n\n- [ ] Run `npm install` to install depedencies and `npm start` to start the project. App runs on `http://localhost:3000/`\n\n### Basic Tasks:\n\n- [ ] Add a `Table` class component and populate it with results from the `getPatients()` function.\n\n- [ ] Sort the table based on youngest birthdate to oldest.\n\n* [ ] Add a search function to the page. Add two inputs to `Table` component - a textbox that takes in a name (it can be the first or last name of a patient), and a date picker for date of birth. Modify the query and function `getPatients()` to include search results for a `Patient` based on the name passed in, and the date of birth passed in from the date picker. The results should be reflected in the table. Use the [SearchParameters section](https://www.hl7.org/fhir/patient.html#search) to help with building your query. \n\n* [ ] Apply validation to the inputs - the name box cannot contain non-alphabetic characters, and the date field must be a valid date structure (YYYY/MM/DD).\n\n* [ ] Output the time the request was made on the page to show the results are as of that time. Display in the following format `Mon 06 Mar 2017 at 00:00:00`. For example, `Results as of Mon 06 Mar 2017 at 00:00:00`\n\n* [ ] Commit your work.\n\n### Intermediate Tasks:\n\n- [ ] Add `Questionnaire` component, generate a form using the `questionnaire.json` file in the `assets` folder. The form should have validation applied to each input and form input elements should be controlled component.\n\n- [ ] Using the results from the form, generate a [`QuestionnaireResponse`](https://www.hl7.org/fhir/questionnaireresponse.html). The `QuestionnaireResponse` should follow the structure outlined in the [Resource Content Section](https://www.hl7.org/fhir/questionnaireresponse.html#resource)\n\n- [ ] Display your results in a neat and clean manner.\n\n- [ ] Update the `Questionnaire` Component to be mobile-friendly.\n\n- [ ] Please include unit tests for your work.\n\n- [ ] Commit your work.\n\n### Advanced Tasks:\n\n- [ ] Refactor `Practitioner` class component into functional component using [React hooks](https://reactjs.org/docs/hooks-intro.html).\n\n- [ ] Add `PractitionerCard` component, display the each practitioner in card format, display data in proper format. ie. Date of birth in (YYYY/MM/DD) format, replace `undefined` value with `N/A`. Add Typechecking with [PropTypes](https://reactjs.org/docs/typechecking-with-proptypes.html).\n\n- [ ] Display loading state until the request is not complete.\n\n- [ ] Add a delete button in `PractitionerCard`, should ask for confirmation when clicked. Remove the particular `Practitioner` when confirmed. Note: No need to make server request.\n\n- [ ] Add [`ErrorBoundary`](https://reactjs.org/docs/error-boundaries.html) component, use this component to make sure it catches the javascript errors thrown from `Practitioner` component.\n\n- [ ] Commit your work.\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapifhir%2Fplayground-basic-test-app-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhapifhir%2Fplayground-basic-test-app-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapifhir%2Fplayground-basic-test-app-react/lists"}