Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Equivalent Instead of Contains for Code Comparison #2229

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ define InInitialPopulation:
exists
from S.extension E
where E.url = 'https://fhir.bbmri.de/StructureDefinition/StorageTemperature'
and E.value.coding contains Code 'temperatureRoom' from StorageTemperature
and E.value as CodeableConcept ~ Code 'temperatureRoom' from StorageTemperature
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ codesystem FastingStatus: 'http://terminology.hl7.org/CodeSystem/v2-0916'
context Specimen

define InInitialPopulation:
Specimen.collection.fastingStatus.coding contains Code 'NF' from FastingStatus
Specimen.collection.fastingStatus as CodeableConcept ~ Code 'NF' from FastingStatus
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ define EwingSarkomMitStrahlentherapie:
from [Condition: Code 'C41.9' from icd10] C
with Strahlentherapien P
such that P.reasonReference.reference = 'Condition/' + C.id
where exists from C.bodySite BS where BS.coding contains Code 'C44.6' from idco3
where exists from C.bodySite BS where BS as CodeableConcept ~ Code 'C44.6' from idco3

define InInitialPopulation:
EwingSarkomMitStrahlentherapie
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ codesystem SampleMaterialType: 'https://fhir.bbmri.de/CodeSystem/SampleMaterialT
context Specimen

define InInitialPopulation:
Specimen.type.coding contains Code 'whole-blood' from SampleMaterialType
Specimen.type ~ Code 'whole-blood' from SampleMaterialType
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ context Patient
define InInitialPopulation:
exists
from [Observation: Code '59847-4' from loinc] O
where O.value.coding contains Code '8140/3' from icdo3
where O.value as CodeableConcept ~ Code '8140/3' from icdo3
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ codesystem icd_o: 'urn:oid:2.16.840.1.113883.6.43.1'
define InInitialPopulation:
exists
from [Specimen: Code 'whole-blood' from SampleMaterialType] S
where S.collection.bodySite.coding contains Code 'C26.1' from icd_o
where S.collection.bodySite as CodeableConcept ~ Code 'C26.1' from icd_o
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ define InInitialPopulation:
exists
from Specimen.extension E
where E.url = 'https://fhir.bbmri.de/StructureDefinition/StorageTemperature'
and E.value.coding contains Code 'temperatureRoom' from StorageTemperature
and E.value as CodeableConcept ~ Code 'temperatureRoom' from StorageTemperature