I am trying to do an analysis of patients with breast cancer, specifically the results of HER2 and estrogen and progesterone tumor receptor tests. I realize that these results are typically captured in sequencing tests, which are interpreted by a pathologist and (at least at our institution) exist only in free-text notes (in our case sent to the EHR via HL7 from CoPath).
So I was very curious to find that there are what appear to be ORDERS for these tests in measurement, which seems confusing because I was under the impression that measurements are supposed to be results not orders.
For example:
SELECT
concept_id,
concept_name,
vocabulary_id,
domain_id,
concept_code,
COUNT(1) AS cnt_condition,
COUNT(DISTINCT person_id) AS cnt_pts
FROM
concept a
LEFT JOIN
measurement b
ON
a.concept_id = b.measurement_concept_id
WHERE
concept_name LIKE ‘%estrogen%’
GROUP BY
concept_name,
vocabulary_id,
domain_id,
concept_code,
concept_id
HAVING
COUNT(DISTINCT person_id)>0
ORDER BY
COUNT(DISTINCT person_id) DESC;
I am looking at the top two codes at our site, which are CONCEPT_ID’s 2213308 and
4307360. Looking at the first one, the vocabulary_id is CPT4, and when I look at the raw measurement values:
select count(measurement_id) from measurement a where measurement_concept_id = 2213308 and (value_as_number is not null or value_as_concept_id is not null) ;
I get no measurements that have actual values. I was expecting there to be NO measurements using these concepts (because the positive/negative values are coming from free-text) but instead I see lots of them using a concept that seems to be in the wrong domain, none of which have valid actual results.
What gives? Is this a mapping problem we made or is this expected behavior?
TIA!