How to write an interface for querying health codes?

You can look at the code in the teaching video to learn.

Personal Health Information Code-Application Interface (GB/T 38963-2020) is a Chinese national standard implemented on April 29, 2020, and is under the jurisdiction of the National Information Technology Standardization Technical Committee. Personal Health Information Code-Application Interface (GB/T 38963-2020) stipulates the interface rules, interface description and interface application of health service interface. This standard is applicable to the design, development and system integration of personal health information related application systems.