Name of Application: Solid Health
Report issues at: Profile - DylanStorey - Solid Community Forum
Description: Application for storing and accessing medical health records in Solid pods
Code Repository: Dylan Storey / Solid Health App · GitLab
Over the past few months, I’ve been attempting to develop a Solid application for storing medical records in user’s pods and granting access to other users as required, with the overall aim of using my developer experience as an evaluation of the maturity of the Solid ecosystem.
I’ve found that most of the functionality that I wanted from the application is supported by the Solid package that I was using, but unfortunately I was unable to get the application hosted on a live server due to issues with the package when deploying - so the application can only be run locally for the moment.
I’m posting about this here because I believe I’ve developed some features in the application that may be useful to other developers using Solid, namely:
Dynamic building of a Thing based on the presence or absence of data provided by user input (podWriter.js:160)
Generic way of reading and displaying properties and values of Things stored in a Dataset, regardless of property names of the Thing (index.js:672)
Generic function to insert new Things into a Dataset, given an object containing property-value pairs and the Dataset URI (podWriter.js:225)
Deleting a solid Container, by cycling through contained Containers and Datasets and deleting each before deleting the overall Container (podWriter.js:260)
Retrieve all Things within a Dataset and provide access for an individual to a subset of the Things based on search condition, by inserting the subset to a new Dataset (index.js:893)
A diagram to show the application data stored in the user’s pod, including the overall number of Containers, Datasets and Things related to the application (index.js:984)
Hopefully some of you find some of the source code useful and can use it in your own development. If anyone has any feedback about any aspect of the application please comment or send me a message - I’d love to hear it!
Also a huge thanks to those of you who have helped me with development issues I’ve had throughout the process. As you probably know it can be quite frustrating developing in this space where few resources exist on the Web, so the help of this community was truly invaluable.