How to convert raw text to FHIR format

Hello,

I have large data of Patients Medical Records in PDF structured, semi-structured and unstructured format.
Can anyone please guide me how I can convert all raw text to FHIR Format.
I am working on Entity Detection from PDF.
Please help me what installations I need to do. From where I need to start by using Python Language.

Thanks in Advance…!!!