How to convert XML and JavaBeans in hl7-v3 message format?

CSDN Q & A 2022-02-13 05:22:19 阅读数:571

convert xml javabeans hl7-v3 hl
ggboy
 <!-- Phone number newly added --> <phone value="15111111111"/> <!-- Date of death newly added --> <deadDate value=""/> <!-- Country newly added --> <country code="156" codeSystem="2.16.156.10011.2.3.3.1" displayName=" Country "/> <!-- degree of education newly added --> <educationalLevel code="10" codeSystem="2.16.156.10011.2.3.3.6" displayName=" Education "/> <!--ABO Blood type newly added --> <abo code="2" codeSystem="2.16.156.10011.2.3.1.85" displayName="abo Blood type "/> <!--RH Blood type newly added --> <rh code="2" codeSystem="2.16.156.10011.2.3.1.250" displayName="rh Blood type "/> <!-- Account address newly added --> <accountAddr value=" Shushan District, Hefei "/> <!-- Birth address newly added --> <bornAddr value=" Huoshan County, Lu'an City "/> <!-- Data sources newly added --> <domainId value="90572a5f73be4e35909822e861019073"/> <!-- Gender --> <administrativeGenderCode code="1" codeSystem="2.16.156.10011.2.3.3.4" displayName=" Gender "/> <!-- time of birth --> <birthTime value="1993-09-14"/> <!-- Contact address --> <addr> <!-- Unstructured address ( Full address description ) --> <streetAddressLine> Full address description </streetAddressLine> <!-- Address - province ( Autonomous region 、 Municipalities directly under the central government ) --> <state> province </state> <!-- Address - City ( region ) --> <city> City </city> <!-- Address - county ( District ) --> <county> District </county> <!-- Address - township ( The town of 、 Street office ) --> <streetNameBase> township </streetNameBase> <!-- Address - The village ( Street, 、 road 、 Nong et al ) --> <streetName> The village </streetName> <!-- Address - House number --> <houseNumber> House number </houseNumber> <!-- Postal Code --> <postalCode> Postal Code </postalCode> </addr> <!-- Marital status --> <maritalStatusCode code="20" codeSystem="2.16.156.10011.2.3.3.5" displayName=" unmarried "/> <!-- nation --> <ethnicGroupCode code="1" codeSystem="2.16.156.10011.2.3.3.3" displayName=" The han nationality "/> <!-- Occupation category code --> <asEmployee> <occupationCode code="13" codeSystem="2.16.156.10011.2.3.3.7" displayName=" Professional and technical personnel "/> <employerOrganization> <!-- Name of work unit --> <name> company </name> <contactParty> <!-- Work contact number --> <telecom value="xxx-xxxxxx"/> <!-- Work address newly added --> <unitAddr> Work address </unitAddr> </contactParty> </employerOrganization> </asEmployee> <asOtherIDs> <!-- Health card number --> <id root="2.16.156.10011.1.19" extension="123456"/> <scopingOrganization> <!-- Health card issuing agency code --> <id root="2.16.156.10011.1.5" extension="123456"/> </scopingOrganization> </asOtherIDs> <asOtherIDs> <!-- Number of health records of urban and rural residents --> <id root="2.16.156.10011.1.2" extension="38273N237"/> <scopingOrganization> <!-- Filing medical institution organization code --> <id root="2.16.156.10011.1.5" extension=""/> </scopingOrganization> </asOtherIDs> <!-- Contacts --> <personalRelationship> <code/> <!-- Contact number --> <telecom value=""/> <relationshipHolder1> <!-- Contact name --> <name></name> <!-- Family relationships newly added --> <contactRelation code="" codeSystem="2.16.156.10011.2.3.3.8" displayName=" Family relationships "/> </relationshipHolder1> </personalRelationship> </patientPerson> <providerOrganization> <id root="2.16.156.10011.1.5" extension="123456"/> <name>xxx The hospital </name> <contactParty/> </providerOrganization> <!-- Medical insurance information --> <coveredPartyOf> <coverageRecord> <beneficiary> <id root="" codeSystem="2.16.156.10011.2.3.1.248" displayName=" Basic medical insurance for urban employees "/> </beneficiary> </coverageRecord> </coveredPartyOf> </patient> </subject1> <author> <assignedEntity> <id root="2.16.156.10011.0.3.2" extension="12346"/> <assignedPerson> <name> test </name> </assignedPerson> </assignedEntity> </author> </registrationRequest> </subject></controlActProcess>
In this format xml How to convert javabean?



Take the answer :

Go and see me blog



Other answers 2:

Has your problem been solved ? I have the same need , Hospital data are HL7 V3 Format

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130522160501.html