Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
dennisforthewin-openmrs-form-engine-lib
Advanced tools
:wave: New to O3? Be sure to review the OpenMRS 3 Frontend Developer Documentation. You may find the Map of the Project especially helpful. :teacher:
The OpenMRS Form Engine is simply a React component that renders forms based on the AMPATH Forms Schema. The AMPATH forms are well defined here. The origins of this react-based project were made possible thanks to the UCSF-OHRI project in 2022 and moved to the community in 2023.
You can find for more details, Technical guides, and other docs bundled within the official documentation.
NB: The engine is a library and not an O3 MF module. That being said, it can be consumed by bundling it within an ESM or custom frontend app that incorporates it within a UI workflow.
You must have git, node, npm, and yarn installed. The versions required are
yarn add @openmrs/openmrs-form-engine-lib@latest
import React from 'react';
import { OHRIForm, OHRIFormSchema, SessionMode } from '@openmrs/openmrs-form-engine-lib';
import { useFormsJson } from './forms-utils'
function FormRenderTest () {
const { formJson, _ } = useFormsJson(...);
// other declarations
return <OHRIForm formJson={formJson} patientUUID={patientUUID} mode={SessionMode.ENTER} />;
}
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
yarn
yarn build
cd path/to/openmrs-esm-form-builder
yarn link path/to/openmrs-form-engine-lib
The linking is what allows you to see your changes locally.
yarn start
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
https://github.com/openmrs/openmrs-form-engine-lib/issues
Distributed under the MPLv2 with Healthcare Disclaimer License. See LICENSE.txt
for more information.
FAQs
A React based Forms Engine for OpenMRS 3.X
The npm package dennisforthewin-openmrs-form-engine-lib receives a total of 2 weekly downloads. As such, dennisforthewin-openmrs-form-engine-lib popularity was classified as not popular.
We found that dennisforthewin-openmrs-form-engine-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.