How to Solve NameError: name 'Patient' is not defined -- fhir

Solution: Import the 'Patient' module

To Solve the error, add the following line to the top of your code.

from fhir import Patient

 

For more information:
Python fhir Patient