FHIR Module deployment Issue

Hi,

  1. Downloaded latest OpenMRS 2.3 Standalone package
  2. Deployed the FHIR module in to modules and getting following exception

WARN - ModuleFactory.startModuleInternal(792) |2016-07-05 10:04:16,205| Error while trying to start module: fhir org.openmrs.module.ModuleException: Module requires version matching 2.0.0-beta. Current code version is 1.12.0 at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:350) at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:643) at org.openmrs.api.context.Daemon$1.run(Daemon.java:70)

Would like to know how to fix this.

thanks

The snapshot version of this module requires openmrs platform 2.0 and above. So you need to switch from platform 1.12.0 to platform 2.0

You can either use the released platform 2.0 beta version, or compile it yourself from source using the 2.0.x branch of https://github.com/openmrs/openmrs-core

Hi. Thank you very much. As far as I can see the pre 2.0 versions supports the FHIR module v 0.9 which does not allows updates …

{ “resourceType”: “OperationOutcome”, “issue”: [ { “severity”: “error”, “details”: “No resource method available for POST operation[Observation/] with parameters []” }] }

And if someone would like to create/update let say Observations via REST api the only robust way for v.1.12 is to use classical openMRS restful API

curl -X POST --header ‘Content-Type: application/json’ --header ‘Accept: text/html’ -d ‘{ “formFieldPath”: “string”, “concept”: “string”, “person”: “string”, “order”: “string”, “location”: “string”, “obsDatetime”: “string”, “formFieldNamespace”: “string”, “groupMembers”: “string”, “value”: “string”, “accessionNumber”: “string”, “encounter”: “string”, “comment”: “string”, “valueModifier”: “string”, “valueCodedName”: “string” }’ ‘http://localhost:8080/openmrs/ws/rest/v1/obs

does it make sense , could you please confirm is appropriate ?

@abtimo can you use the latest version of the module? http://mavenrepo.openmrs.org/nexus/service/local/repositories/modules/content/org/openmrs/module/fhir-omod/1.6/fhir-omod-1.6.jar After download, you will need to rename it to fhir-1.6.omod

@surangak i have always wanted to update modulus with released versions of this module but have not been able to do so because i do not have the required permissions. Can you add me or at the very least upload the latest version of this module? :smile: