It is necessary to install the healthshare irisfhir server first
Embedded Python requires installation
① Pip install pytesseract
② Pip install zhipuai
Windows: https://digi.bib.uni-mannheim.de/tesseract/
Linux/Mac https://tesseract-ocr.github.io/tessdoc/Installation.html
Create SSL/tls www.google-analytics.com
imagetofhirresource
tips:After installing the fhir server, it is necessary to import the production class or create new related BS and BO
ip:port/csp/fhir-ocr-ai/index1.csp
Enter the settings page first after accessing
① : Set backend access IP and address
② : Google Bard Cookie
Need to have an account that can access Google Bard
③ Zhipu’s personal key https://open.bigmodel.cn/usercenter/apikeys
④ update Add Authorization configuration to fill in the Authorization of the fhir server interface
① Upload relevant images or prescription forms
② : Send request
③ Obtain the text on the image, which can be manually modified
④ : Select the type of resource you want to generate
⑤ : Select AI type
⑥ Upload text information to the interface
⑦ Obtained corresponding resources, can be manually modified
⑧ : Select resource type
⑨ Sent to the fhir server, with a status code of 201 if there is no problem with the resource. If there is a problem with the resource, relevant prompts will be displayed
If the message is successfully sent
Relevant information can be queried on the select page
① : Select resource type
② : Click on query
③ : Can view detailed information