A healthcare company stores patient records in a relational database with fixed columns (PatientID, Name, DOB, BloodType). Medical images such as X-rays are stored as DICOM files. Clinical notes are stored as free-text documents. Which of the following correctly classifies these data types from most structured to least structured?
Patient records in a relational database have a fixed schema of columns and data types, so they are structured. DICOM files contain header fields with standardized metadata tags plus pixel data, which fits the semi-structured category because they have an organized structure but not a rigid tabular schema. Clinical notes are free-form text written by clinicians, lacking any predefined format, so they are unstructured. This combination correctly maps each data type to its storage and query characteristics.
Why this answer
Patient records in a fixed-column relational database are structured data because they conform to a rigid schema with defined data types. DICOM files are semi-structured because they contain a structured header with metadata tags (e.g., patient ID, study date) alongside an unstructured binary image payload. Clinical notes as free-text documents are unstructured because they lack a predefined schema or organization, making them difficult to query without natural language processing.
Exam trap
The trap here is that candidates often misclassify DICOM files as fully structured due to their standardized header, overlooking the unstructured binary image payload that makes them semi-structured.
Why the other options are wrong
DICOM files are semi-structured because they contain a structured header (metadata) and unstructured pixel data; classifying them as structured is incorrect.
Patient records with fixed columns are structured, not semi-structured. DICOM files contain metadata tags and image data, making them semi-structured, not unstructured. Clinical notes are free-text, which is unstructured, not structured.
Patient records with fixed columns are structured, not unstructured. Clinical notes are free-text and unstructured, not structured. DICOM files are semi-structured because they contain metadata tags alongside binary image data, not semi-structured in the wrong order.
When would these options actually be correct?
If the question defined 'structured data' as any data with a predefined schema or format, and DICOM files were described as having a fixed header format with no free-text components, then option A could be correct.
If the question asked to classify from least structured to most structured, or if patient records were described as having variable fields (e.g., XML or JSON), then patient records could be semi-structured, DICOM files unstructured, and clinical notes structured (e.g., if they followed a template with fixed fields).
This option would be correct if the question asked for classification from least structured to most structured, and if patient records were described as having variable fields (e.g., NoSQL documents) making them semi-structured, DICOM files were considered unstructured (ignoring metadata), and clinical notes were structured (e.g., templated forms).
Why candidates pick the wrong answer
Candidates may assume that any file with a standard format (like DICOM) is structured, overlooking the distinction between structured metadata and unstructured binary image data.
Candidates may confuse DICOM files as unstructured because they are binary image files, overlooking the embedded metadata that gives them structure. They might also incorrectly assume that any database table is semi-structured, misunderstanding the fixed schema nature of relational tables.
Candidates may confuse DICOM files as unstructured because they contain binary image data, overlooking the embedded metadata that gives them structure. They might also misclassify clinical notes as structured if they think of templates or forms, but free-text notes are inherently unstructured.