chaseastewart / fhir-converter

Transformation utility to translate data formats into FHIR
https://chaseastewart.github.io/fhir-converter/
MIT License
8 stars 2 forks source link

Invalid JSON generated - Does not escape special character's #7

Open chaseastewart opened 5 months ago

chaseastewart commented 5 months ago

See reference issue

Example:

<value xsi:type="ST">
* Adjustment of the mA and/or kV according to patient size (this  
       includes techniques or standardized protocols for targeted exams  
       where dose is matched to indication / reason for exam; i.e.  
       extremities or head ) * Use of iterative reconstruction technique"
</value>

Example:

<value code="&quot;text&quot;" displayName="&quot;text&quot;">
    <originalText>
        <reference value="text"/>
    </originalText>
</value>