-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e240fb
commit 19f5283
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define Encounter: | ||
if InInitialPopulation then [Encounter] else {} as List<Encounter> | ||
|
||
define function Departments(encounter FHIR.Encounter): | ||
encounter.identifier.where(system = 'http://dktk.dkfz.de/fhir/sid/hki-department').value.first() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
define MedicationStatement: | ||
if InInitialPopulation then [MedicationStatement] else {} as List <MedicationStatement> | ||
|
||
define function AppliedMedications(medication FHIR.MedicationStatement): | ||
medication.medication.coding.code.last() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
define Specimen: | ||
if InInitialPopulation then [Specimen] else {} as List<Specimen> | ||
|
||
define function SampleType(specimen FHIR.Specimen): | ||
specimen.type.coding.where(system = 'https://fhir.bbmri.de/CodeSystem/SampleMaterialType').code.first() | ||
|
||
define function SampleSubtype(specimen FHIR.Specimen): | ||
specimen.type.text.first() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters