Update the detail schema builder to cope with our new schema architecture.

refs openhealthcare/elcid#239