fhirbase / fhirbase-plv8

[DEPRECATED] Fhirbase 2.0 is an FHIR relational storage
https://health-samurai.io/fhirbase
Other
105 stars 39 forks source link

fhir_create_resource function is not found #180

Open libinks10 opened 6 years ago

libinks10 commented 6 years ago

After successful installation of fhirbase in my local machine. I couldn't find/run the function "fhir_create_resource" within the database.

I have followed the installation steps from the below mentioned link.

http://fhirbase.github.io/installation.html#

And tried the functions from the below link.

http://fhirbase.github.io/api.html

I have got an error as "ERROR: function fhir_create_resource(unknown) does not exist Hint: No function matches the given name and argument types."

Advice on this would be greatly appreciable. Thanks in Advance!

niquola commented 6 years ago

Can you list of functions in your database?

libinks10 commented 6 years ago

Thank you niquola for your kind response on this.

I have got the functions which i felt missing (such as fhir_create_resource, fhir_create_storage) when I tried the installation from the below link.

https://github.com/fhirbase/fhirbase-plv8

But I am unable to complete the installation of "Development Installation" as I am unable to execute the command mentioned below.

cat utils/patch_3.sql | psql fhirbase

I feel that the file patch_3.sql is not present in the utils folder. Kindly help to resolve this issue.