Unstructured Data

Unstructured data are data with no internal structure beyond the record or file, such as free-text clinical notes, so values must be extracted before use.

Status
Published, version 1.0.1
Last reviewed
21 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Unstructured Data in Health Records and Evidence

Unstructured data are information kept as running text, images or other content with no named fields inside it, such as a clinic letter or a scanned report. A person can read a symptom or a cancer stage in a letter, but software sees one long string until someone extracts the facts. Some of what happens to patients is written only in such text, so an analysis that counts coded fields alone can miss events and costs that a cost-effectiveness model needs. Turning text into countable variables is a measurement step with its own errors.

Where the term is defined

Unstructured data is a general computing term, and health economics uses it in the same sense. The international big data vocabulary ISO/IEC 20546 (2019) defines it in entry 3.1.37 as data with no structure beyond the level of the record or file, notes that such data are on the whole not composed of data elements, and gives free text as the example. Its counterpart, structured data (entry 3.1.35), are data organised on the basis of a pre-defined set of rules. Entry 3.1.28 defines partially structured data as data with some organisation, such as records holding free-text fields next to more structured ones. The NICE real-world evidence framework (ECD9) uses the same term for clinical notes, so the wiki label matches health care usage, and unstructured information is kept as an alias. The live Unstructured Correlation page is unrelated, since there the word describes a covariance pattern in repeated trial measurements.

What counts as unstructured in health care

The Data Suitability Assessment Tool (DataSAT) in ECD9 asks developers to describe the source of any unstructured data and gives clinical encounter notes, discharge summaries, free-text survey responses, imaging data and laboratory reports as examples. In an electronic health record one consultation can hold a coded diagnosis and a typed comment, so the record is partially structured while the comment is unstructured.

In the Resource Description Framework a whole note can sit as the object of one triple, as a language-tagged string, which RDF 1.1 Concepts describes as plain text in a natural language. The graph records that the note exists, while the facts written inside the note are not triples until they are extracted. The Health Economics Ontology (HEO), published at healtheconomics.wiki/ontologies/heo, shows the same split. In release 2.0.0 each concept not retired is a structured record whose definition is an English text literal.

Evidence lost in hidden text

A 2016 study by Price and colleagues shows what can go missing. In the UK Clinical Practice Research Datalink (CPRD) at the time, general practitioners using ViSion, the software of most contributing practices, began a record by choosing a Read code and could then type freely in a comments box, but the codes were routinely available to researchers while the text was not. Among 20,958 records of haematuria, jaundice and abdominal pain in the year before bladder or pancreatic cancer diagnosis, 7,951 (38%) were held only in text. For haematuria in bladder cancer and for jaundice and abdominal pain in pancreatic cancer, text-only recording was more common in controls than in cases. Adding the text lowered the positive predictive value of haematuria for bladder cancer, 4.0% with codes alone, to 2.9%, and that of jaundice for pancreatic cancer, 12.8%, to 6.3%. The authors conclude that leaving out text records inflates measures for recognised alarm symptoms.

Extraction, reporting and privacy

ECD9, updated in September 2025, asks for the rules used to extract each variable from notes and for validation of any algorithm, including a large language model. The NICE AI methods for evidence framework (ECD20), a draft for public feedback published on 9 November 2026, accepts natural language processing for unstructured data on those terms. The reporting details and the methods, including named entity recognition, are on the Natural Language Processing Health page.

NIST SP 800-188 notes that unstructured text may contain direct identifiers such as names, or details that act as quasi-identifiers, that finding them requires domain knowledge, and that free-text fields can sit inside tabular datasets. De-identification of a structured extract can therefore fail through a single comment column.

Linking text to shared meanings

The W3C Web Annotation Data Model attaches structured statements to text without rewriting it. An annotation links a body to a target, and a Text Quote Selector picks out the target span by its exact words plus a short prefix and suffix. The model is built on Linked Data foundations, and its identifying motivation covers linking a mention to the IRI that identifies the thing mentioned. In an illustrative use, an analyst could annotate the words "blood in urine" in a letter with the IRI of a clinical concept under the identifying motivation, leaving the letter unchanged while the annotation becomes queryable data.

Worked example with a referral rule

All numbers in this example are illustrative and follow the direction of the CPRD finding. A practice dataset follows 10,000 adults for a year, and 100 receive a cancer diagnosis. A symptom is coded for 40 of the cases and 960 of the others. A text search finds the symptom recorded only in comments for a further 10 cases and 690 others.

PPV=TPTP+FPPPV = \frac{TP}{TP + FP}

Here PPVPPV is the positive predictive value, TPTP is the number of people with the symptom recorded who have the cancer (true positives) and FPFP is the number with the symptom recorded who do not (false positives).

Step 1. With codes alone, TPTP = 40 and FPFP = 960, so PPV = 40 ÷ 1,000 = 0.040, or 4.0%.

Step 2. With codes and text, TPTP = 40 + 10 = 50 and FPFP = 960 + 690 = 1,650, so PPV = 50 ÷ 1,700 = 0.0294, or 2.94%.

Step 3. If everyone with the symptom is referred at GBP 300 per referral and every cancer among them is found, the cost per cancer found is the referral cost divided by the PPV. Codes alone give 300 × 1,000 ÷ 40 = GBP 7,500. Codes and text give 300 × 1,700 ÷ 50 = GBP 10,200.

Step 4. The code-only figure understates the cost per cancer found by 10,200 − 7,500 = GBP 2,700, which is 2,700 ÷ 10,200 = 0.26, or 26%, of the fuller estimate, so a model fed the code-only PPV would make the referral rule look cheaper.

Limits and common misunderstandings

Unstructured does not mean meaningless, because the ISO definition concerns the absence of structure and data elements, not of content. Size is a separate matter, since a single letter is unstructured and a large big data claims table may be fully structured.

A variable derived from notes is measured with error, which is why ECD9 asks for validation, and Price and colleagues report that their search terms would have missed US spellings and spelling errors.

Sources

Frequently Asked Questions (6)

  • What is Unstructured Data?

    Unstructured data are data with no internal structure beyond the record or file, such as free-text clinical notes, so values must be extracted before use.

    Source: ISO/IEC 2019

  • How does ISO/IEC 20546 define unstructured data?

    ISO/IEC 20546, the international big data vocabulary published in 2019, defines unstructured data in entry 3.1.37 as data that have no structure apart from the level of the record or file. A note to the entry says that unstructured data are, on the whole, not composed of data elements, and the example given is free text. The same vocabulary defines partially structured data, entry 3.1.28, as data with some organisation, such as records that hold free-text fields alongside more structured fields. An electronic health record with coded diagnoses and typed comments fits that middle category.

    Source: ISO/IEC 2019

  • What does the NICE real-world evidence framework ask when unstructured data are used?

    The NICE real-world evidence framework (ECD9) gained sections on unstructured data in its September 2025 update. When free-text clinical notes are used to derive structured variables, it asks for a clear definition of the extraction rules, including how context such as negation and timing was handled. For human abstraction it asks for the reviewers' skills, the extraction schema and inter-reviewer agreement. For algorithmic methods, including rule-based tools, machine learning and large language models, it asks for the model's source and version and for validation studies of its performance.

    Source: NICE ECD9 (2022, updated 2025)

  • How can omitting unstructured data bias studies of electronic health records?

    In the UK Clinical Practice Research Datalink, general practitioners using ViSion, the software of most contributing practices at the time, chose a Read code and could then type free text, and the codes were routinely available to researchers while the text was not. Price and colleagues found in 2016 that 7,951 of 20,958 records (38%) of haematuria, jaundice and abdominal pain before bladder or pancreatic cancer diagnosis were held only in this unstructured text. For jaundice, text-only recording was more common in controls than in cases, so adding the text lowered its positive predictive value for pancreatic cancer, 12.8% with codes alone, to 6.3%. Model inputs drawn from codes alone can carry the same inflation.

    Source: Price et al. 2016

  • Why is unstructured data a risk when de-identifying health data?

    NIST Special Publication 800-188, on de-identifying government datasets, notes that unstructured text may contain direct identifiers such as a person's name. The text may also hold other details that act as quasi-identifiers, and the publication says that finding such identifiers requires domain-specific knowledge. It adds that unstructured text can be present inside tabular datasets and needs special attention there. For a health economist receiving a de-identified extract of hospital or primary care records, a single free-text comment column can therefore undo the protection applied to the coded fields.

    Source: Garfinkel et al. 2023 (NIST SP 800-188)

  • How can unstructured data be linked to semantic web identifiers?

    The W3C Web Annotation Data Model, a 2017 Recommendation, lets structured statements be attached to unstructured text without changing the text. An annotation connects a body to a target, and a Text Quote Selector identifies the target span by its exact words with a short prefix and suffix, while a Text Position Selector uses character positions. The identifying motivation covers associating the IRI of a thing with a mention of it in a document. A phrase such as blood in urine in a clinic letter could, for illustration, be annotated with the IRI of a clinical concept and then queried as data.

    Source: Sanderson et al. 2017

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 21 Nov 2026

Content version: 1.0.1

Canonical Identity

Term code
HS-HP-DH-145

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/unstructured-data