Skip to content

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

@ShaikhSuf

Description

@ShaikhSuf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions