Updates

I rounded up the creation of the custom elements for the FHIR observation resource this week by creating custom elements. I decided to bring together custom elements for most of the observation resources I have created so far. Because there are various categories of observations ranging from vital signs to labs and different use of observation resource from a physician making an observation in an observation note, to a record of vital signs and to the ordering and reporting of labs. I think the components would have a wide range of use. Below is a snippet of some of the components.

While a majority of the components have input fields in form of textboxes and drop down menus, I felt that the reference range component should use a span tag. This is because, it would be rather unusual to have a physician/radiologist/lab technician inputting the reference range of an observation. It seems like its general practice that those values are displayed based on the age and population the patient belongs.

I ran into some challenges while implementing some of the created components within other components. While these components works as expected while implemented alone, there seems to be some data binding problems when used with other components. This is as a result of the attribute/property relationship in LitElement. I am currently reading on how to solve this and hopefully come up with a solution over the weekend

I will start working on the creating custom elements for medication resources next week