Skip to content

Commit

Permalink
Update get_type_info
Browse files Browse the repository at this point in the history
  • Loading branch information
atuonufure committed Jan 9, 2024
1 parent 6bd1c6b commit 23eed48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhirpathpy/engine/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def get_type_info(self):
if not TypeInfo.model:
return TypeInfo.create_by_value_in_namespace(namespace=namespace, value=self.data)

return TypeInfo(namespace=namespace, name=self.path)
return TypeInfo(namespace=namespace, name='BackboneElement')

def toJSON(self):
return json.dumps(self.data)
Expand Down

0 comments on commit 23eed48

Please sign in to comment.