None of the building correctly you describe even adds substantially to the five minutes. What it comes down to is already having the full domain knowledge, or at least understanding that you don't, and working with someone who does. Frankly, you probably could have built and released yours quicker, but turns out the people with this experience aren't always as available to put the time in, because these skills have value and are in demand. There is also value in sitting on what you've done and thinking about the current completed product/section before deciding either it's good, or actually you could do a bit or a lot better, with the value of hindsight, rather than just pushing it out of the door (or more formally, testing it - internally, and end-user)
Disclaimer: I know nothing of you, your product, or medicine. I do know web development and infosec, and a bit of the overlap into GDPR, HIPAA and similar caretaking schemes.