Hello Ralph goodwork on the diagram - its always hard getting your head around this stuff.
The second architecture you posted is of a Rich Internet Application, this is not what Open MRS is built on, Rich Internet Applications are usually built on something like MS silverlight. @judeniroshan page is quite good and explains a lot but I think that you are after a bit more detail?
I am really just an implementer so i cant really help much maybe some of the more wise developer types can help
there are a few postes around though - here are a few i have found
@gsluthra posted a high level architecture diagram for Bahmni here: https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Architecture
@jthomas had a design forum on the subject - Design Forum 2017-07-17: Sync 2.0 architecture draft
@burke @wyclif and @lluismf have a good discussion on it here Getting to know the architecture of the openmrs code base
I hope that helps
Norvan