go to post water huang · Jan 23, 2021 <?xml version="1.0" encoding="UTF-8"?><ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../sdschemas/SDA.xsd" classCode="DOCCLIN" moodCode="EVN"> <observation> <value xsi:type="ST">xxxx</value> </observation></ClinicalDocument>
go to post water huang · Apr 7, 2019 s PublicKeyFile="c:/key/pem/certself.pem"Set filestream=##class(%FileCharacterStream).%New()Set filestream.Filename=PublicKeyFileSet PublicKeyStr=filestream.Read(.len)s Plaintext="1"Set Ciphertext=##class(%SYSTEM.Encryption).RSAEncrypt(Plaintext,PublicKeyStr)w ##class(%SYSTEM.Encryption).RSAGetLastError(),!Set Ciphertext=##class(%SYSTEM.Encryption).Base64Encode(Ciphertext)w Ciphertext,!