Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AKTIN
dwh-import
Commits
89872db5
Commit
89872db5
authored
Nov 16, 2017
by
R.W.Majeed
Browse files
fixed missing output of software version and template version
parent
054043ac
Changes
3
Show whitespace changes
Inline
Side-by-side
cda-import/README.md
View file @
89872db5
CDAs werden transformiert mit cda-eav/
*
.xsl zu eav-data XML.
Es ist wichtig, dass bei mehreren CDA-Modulen (die beim gleichen Patient und Fall dokumentiert werden) NICHT die gleichen concept_codes erzeugt werden. Dies wrde unique constraints
der Tabelle observation_fact verletzen.
List of AKTIN module IDs:
-
*base*
Basismodul
-
*monitor*
berwachung
...
...
cda-import/src/main/resources/cda-eav/1.2.276.0.76.10.1015.xsl
View file @
89872db5
...
...
@@ -141,6 +141,7 @@
<!-- Alle Fact-Templates auf Body/Component/Section Ebene aufrufen -->
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:component/cda:structuredBody/cda:component/cda:section"
/>
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:componentOf/cda:encompassingEncounter/cda:id[2]"
/>
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:templateId"
/>
</encounter>
</patient>
</eav-data>
...
...
@@ -1000,6 +1001,10 @@
<xsl:template
match=
"/cda:ClinicalDocument/cda:templateId"
>
<xsl:comment>
Import Transformation/Version Information
</xsl:comment>
<fact>
<!-- ACHTUNG: in anderen Modulen (z.B. Traumamodul) darf das nachfolgende fact nicht
genauso ausgegeben werden, da dann die Möglichkeit besteht dass das unique constraint
der observation_fact tabelle verletzt wird. Da die Software-Version aber gleich ist,
kann dies komplett weggelassen werden. -->
<xsl:attribute
name=
"concept"
>
<xsl:value-of
select=
"$ProjectVersion-Prefix"
/><xsl:value-of
select=
"$aktin.release.version"
/>
</xsl:attribute>
...
...
cda-import/src/main/resources/cda-eav/1.2.276.0.76.10.1019.xsl
View file @
89872db5
...
...
@@ -141,6 +141,7 @@
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:participant/cda:associatedEntity"
/>
<!-- Alle Fact-Templates auf Body/Component/Section Ebene aufrufen -->
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:component/cda:structuredBody/cda:component/cda:section"
/>
<xsl:apply-templates
select=
"/cda:ClinicalDocument/cda:templateId"
/>
</encounter>
</patient>
</eav-data>
...
...
@@ -975,6 +976,10 @@
<xsl:template
match=
"/cda:ClinicalDocument/cda:templateId"
>
<xsl:comment>
Import Transformation/Version Information
</xsl:comment>
<fact>
<!-- ACHTUNG: in anderen Modulen (z.B. Traumamodul) darf das nachfolgende fact nicht
genauso ausgegeben werden, da dann die Möglichkeit besteht dass das unique constraint
der observation_fact tabelle verletzt wird. Da die Software-Version aber gleich ist,
kann dies komplett weggelassen werden. -->
<xsl:attribute
name=
"concept"
>
<xsl:value-of
select=
"$ProjectVersion-Prefix"
/><xsl:value-of
select=
"$aktin.release.version"
/>
</xsl:attribute>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment