@fitpeo/fit-plan-viewer
v0.4.11
Published
React reusable component for patients plans
Downloads
52
Keywords
Readme
React Reusable Patient Plan View Component
Props
It accepts 11 props:
- plan type('ccm' or 'rpm' or 'pcm') eg: type='ccm'
- patientInfoDetail={object}
- plan={object}
- addedBy = {name, userType} // who added the plan
- planIcds = {planIcds} // array of icds of current plan
- isDarkMode (optional) => true/false; by default false
- providers = ["provider name1", "provider name2", "", "", ...]
- practitioners = ["practitioner name1", "practitioner name2", "", "", ...]
- caretakers = [{firstName, middleName, lastName}, {firstName, middleName, lastName}, ...]
- planDate = {planDate} // Date Of Service string
- userType = {"patient"} // effective in patient portal only
Usage
import PlanView from "@fitpeo/fit-plan-viewer";
<PlanView
type="ccm"
patientInfoDetail={patientInfoDetail}
providers={providers}
practitioners={practitioners}
caretakers={caretakers}
planIcds={planIcds}
addedBy={addedBy}
plan={plan}
planDate={planDate}
userType={"patient"}
/>
License
MIT © Fitpeo