function anonStructuresS = defineAnonStructures()
%
% function anonStructuresS = defineAnonStructures()
%
% Defines the anonymous "structures" data structure. The fields containing PHI have
% been left out by default. In order to leave out additional fields, remove
% them from the list below. 
%
% The following three operations are allowed per field of the input data structure:
% 1. Keep the value as is: listed as 'keep' in the list below.
% 2. Allow only the specific values: permitted values listed within a cell array. 
%    If no match is found, a default anonymous string will be inserted.
% 3. Insert dummy date: listed as 'date' in the list below. Date will be
%    replaced by a dummy value of 11/11/1111.
%
% APA, 1/11/2018

segmentAnonS = struct('points','keep');
contourAnonS = struct('segments',segmentAnonS);

anonStructuresS = struct( ...
    'imageType', {{'STRUCTURE'}}, ...
    'caseNumber', 'keep', ...
    'roiNumber', 'keep', ...
    'structureName', 'keep', ... 
    'numberRepresentation', {{'CHARACTER'}}, ...
    'structureFormat', {{'SCAN-BASED'}}, ...
    'numberOfScans', 'keep', ...
    'maximumNumberScans', 'keep', ...
    'maximumPointsPerSegment', 'keep', ...
    'maximumSegmentsPerScan', 'keep', ...
    'unitNumber', 'keep', ...
    'writer', {{'MIM Software Inc.'}}, ...    
    'structureColor', 'keep', ...    
    'contour', contourAnonS, ...
    'rasterSegments', 'keep', ...
    'DSHPoints', 'keep', ...
    'orientationOfStructure', {{'TRANSVERSE'}}, ...
    'transferProtocol', {{'DICOM'}}, ...    
    'visible', 'keep', ...
    'associatedScan', 'keep', ...
    'strUID', 'keep', ...
    'assocScanUID', 'keep', ...
    'rasterized', 'keep' ...
    );
