malac-models-cda 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- malac-models-cda-1.1.0/PKG-INFO +41 -0
- malac-models-cda-1.1.0/README.md +15 -0
- malac-models-cda-1.1.0/malac/models/cda/__init__.py +25 -0
- malac-models-cda-1.1.0/malac/models/cda/at_ext.py +67595 -0
- malac-models-cda-1.1.0/malac/models/cda/ch_ext.py +53771 -0
- malac-models-cda-1.1.0/malac/models/cda/ch_ext_pharm.py +65722 -0
- malac-models-cda-1.1.0/malac/models/cda/it_ext.py +64067 -0
- malac-models-cda-1.1.0/malac_models_cda.egg-info/PKG-INFO +41 -0
- malac-models-cda-1.1.0/malac_models_cda.egg-info/SOURCES.txt +12 -0
- malac-models-cda-1.1.0/malac_models_cda.egg-info/dependency_links.txt +1 -0
- malac-models-cda-1.1.0/malac_models_cda.egg-info/requires.txt +1 -0
- malac-models-cda-1.1.0/malac_models_cda.egg-info/top_level.txt +1 -0
- malac-models-cda-1.1.0/pyproject.toml +43 -0
- malac-models-cda-1.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: malac-models-cda
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: Mapping Language Compiler for Health Data.
|
|
5
|
+
Author-email: cdeHealth-Team <contact-project+cdehealth-malac-hd-52276676-issue-@incoming.gitlab.com>
|
|
6
|
+
Project-URL: Homepage, https://gitlab.com/cdehealth/malac-hd
|
|
7
|
+
Project-URL: Documentation, https://gitlab.com/cdehealth/malac-hd
|
|
8
|
+
Project-URL: Release notes, https://gitlab.com/cdehealth/malac-hd/-/releases
|
|
9
|
+
Project-URL: Source, https://gitlab.com/cdehealth/malac-hd
|
|
10
|
+
Project-URL: Tracker, https://gitlab.com/cdehealth/malac-hd/-/issues
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Information Technology
|
|
14
|
+
Classifier: Intended Audience :: Healthcare Industry
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
|
18
|
+
Classifier: Natural Language :: English
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
23
|
+
Requires-Python: >=3.10
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
Requires-Dist: lxml>=5.1.0
|
|
26
|
+
|
|
27
|
+
# MaLaC CDA Models
|
|
28
|
+
|
|
29
|
+
MaLaC-HD (MApping LAnguage Compiler for Health Data) is a tool that you can use to convert mappings between different health data formats to executable code. It can also be used as a library to dynamically execute mappings.
|
|
30
|
+
|
|
31
|
+
This is the cda models package to read or write XML serialized CDA documents. You can use it independently from the `malac-hd` package, together with the `malac-tools` package to execute mappings.
|
|
32
|
+
|
|
33
|
+
[TOC]
|
|
34
|
+
|
|
35
|
+
## Contributing and Support
|
|
36
|
+
|
|
37
|
+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for contributing to cdeHealth projects which are hosted in the [cdeHealth group](https://gitlab.com/cdehealth) on GitLab.com.
|
|
38
|
+
Please read [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) to make participation in our community a harassment free experience for everyone.
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
TODO
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# MaLaC CDA Models
|
|
2
|
+
|
|
3
|
+
MaLaC-HD (MApping LAnguage Compiler for Health Data) is a tool that you can use to convert mappings between different health data formats to executable code. It can also be used as a library to dynamically execute mappings.
|
|
4
|
+
|
|
5
|
+
This is the cda models package to read or write XML serialized CDA documents. You can use it independently from the `malac-hd` package, together with the `malac-tools` package to execute mappings.
|
|
6
|
+
|
|
7
|
+
[TOC]
|
|
8
|
+
|
|
9
|
+
## Contributing and Support
|
|
10
|
+
|
|
11
|
+
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for contributing to cdeHealth projects which are hosted in the [cdeHealth group](https://gitlab.com/cdehealth) on GitLab.com.
|
|
12
|
+
Please read [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) to make participation in our community a harassment free experience for everyone.
|
|
13
|
+
|
|
14
|
+
## License
|
|
15
|
+
TODO
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from malac.models.cda import at_ext, ch_ext_pharm, it_ext
|
|
2
|
+
|
|
3
|
+
__version__ = "1.1.0"
|
|
4
|
+
|
|
5
|
+
list_i_o_modules = {
|
|
6
|
+
"http://hl7.org/fhir/cda/StructureDefinition": {
|
|
7
|
+
None: at_ext,
|
|
8
|
+
"AT": at_ext,
|
|
9
|
+
"CH": ch_ext_pharm,
|
|
10
|
+
"IT": it_ext,
|
|
11
|
+
},
|
|
12
|
+
"http://hl7.org/cda/stds/core/StructureDefinition": {
|
|
13
|
+
None: at_ext,
|
|
14
|
+
"AT": at_ext,
|
|
15
|
+
"CH": ch_ext_pharm,
|
|
16
|
+
"IT": it_ext,
|
|
17
|
+
},
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
at_ext.AD.choice_group_names = ["item"]
|
|
21
|
+
at_ext.EN.choice_group_names = ["item"]
|
|
22
|
+
at_ext.ON.choice_group_names = ["item"]
|
|
23
|
+
ch_ext_pharm.AD.choice_group_names = ["item"]
|
|
24
|
+
ch_ext_pharm.EN.choice_group_names = ["item"]
|
|
25
|
+
ch_ext_pharm.ON.choice_group_names = ["item"]
|