Skip to content

Commit

Permalink
added FNUSA scripts for specimen and procedure that can export additi…
Browse files Browse the repository at this point in the history
…onal fields that are documented in a LABORFINDING.
  • Loading branch information
Jonas Küttner committed Apr 5, 2024
1 parent 503bb69 commit 447a2d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.compiler.level>1.8</java.compiler.level>
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
<kairos-fhir-dsl.version>1.30.0</kairos-fhir-dsl.version>
<kairos-fhir-dsl.version>1.31.0-SNAPSHOT</kairos-fhir-dsl.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<gmavenplus-plugin.version>1.9.1</gmavenplus-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import static de.kairos.fhir.centraxx.metamodel.AbstractIdContainer.PSN
import static de.kairos.fhir.centraxx.metamodel.MultilingualEntry.LANG
import static de.kairos.fhir.centraxx.metamodel.MultilingualEntry.VALUE
import static de.kairos.fhir.centraxx.metamodel.RootEntities.medProcedure

/**
* Represented by CXX MedProcedure
* Exports extra data that is documented in a measurement profile with code ADDITIONAL_PROCEDURE_DATA
Expand All @@ -29,7 +30,7 @@ procedure {
status = Procedure.ProcedureStatus.UNKNOWN
//println(context.source)

final def mapping = context.source["laborMappings"].find {
final def mapping = context.source[medProcedure().laborMappings()].find {
it[LaborMapping.LABOR_FINDING][LaborFinding.LABOR_METHOD][CODE] == "ADDITIONAL_PROCEDURE_DATA"
}

Expand Down

0 comments on commit 447a2d3

Please sign in to comment.