Skip to content

Instantly share code, notes, and snippets.

@simonmd
Created December 24, 2014 17:02
Show Gist options
  • Save simonmd/ca82d7920dba829d28ed to your computer and use it in GitHub Desktop.
Save simonmd/ca82d7920dba829d28ed to your computer and use it in GitHub Desktop.
Coerce para corregir el encoding DICOM cuando no vienen con SpecificCharacterSet
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="no"/>
<xsl:template match="/dataset">
<dataset>
<attr tag="00080005" vr="CS">ISO_IR 100</attr>
</dataset>
</xsl:template>
</xsl:stylesheet>
@simonmd
Copy link
Author

simonmd commented Dec 24, 2014

Ya lo probé localmente y funciona.

@dbejarano32
Copy link

Excelente, ya lo probé, ¿lo aplico en los DicomBox o en los Servidores?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment