I am researching to see if OpenMRS can be used for GP systems in the UK. One of the requirements for such a system is to implement an extension of FHIR API (the standard is known as GPConnect) to ease interoperability. GPConnect is an set of profiles base on STU3 FHIR profiles (eg. GPConnect patient resource: https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1)
I want to start by building a proof of concept that is basically an OpenMRS deployment with a module adding the GPConnect functionality. I want to create a new module, re-using and extending the
openmrs-module-fhir module already existing.
Given I am new to OpenMRS, I am looking for advice on how to extend existent modules? One way I read about is importing the base module as dependency, are there other ways?