Wrong Java examples in the documentation.

Issue #121 closed
Paolo Brandoli repo owner created an issue

A Java example in the "Reading the tag's values" section of the "Getting started" page contains a line of C++ code.

Additionally, several snippets of Java code are marked as C++:

.. code-block:: c++

// A patient's name can contain up to 5 values, representing different interpretations of the same name
// (e.g. alphabetic representation, ideographic representation and phonetic representation)
// Here we retrieve the first 2 interpretations (index 0 and 1)
String patientNameCharacter = loadedDataSet.getUnicodeString(new com.imebra.TagId(0x10, 0x10), 0);
String patientNameIdeographic = loadedDataSet.getUnicodeString(new com.imebra.TagId(0x10, 0x10), 0);
std::wstring patientNameIdeographic = loadedDataSet->getUnicodeString(imebra::TagId(0x10, 0x10), 1);

Comments (6)

  1. Log in to comment