Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running the fb.create({'resourceType': 'Patient'}) #2

Open
ShaikhSuf opened this issue Mar 12, 2021 · 0 comments
Open

Error while running the fb.create({'resourceType': 'Patient'}) #2

ShaikhSuf opened this issue Mar 12, 2021 · 0 comments

Comments

@ShaikhSuf
Copy link

Hi,

I tried to follow the example in this repository.
` try:
fb = fhirbase.FHIRBase(conn)

    print('Create patient')
    patient = fb.create({'resourceType': 'Patient'})
    print(patient)` 

This throws the following error:-

psycopg2.errors.UndefinedFunction: function fhirbase_create(unknown) does not exist
LINE 1: SELECT fhirbase_create('{"resourceType": "Patient"}')
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.

Thanks,
-Sufian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant