# HG changeset patch # User Alain Mazy # Date 1673017416 -3600 # Node ID db62aa60a9b3223b8aa5064dedbfaeffa0b599da # Parent a4a02709b1884efb9a06b41693d09d8d49e76c31 private tags diff -r a4a02709b188 -r db62aa60a9b3 Sphinx/source/images/PrivateTagsInCreateDicom.png Binary file Sphinx/source/images/PrivateTagsInCreateDicom.png has changed diff -r a4a02709b188 -r db62aa60a9b3 Sphinx/source/users/advanced-rest.rst --- a/Sphinx/source/users/advanced-rest.rst Thu Dec 22 14:38:53 2022 +0100 +++ b/Sphinx/source/users/advanced-rest.rst Fri Jan 06 16:03:36 2023 +0100 @@ -301,8 +301,8 @@ { "Dictionary" : { - "0405,0010" : [ "LO", "Private data element", 1, 1, "RawDataStore" ], - "0405,1001" : [ "ST", "XML", 1, 1, "RawDataStore" ] + "0405,0010" : [ "LO", "PrivateCreatorForMyCompany", 1, 1, "My Company" ], // reserve 0405,10xx for "MyCompany" + "0405,1001" : [ "ST", "MyPrivateXMLTag", 1, 1, "My Company" ] // all tags from "MyCompany" must start with 0405,10xx } } @@ -311,16 +311,22 @@ ``/tools/create-dicom``:: { - "PrivateCreator" : "RawDataStore", + "PrivateCreator" : "My Company", // private creator here "Tags" : { "PatientName" : "Love^Sarah", "PatientID" : "7", - "0405,0010" : "RawDataStore", - "0405,1001" : "Testing" + "PrivateCreatorForMyCompany" : "My Company", // and here ! + "MyPrivateXMLTag" : "Testing" } } +Which then gives this in Orthanc UI: + +.. image:: ../images/PrivateTagsInCreateDicom.png + :align: center + :width: 400px + Rob Oakes provides more a `detailed explanation about how to use private tags with Orthanc `__ on