Hello everyone. Today I’m stopping by to see if anyone has implemented a way to prevent receiving images in Orthanc by validating the institution name tag. I found something on the internet, but it didn’t work for me. I appreciate all the help.
The solution found was the following:
“Modalities”: {
“ModalitiesBlacklist”: [
{
“Path”: “0008,0080”,
“Value”: “HOSPOTAL1”,
“AllowedAction”: “None”,
“ConstraintEncoding”: “Latin1”
},
{
“Path”: “InstitutionName”,
“Value”: “HOSPOTAL1”,
“AllowedAction”: “None”,
“ConstraintEncoding”: “Latin1”
},
{
“Path”: “0008,0080”,
“Value”: “HOSPOTAL1”,
“AllowedAction”: “None”,
“ConstraintEncoding”: “utf-8”
},
{
“Path”: “InstitutionName”,
“Value”: “HOSPOTAL1”,
“AllowedAction”: “None”,
“ConstraintEncoding”: “utf-8”
}
]
},