Hi James & Benjamin, yes its custom python plugin. That is subscribed to the ChangeType from Orthanc. If the change type is Stable Study it drops message to AWS SQS.
Note : we are using AWS S3 to store DCIM.
The issue is orthanc does show DICM uploaded successfully, creates study for it, we can see & access study via orthanc. However, it does not store anything into AWS S3 bucket, no logs success or failure on ECS.
Looks likes orthanc is not emitting ChangeType event. I have below configuration.
const container = orthancTaskDefinition.addContainer(‘MyContainer’, {
image: ecs.ContainerImage.fromRegistry(orthancECRuri), // Sample image
logging: ecs.LogDriver.awsLogs({
streamPrefix: ${instituteIdentifier}-${siteIdentifier}-orthanc-${stage}/container-name/ecs-task-id
,
logGroup: dockerComposeLogGroup,
}), // CloudWatch Logs
environment: {
ORTHANC__POSTGRESQL__HOST: rdsInstanceEndpoint,
ORTHANC__POSTGRESQL__PORT: rdsPort.toString(),
ORTHANC__POSTGRESQL__USERNAME: siteUsername,
ORTHANC__POSTGRESQL__PASSWORD: sitePassword,
ORTHANC__POSTGRESQL__DATABASE: rdsDBName,
ORTHANC__AWS_S3_STORAGE__BUCKET_NAME: orthancStorageBucket.bucketName,
ORTHANC__AWS_S3_STORAGE__REGION: env.region || ‘us-east-1’,
ORTHANC__AWS_S3_STORAGE__ACCESS_KEY: orthancIamUserAccessKey.accessKeyId,
ORTHANC__AWS_S3_STORAGE__SECRET_KEY: orthancIamUserAccessKey.secretAccessKey.unsafeUnwrap(),
QUEUE_Arn: endpointQueueArn,
QUEUE_REGION: env.region || ‘us-east-1’,
QUEUE_URL: endpointQueueUrl,
ORTHANC__NAME: ${siteIdentifier}-ultrasound.ai DICOMServer
,
InstitutionName: siteIdentifier,
FullDomainName: ${siteIdentifier}-${dicomServerHostSuffix}
,
ConnectionInfo: pacsSecret.ref,
LOCALDOMAIN: ${env.region}.compute.internal ${siteIdentifier}-orthanconaws.local
,
ORTHANC__REGISTERED_USERS: {"${siteUsername}": "${sitePassword}"}
,
DICOM_WEB_PLUGIN_ENABLED: ‘true’,
ORTHANC_WEB_VIEWER_PLUGIN_ENABLED: ‘false’,
ORTHANC_STONE_VIEWER_PLUGIN_ENABLED: ‘false’,
},
});