Logo
    Search

    How to build open source apps in a highly regulated industry

    enJune 28, 2024

    Podcast Summary

    • Healthcare software regulationsUnderstanding healthcare regulations and mapping them to specific technical implementations is crucial for developers in regulated industries like healthcare to pass audits.

      Creating software in a regulated industry like healthcare comes with unique challenges for developers. MedPlum, an open source electronic health record development platform, is an example of this. The regulations and programs governing healthcare applications require specific technical implementations, such as data privacy regulations like HIPAA, and specific interfaces mandated by the government. Developers cannot create their own data models or identity management systems; instead, they must inherit them from the regulations. Interpreting these regulations correctly and mapping them to the regulated environment is crucial to pass audits. The Smart on FHIR specification, which is similar to OAuth 2 but more specific to healthcare, adds on extra scopes and a data model. While it simplifies some aspects, it also adds complexity. Overall, the process of creating software in a regulated industry requires a deep understanding of both the technical and regulatory aspects.

    • Regulatory testing in healthcareRegulatory testing is crucial in healthcare, and TDD, source control, and a strong understanding of regulations are essential to ensure applications pass regulatory scenarios and maintain compliance.

      In the healthcare industry, adhering to regulations while maintaining a fast pace of development is crucial. The Center for Medicare and Medicaid Services (CMS) provides a test harness named Inferno to ensure applications pass regulatory scenarios. Test-driven development (TDD) is essential in this context, as it allows for rigorous testing and change management. Regulations are tagged with tests and documentation in source control, making it easier to track when changes were made and passed. However, the large surface area of functionality required in regulated industries can make it challenging to ensure all less frequently used features are tested. The ONC certification process involves demonstrating application functionality in a lab setting, with annual audits. Open source software can add complications due to regulatory misunderstandings, but it also offers benefits such as community collaboration and additional eyes on the code. Overall, TDD, source control, and a strong understanding of regulations are key to navigating the complexities of developing in a regulated industry.

    • Regulated industry complianceIn regulated industries, focusing on code compliance through tools and infrastructure as code, maintaining a robust CI/CD process, and understanding data flow, specialized skills, and potential non-compliant patterns are crucial for avoiding fines and legal consequences.

      In a regulated industry, ensuring compliance involves dealing with both code and infrastructure. For software providers, focusing on code compliance through tools like code scanners and infrastructure as code is crucial. Maintaining a robust CI/CD process with continuous testing and updates is essential for releasing changes confidently. From an engineering perspective, working in a regulated industry requires understanding data flow, specialized skills in data platforms and pipelines, and a keen awareness of potential non-compliant patterns like unauthenticated access, cookies, and impersonation. The healthcare industry, in particular, has shown that ignoring these issues can lead to fines and legal consequences.

    • Regulated industries cross-functional skillsEngineers with cross-functional skills, including regulatory navigation, effective communication, and technical-non technical bridge building, are highly valued in regulated industries. Logging, observability, flexibility, and good change history are essential for maintaining regulatory requirements.

      In regulated industries, cross-functional skills are highly valued for building and certifying apps. Engineers with the ability to navigate regulations, communicate effectively, and bridge the gap between technical and non-technical aspects are extremely valuable. Compliance is a critical consideration at every level, and logging and observability are essential for maintaining regulatory requirements. Flexibility and a good change history are necessary to adapt to changing regulations. Tools like Vanta, Secure Frame, CDK, and DocuSaurus have made it easier for organizations in regulated industries to manage compliance and maintain documentation effectively. Overall, regulations provide a framework for creating ethical and secure software, and the increasing literacy and tooling in this area is a positive development.

    • Healthcare data challengesThe digitization of healthcare presents challenges related to data quality, governance, and security, but AI and other tools can help address these issues and improve patient care. Collaboration between stakeholders is crucial to ensuring secure and effective use of healthcare data.

      The digitization of healthcare is a promising development, but it also presents challenges related to data quality, governance, and security. The increasing use of technology in healthcare, such as GitHub actions and CICD, can save time and improve efficiency. However, the vast amount of unstructured medical data and the need for robust identity matching pose challenges. AI and other tools can help address these challenges by handling poor data quality and unstructured data. Additionally, there is a missed opportunity to utilize and reuse medical data to improve patient care. The future of healthcare data management lies in the development of nuanced tools that allow patients to control access to their data. However, governance and security remain unsolved issues, and the potential risks of data breaches and unauthorized access are significant. Community-wide initiatives and collaboration between stakeholders, including regulators, healthcare providers, and technology companies, will be crucial in addressing these challenges and ensuring the secure and effective use of healthcare data.

    • Insurance industry innovationThe insurance industry, like finance and healthcare, can benefit from innovation and knowledge sharing to overcome complexities and challenges

      The insurance industry, like healthcare and finance before it, is ripe for innovation and transformation. The complexity and difficulty of making changes to insurance plans and policies mirrors the challenges faced in finance during its fintech revolution. Any industry where getting things done and achieving desired outcomes is a struggle is ripe for disruption. A specific example of this was addressed during the show when the difference between Bitteray and Bull was clarified. KVAM, a Stack Overflow user, provided an answer to a question that had been saved from the dustbin of history. This serves as a reminder that the insurance industry, like other industries, can benefit from the sharing of knowledge and expertise. Overall, the discussion underscores the importance of innovation and the power of knowledge sharing in addressing the challenges and complexities of various industries.

    Recent Episodes from The Stack Overflow Podcast

    How to build open source apps in a highly regulated industry

    How to build open source apps in a highly regulated industry

    Before Medplum, Reshma founded and exited two startups in the healthcare space – MedXT (managing medical images online acquired by Box) and Droplet (at-home diagnostics company acquired by Ro). Reshma has a B.S. in computer science and a Masters of Engineering from MIT.

    You can learn more about Medplum here and check out their Github, which has over 1,200 stars, here.

    You can learn more about Khilnani on her website, GitHub, and on LinkedIn.

    Congrats to Stack Overflow user Kvam for earning a Lifeboat Badge with an answer to the question: 

    What is the advantage of using a Bitarray when you can store your bool values in a bool[]?

    A very special 5-year-anniversary edition of the Stack Overflow podcast!

    A very special 5-year-anniversary edition of the Stack Overflow podcast!

    Cassidy reflect on her time as a CTO of a startup and how the shifting environment for funding has created new pressures and incentives for founders, developers, and venture capitalists.

    Ben tries to get a bead on a new Moore’s law for the GenAI era: when will we start to see diminishing returns and fewer step factor jumps? 

    Ben and Cassidy remember the time they made a viral joke of a keyboard!

    Ryan sees how things goes in cycles. A Stack Overflow job board is back! And what do we make of the trend of AI assisted job interviews where cover letters and even technical interviews have a bot in the background helping out.

    Congrats to Erwin Brandstetter for winning a lifeboat badge with an answer to this question:  How do I convert a simple select query like select * from customers into a stored procedure / function in pg?

    Say goodbye to "junior" engineering roles

    Say goodbye to "junior" engineering roles

    How would all this work in practice? Of course, any metric you set out can easily become a target that developers look to game. With Snapshot Reviews, the goal is to get a high level overview of a software team’s total activity and then use AI to measure the complexity of the tasks and output.

    If a pull request attached to a Jira ticket is evaluated as simple by the system, for example, and a programmer takes weeks to finish it, then their productivity would be scored poorly. If a coder pushes code changes only once or twice a week, but the system rates them as complex and useful, then a high score would be awarded. 

    You can learn more about Snapshot Reviews here.

    You can learn more about Flatiron Software here.

    Connect with Kirim on LinkedIn here.

    Congrats to Stack Overflow user Cherry who earned a great question badge for asking: Is it safe to use ALGORITHM=INPLACE for MySQL?

    Making ETL pipelines a thing of the past

    Making ETL pipelines a thing of the past

    RelationalAI’s first big partner is Snowflake, meaning customers can now start using their data with GenAI without worrying about the privacy, security, and governance hassle that would come with porting their data to a new cloud provider. The company promises it can also add metadata and a knowledge graph to existing data without pushing it through an ETL pipeline.

    You can learn more about the company’s services here.

    You can catch up with Cassie on LinkedIn.

    Congrats to Stack Overflow user antimirov for earning a lifeboat badge by providing a great answer to the question: 

    How do you efficiently compare two sets in Python?

    The world’s most popular web framework is going AI native

    The world’s most popular web framework is going AI native

    Palmer says that a huge percentage of today’s top websites, including apps like ChartGPT, Perplexity, and Claude, were built with Vercel’s Next.JS. 

    For the second goal, you can see what Vercel is up to with its v0 project, which lets developers use text prompts and images to generate code. 

    Third, the Vercel AI SDK, which aims to to help developers build conversational, streaming, and chat user interfaces in JavaScript and TypeScript. You can learn more here.

    If you want to catch Jared posting memes, check him out on Twitter. If you want to learn more abiout the AI SDK, check it out 

    here.

    A big thanks to Pierce Darragh for providing a great answer and earning a lifeboat badge by saving a question from the dustinbin of history. Pierce explained: How you can split documents into training set and test set

    Can software startups that need $$$ avoid venture captial?

    Can software startups that need $$$ avoid venture captial?

    You can find Shestakofsky on his website or check him out on X.

    Grab a copy of his new book: Behind the Startup: How Venture Capital Shapes Work, Innovation, and Inequality. 

    As he writes on his website, the book:

    Draws on 19 months of participant-observation research to examine how investors’ demand for rapid growth created organizational problems that managers solved by combining high-tech systems with low-wage human labor. The book shows how the burdens imposed on startups by venture capital—as well as the benefits and costs of “moving fast and breaking things”—are unevenly distributed across a company’s workforce and customers. With its focus on the financialization of innovation, Behind the Startup explains how the gains generated by tech startups are funneled into the pockets of a small cadre of elite investors and entrepreneurs. To promote innovation that benefits the many rather than the few, Shestakofsky argues that we should focus less on fixing the technology and more on changing the financial infrastructure that supports it.

    A big thanks to our user of the week, Parusnik, who was awarded a Great Question badge for asking: How to run a .NET Core console application on Linux?

    An open-source development paradigm

    An open-source development paradigm

    Temporal is an open-source implementation of durable execution, a development paradigm that preserves complete application state so that upon host or software failure it can seamlessly migrate execution to another machine. Learn how it works or dive into the docs. 

    Temporal’s SaaS offering is Temporal Cloud.

    Replay is a three-day conference focused on durable execution. Replay 2024 is September 18-20 in Seattle, Washington, USA. Get your early bird tickets or submit a talk proposal!

    Connect with Maxim on LinkedIn.

    User Honda hoda earned a Famous Question badge for SQLSTATE[01000]: Warning: 1265 Data truncated for column.