DICOM -> HL7 CDA z obrazkiem (xml) sprawdzamy za pomoc xsd -> xslt do html
jak wybrac obrazek? pierwszy
sudo apt-get update
sudo apt-get install dcmtk
dcmj2pnm --write-16-bit-png photo.dcm photo.png
sudo apt install librapidxml-dev
xml -> rapid xml
examples of usage:
https://github.com/ashish-harman/RapidXML_Tutorial/blob/master/Update_XML_Node.cpp
https://gist.github.com/luisgustavomiki/5282610
xslt -> http://xml.apache.org/xalan-c/
sudo apt install xalan
How to transform file przyklad.xml to przyklad.html
xalan -xsl transformata_hl7/narrative-block-1.3.1/CDA_PL_IG_1.3.1.xsl -in przyklad.xml -out przyklad.html
compile
make
run
./sim-program
examplary DICOM file:
image.dcm