From 4320acfc1249926b975f8e015327bbd97a5eb624 Mon Sep 17 00:00:00 2001 From: Masroor Ehsan Date: Mon, 27 Jan 2025 10:49:50 +0600 Subject: [PATCH] formatting --- config/orthanc/dicom-web.json | 6 ++-- config/orthanc/dictionary.json | 10 +++---- config/orthanc/ohif.json | 2 +- config/orthanc/orthanc.json | 42 +++++++++++----------------- config/orthanc/postgresql.json | 6 ++-- config/orthanc/registered-users.json | 2 +- config/orthanc/stone.json | 2 +- 7 files changed, 30 insertions(+), 40 deletions(-) diff --git a/config/orthanc/dicom-web.json b/config/orthanc/dicom-web.json index 2ca7ccf..e7a8859 100644 --- a/config/orthanc/dicom-web.json +++ b/config/orthanc/dicom-web.json @@ -7,9 +7,7 @@ "WadoRoot": "/wado", "Ssl": false, "Servers": { - "main": [ - "http://orthanc:8042/dicom-web/" - ] + "main": ["http://orthanc:8042/dicom-web/"] }, "QidoCaseSensitive": true, "MetadataWorkerThreadsCount": 10, @@ -17,4 +15,4 @@ "StudiesMetadata": "Full", "SeriesMetadata": "Full" } -} \ No newline at end of file +} diff --git a/config/orthanc/dictionary.json b/config/orthanc/dictionary.json index d5cdea2..32f23a7 100644 --- a/config/orthanc/dictionary.json +++ b/config/orthanc/dictionary.json @@ -1,7 +1,7 @@ { - "Dictionary" : { - "0011,1060" : [ "LO", "InnowaveUploaderID", 1, 1, "InowavePrivateGroup"], - "1971,0010" : [ "CS", "PBSender", 1, 1, "BlackFish"], - "1971,1001" : [ "LO", "DicomSenderID", 1, 1, "BlackFish"] + "Dictionary": { + "0011,1060": ["LO", "InnowaveUploaderID", 1, 1, "InowavePrivateGroup"], + "1971,0010": ["CS", "PBSender", 1, 1, "BlackFish"], + "1971,1001": ["LO", "DicomSenderID", 1, 1, "BlackFish"] } -} \ No newline at end of file +} diff --git a/config/orthanc/ohif.json b/config/orthanc/ohif.json index d3dc7c7..ea2bb9a 100644 --- a/config/orthanc/ohif.json +++ b/config/orthanc/ohif.json @@ -2,4 +2,4 @@ "OHIF": { "UserConfiguration": "/usr/local/share/orthanc/ohif.js" } -} \ No newline at end of file +} diff --git a/config/orthanc/orthanc.json b/config/orthanc/orthanc.json index 39b0c24..f8923c4 100644 --- a/config/orthanc/orthanc.json +++ b/config/orthanc/orthanc.json @@ -7,10 +7,7 @@ "MaximumPatientCount": 0, "MaximumStorageCacheSize": 128, "LuaScripts": [], - "Plugins": [ - "/usr/share/orthanc/plugins", - "/usr/local/share/orthanc/plugins" - ], + "Plugins": ["/usr/share/orthanc/plugins", "/usr/local/share/orthanc/plugins"], "ExtraMainDicomTags": { "Instance": [ @@ -66,46 +63,41 @@ "DicomSenderID", "StationName" ], - "Patient": [ - "OtherPatientNames", - "OtherPatientIDs" - ] + "Patient": ["OtherPatientNames", "OtherPatientIDs"] }, "ConcurrentJobs": 8, - + "HttpServerEnabled": true, "OrthancExplorerEnabled": true, "HttpPort": 8042, "HttpDescribeErrors": true, "HttpCompressionEnabled": true, - + "WebDavEnabled": true, "WebDavDeleteAllowed": false, "WebDavUploadAllowed": true, - + "DicomServerEnabled": true, "DicomAet": "BLACKFISH", "DicomCheckCalledAet": false, "DicomPort": 4242, "DefaultEncoding": "Utf8", - "AcceptedTransferSyntaxes": [ - "1.2.840.10008.1.*" - ], - "DeflatedTransferSyntaxAccepted" : true, - "JpegTransferSyntaxAccepted" : true, - "Jpeg2000TransferSyntaxAccepted" : true, - "JpegLosslessTransferSyntaxAccepted" : true, - "JpipTransferSyntaxAccepted" : true, + "AcceptedTransferSyntaxes": ["1.2.840.10008.1.*"], + "DeflatedTransferSyntaxAccepted": true, + "JpegTransferSyntaxAccepted": true, + "Jpeg2000TransferSyntaxAccepted": true, + "JpegLosslessTransferSyntaxAccepted": true, + "JpipTransferSyntaxAccepted": true, "UnknownSopClassAccepted": false, "DicomScpTimeout": 30, - + "RemoteAccessAllowed": true, "SslEnabled": false, "SslCertificate": "certificate.pem", "SslMinimumProtocolVersion": 4, "SslVerifyPeers": false, "SslTrustedClientCertificates": "trustedClientCertificates.pem", - + "DicomTlsEnabled": false, "DicomTlsRemoteCertificateRequired": true, "DicomAlwaysAllowEcho": true, @@ -125,13 +117,13 @@ "DicomThreadsCount": 4, "OrthancPeers": {}, "OrthancPeersInDatabase": false, - + "HttpProxy": "", "HttpVerbose": false, "HttpTimeout": 60, "HttpsVerifyPeers": false, "HttpsCACertificates": "/etc/ssl/certs/ca-certificates.crt", - + "UserMetadata": { // "Sample" : 1024 }, @@ -139,7 +131,7 @@ // "sample" : 1024 // "sample2" : [ 1025, "application/pdf" ] }, - + "StableAge": 60, "StrictAetComparison": false, "StoreMD5ForAttachments": true, @@ -183,4 +175,4 @@ "W001_TagsBeingReadFromStorage": true, "W002_InconsistentDicomTagsInDb": true } -} \ No newline at end of file +} diff --git a/config/orthanc/postgresql.json b/config/orthanc/postgresql.json index 0a46342..d7cf8ba 100644 --- a/config/orthanc/postgresql.json +++ b/config/orthanc/postgresql.json @@ -1,11 +1,11 @@ { - "PostgreSQL": { + "PostgreSQL": { "EnableIndex": true, "EnableStorage": false, "Host": "postgres", "Port": 5432, "Database": "orthanc", - "Username": "postgres", + "Username": "postgres", "Password": "password" } -} \ No newline at end of file +} diff --git a/config/orthanc/registered-users.json b/config/orthanc/registered-users.json index 6cddc9e..b17fb93 100644 --- a/config/orthanc/registered-users.json +++ b/config/orthanc/registered-users.json @@ -3,4 +3,4 @@ "RegisteredUsers": { "blackfish": "letmein" } -} \ No newline at end of file +} diff --git a/config/orthanc/stone.json b/config/orthanc/stone.json index b3a1741..93f79f5 100644 --- a/config/orthanc/stone.json +++ b/config/orthanc/stone.json @@ -9,4 +9,4 @@ "ShowUserPreferencesButton": true, "ShowNotForDiagnosticUsageDisclaimer": false } -} \ No newline at end of file +}