pathling 8.0.0.dev5__tar.gz → 8.0.1.dev0__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.
- pathling-8.0.1.dev0/LICENSE +227 -0
- {pathling-8.0.0.dev5/pathling.egg-info → pathling-8.0.1.dev0}/PKG-INFO +71 -32
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/README.md +68 -17
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/bulk.py +1 -1
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/designation.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/display.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/encode_bundles.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/encode_resources.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/fhir_view.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/member_of.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/property_of.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/subsumes.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/translate.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/__init__.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/_version.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/bulk.py +1 -1
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/coding.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/context.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/core.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/datasink.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/datasource.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/fhir.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/functions.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/spark.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling/udfs.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0/pathling.egg-info}/PKG-INFO +71 -32
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/setup.py +3 -3
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_bulk.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_datasource.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_encoders.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_functions.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_spark.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_udfs.py +2 -2
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/tests/test_view.py +2 -2
- pathling-8.0.0.dev5/LICENSE +0 -176
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/MANIFEST.in +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/data/bundles/Bennett146_Swaniawski813_704c9750-f6e6-473b-ee83-fbd48e07fe3f.json +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/data/bundles/Dino214_Parisian75_40d82b80-b682-cd8b-da6d-396809878641.json +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/data/resources/Condition.ndjson +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/examples/data/resources/Patient.ndjson +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling.egg-info/SOURCES.txt +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling.egg-info/dependency_links.txt +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling.egg-info/requires.txt +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/pathling.egg-info/top_level.txt +0 -0
- {pathling-8.0.0.dev5 → pathling-8.0.1.dev0}/setup.cfg +0 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
THIRD PARTY COMPONENTS
|
|
180
|
+
|
|
181
|
+
The following third party components are distributed with the Software. You
|
|
182
|
+
agree to comply with the licence terms for these components as part of
|
|
183
|
+
accessing the Software. Other third party software may also be identified in
|
|
184
|
+
separate files distributed with the Software.
|
|
185
|
+
|
|
186
|
+
* (Apache License, Version 2.0) FHIR Bulk Client (au.csiro.fhir:bulk-export:1.0.3 - https://github.com/aehrc/fhir-bulk-java)
|
|
187
|
+
* (Apache License, Version 2.0) HAPI FHIR - Core Library (ca.uhn.hapi.fhir:hapi-fhir-base:8.2.1 - http://jamesagnew.github.io/hapi-fhir/)
|
|
188
|
+
* (Apache License, Version 2.0) HAPI FHIR - Client Framework (ca.uhn.hapi.fhir:hapi-fhir-client:8.2.1 - https://hapifhir.io/hapi-deployable-pom/hapi-fhir-client)
|
|
189
|
+
* (Apache License, Version 2.0) HAPI FHIR Structures - FHIR R4 (ca.uhn.hapi.fhir:hapi-fhir-structures-r4:8.2.1 - https://hapifhir.io/hapi-deployable-pom/hapi-fhir-structures-r4)
|
|
190
|
+
* (Eclipse Public License 1.0) (GNU Lesser General Public License) Logback Classic Module (ch.qos.logback:logback-classic:1.5.18 - http://logback.qos.ch/logback-classic)
|
|
191
|
+
* (Apache License, Version 2.0) WireMock (com.github.tomakehurst:wiremock-jre8-standalone:2.35.2 - http://wiremock.org)
|
|
192
|
+
* (Apache License, Version 2.0) FindBugs-jsr305 (com.google.code.findbugs:jsr305:3.0.2 - http://findbugs.sourceforge.net/)
|
|
193
|
+
* (Apache License, Version 2.0) Gson (com.google.code.gson:gson:2.10 - https://github.com/google/gson/gson)
|
|
194
|
+
* (Apache License, Version 2.0) Apache Commons BeanUtils (commons-beanutils:commons-beanutils:1.11.0 - https://commons.apache.org/proper/commons-beanutils)
|
|
195
|
+
* (Apache License, Version 2.0) Apache Commons IO (commons-io:commons-io:2.16.1 - https://commons.apache.org/proper/commons-io/)
|
|
196
|
+
* (Apache License, Version 2.0) Commons Lang (commons-lang:commons-lang:2.6 - http://commons.apache.org/lang/)
|
|
197
|
+
* (Apache License, Version 2.0) delta-spark (io.delta:delta-spark_2.12:3.3.2 - https://delta.io/)
|
|
198
|
+
* (Apache License, Version 2.0) Jakarta Bean Validation API (jakarta.validation:jakarta.validation-api:3.0.2 - https://beanvalidation.org)
|
|
199
|
+
* (CDDL + GPLv2 with classpath exception) Java Servlet API (javax.servlet:javax.servlet-api:4.0.1 - https://javaee.github.io/servlet-spec/)
|
|
200
|
+
* (Apache License, Version 2.0) Joda-Time (joda-time:joda-time:2.12.7 - https://www.joda.org/joda-time/)
|
|
201
|
+
* (BSD License) ANTLR 4 Tool (org.antlr:antlr4:4.9.3 - http://www.antlr.org)
|
|
202
|
+
* (Apache License, Version 2.0) Apache Commons Lang (org.apache.commons:commons-lang3:3.18.0 - https://commons.apache.org/proper/commons-lang/)
|
|
203
|
+
* (Apache License, Version 2.0) Apache Derby Tools (org.apache.derby:derbytools:10.14.2.0 - http://db.apache.org/derby/)
|
|
204
|
+
* (Apache License, Version 2.0) Apache Hadoop Amazon Web Services support (org.apache.hadoop:hadoop-aws:3.3.4 - no url defined)
|
|
205
|
+
* (Apache License, Version 2.0) Apache Hadoop Client API (org.apache.hadoop:hadoop-client-api:3.3.4 - no url defined)
|
|
206
|
+
* (Apache License, Version 2.0) Spark Project Catalyst (org.apache.spark:spark-catalyst_2.12:3.5.6 - https://spark.apache.org/)
|
|
207
|
+
* (Apache License, Version 2.0) Spark Project Core (org.apache.spark:spark-core_2.12:3.5.6 - https://spark.apache.org/)
|
|
208
|
+
* (Apache License, Version 2.0) Spark Project Hive (org.apache.spark:spark-hive_2.12:3.5.6 - https://spark.apache.org/)
|
|
209
|
+
* (Apache License, Version 2.0) Spark Project SQL (org.apache.spark:spark-sql_2.12:3.5.6 - https://spark.apache.org/)
|
|
210
|
+
* (Apache License, Version 2.0) Spark Project Unsafe (org.apache.spark:spark-unsafe_2.12:3.5.6 - https://spark.apache.org/)
|
|
211
|
+
* (Apache License, Version 2.0) Awaitility (org.awaitility:awaitility:4.2.0 - http://awaitility.org)
|
|
212
|
+
* (Apache License, Version 2.0) Hibernate Validator Engine (org.hibernate.validator:hibernate-validator:8.0.1.Final - http://hibernate.org/validator/hibernate-validator)
|
|
213
|
+
* (Apache License, Version 2.0) Infinispan Commons (org.infinispan:infinispan-commons:15.0.3.Final - http://www.infinispan.org)
|
|
214
|
+
* (Apache License, Version 2.0) Infinispan Component Annotations (org.infinispan:infinispan-component-annotations:15.0.3.Final - http://www.infinispan.org)
|
|
215
|
+
* (Apache License, Version 2.0) Infinispan Core (org.infinispan:infinispan-core:15.0.3.Final - http://www.infinispan.org)
|
|
216
|
+
* (Public Domain) JSON in Java (org.json:json:20240303 - https://github.com/douglascrockford/JSON-java)
|
|
217
|
+
* (Eclipse Public License v2.0) JUnit Jupiter API (org.junit.jupiter:junit-jupiter-api:5.10.1 - https://junit.org/junit5/)
|
|
218
|
+
* (Eclipse Public License v2.0) JUnit Jupiter Engine (org.junit.jupiter:junit-jupiter-engine:5.10.1 - https://junit.org/junit5/)
|
|
219
|
+
* (Eclipse Public License v2.0) JUnit Jupiter Params (org.junit.jupiter:junit-jupiter-params:5.10.1 - https://junit.org/junit5/)
|
|
220
|
+
* (MIT License) mockito-core (org.mockito:mockito-core:5.8.0 - https://github.com/mockito/mockito)
|
|
221
|
+
* (GNU General Public License (GPL), version 2, with the Classpath exception) JMH Core (org.openjdk.jmh:jmh-core:1.37 - http://openjdk.java.net/projects/code-tools/jmh/jmh-core/)
|
|
222
|
+
* (GNU General Public License (GPL), version 2, with the Classpath exception) JMH Generators: Annotation Processors (org.openjdk.jmh:jmh-generator-annprocess:1.37 - http://openjdk.java.net/projects/code-tools/jmh/jmh-generator-annprocess/)
|
|
223
|
+
* (MIT License) Project Lombok (org.projectlombok:lombok:1.18.38 - https://projectlombok.org)
|
|
224
|
+
* (Apache License, Version 2.0) Scala Library (org.scala-lang:scala-library:2.12.17 - https://www.scala-lang.org/)
|
|
225
|
+
* (Apache License, Version 2.0) JSONassert (org.skyscreamer:jsonassert:1.5.1 - https://github.com/skyscreamer/JSONassert)
|
|
226
|
+
* (MIT License) SLF4J API Module (org.slf4j:slf4j-api:2.0.17 - http://www.slf4j.org)
|
|
227
|
+
* (Apache License, Version 2.0) spring-boot-starter-test (org.springframework.boot:spring-boot-starter-test:3.3.11 - https://spring.io/projects/spring-boot)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: pathling
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.1.dev0
|
|
4
4
|
Summary: Python API for Pathling
|
|
5
5
|
Home-page: https://github.com/aehrc/pathling
|
|
6
6
|
Author: Australian e-Health Research Centre, CSIRO
|
|
7
|
-
Author-email:
|
|
7
|
+
Author-email: pathling@csiro.au
|
|
8
8
|
License: Apache License, version 2.0
|
|
9
9
|
Keywords: pathling,fhir,analytics,spark,standards,terminology
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -17,24 +17,12 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: pyspark<3.6.0,>=3.5.2
|
|
19
19
|
Requires-Dist: deprecated>=1.2.13
|
|
20
|
-
Dynamic: author
|
|
21
|
-
Dynamic: author-email
|
|
22
|
-
Dynamic: classifier
|
|
23
|
-
Dynamic: description
|
|
24
|
-
Dynamic: description-content-type
|
|
25
|
-
Dynamic: home-page
|
|
26
|
-
Dynamic: keywords
|
|
27
|
-
Dynamic: license
|
|
28
|
-
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
|
-
Dynamic: requires-python
|
|
31
|
-
Dynamic: summary
|
|
32
20
|
|
|
33
21
|
Python API for Pathling
|
|
34
22
|
=======================
|
|
35
23
|
|
|
36
|
-
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
37
|
-
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
24
|
+
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
25
|
+
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
38
26
|
Python applications and data science workflows.
|
|
39
27
|
|
|
40
28
|
[View the API documentation →](https://pathling.csiro.au/docs/python/pathling.html)
|
|
@@ -103,6 +91,55 @@ patients = pc.encode_bundle(bundles, 'Patient')
|
|
|
103
91
|
patients.select('id', 'gender', 'birthDate').show()
|
|
104
92
|
```
|
|
105
93
|
|
|
94
|
+
## Running SQL on FHIR views
|
|
95
|
+
|
|
96
|
+
The Pathling library leverages the SQL on FHIR specification to provide a way to
|
|
97
|
+
project FHIR data into easy-to-use tabular forms.
|
|
98
|
+
|
|
99
|
+
Once you have transformed your FHIR data into tabular views, you can choose to
|
|
100
|
+
keep it in a Spark dataframe and continue to work with in Apache Spark, or
|
|
101
|
+
export it to Python or R dataframes or a variety of different file formats for
|
|
102
|
+
use in the tool of your choice.
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
from pathling import PathlingContext
|
|
106
|
+
|
|
107
|
+
pc = PathlingContext.create()
|
|
108
|
+
data = pc.read.ndjson("/some/file/location")
|
|
109
|
+
|
|
110
|
+
result = data.view(
|
|
111
|
+
resource="Patient",
|
|
112
|
+
select=[
|
|
113
|
+
{"column": [{"path": "getResourceKey()", "name": "patient_id"}]},
|
|
114
|
+
{
|
|
115
|
+
"forEach": "address",
|
|
116
|
+
"column": [
|
|
117
|
+
{"path": "line.join('\\n')", "name": "street"},
|
|
118
|
+
{"path": "use", "name": "use"},
|
|
119
|
+
{"path": "city", "name": "city"},
|
|
120
|
+
{"path": "postalCode", "name": "zip"},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
display(result)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The result of this query would look something like this:
|
|
130
|
+
|
|
131
|
+
| patient_id | street | use | city | zip |
|
|
132
|
+
|------------|----------------------------|------|------------|-------|
|
|
133
|
+
| 1 | 398 Kautzer Walk Suite 62 | home | Barnstable | 02675 |
|
|
134
|
+
| 1 | 186 Nitzsche Forge | work | Revere | 02151 |
|
|
135
|
+
| 2 | 1087 Quitzon Club | home | Plymouth | NULL |
|
|
136
|
+
| 3 | 442 Bruen Arcade | home | Nantucket | NULL |
|
|
137
|
+
| 4 | 858 Miller Junction Apt 61 | work | Brockton | 02301 |
|
|
138
|
+
|
|
139
|
+
For a more comprehensive example demonstrating SQL on FHIR queries with multiple
|
|
140
|
+
views, complex transformations and joins, see
|
|
141
|
+
the [SQL on FHIR example](https://pathling.csiro.au/docs/libraries/examples/prostate-cancer.md).
|
|
142
|
+
|
|
106
143
|
## Terminology functions
|
|
107
144
|
|
|
108
145
|
The library also provides a set of functions for querying a FHIR terminology
|
|
@@ -227,29 +264,31 @@ with_displays = exploded_parents.withColumn(
|
|
|
227
264
|
|
|
228
265
|
Results in:
|
|
229
266
|
|
|
230
|
-
| CODE | DESCRIPTION
|
|
231
|
-
|
|
232
|
-
| 65363002 | Otitis media
|
|
233
|
-
| 65363002 | Otitis media
|
|
234
|
-
| 16114001 | Fracture of ankle
|
|
235
|
-
| 16114001 | Fracture of ankle
|
|
236
|
-
| 444814009 | Viral sinusitis
|
|
237
|
-
| 444814009 | Viral sinusitis
|
|
238
|
-
| 444814009 | Viral sinusitis
|
|
239
|
-
| 444814009 | Viral sinusitis
|
|
240
|
-
| 444814009 | Viral sinusitis
|
|
241
|
-
| 444814009 | Viral sinusitis
|
|
267
|
+
| CODE | DESCRIPTION | PARENT | PARENT_DISPLAY |
|
|
268
|
+
|-----------|-------------------|-----------|-----------------------------------------|
|
|
269
|
+
| 65363002 | Otitis media | 43275000 | Otitis |
|
|
270
|
+
| 65363002 | Otitis media | 68996008 | Disorder of middle ear |
|
|
271
|
+
| 16114001 | Fracture of ankle | 125603006 | Injury of ankle |
|
|
272
|
+
| 16114001 | Fracture of ankle | 46866001 | Fracture of lower limb |
|
|
273
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
274
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
275
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
276
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
277
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
278
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
242
279
|
|
|
243
280
|
### Retrieving designations
|
|
244
281
|
|
|
245
282
|
Some terminologies contain additional display terms for codes. These can be used
|
|
246
|
-
for language translations, synonyms, and more. You can query these terms using
|
|
283
|
+
for language translations, synonyms, and more. You can query these terms using
|
|
284
|
+
the `designation` function.
|
|
247
285
|
|
|
248
286
|
```python
|
|
249
287
|
# Get the synonyms for each code in the dataset.
|
|
250
288
|
synonyms = csv.withColumn(
|
|
251
289
|
"SYNONYMS",
|
|
252
|
-
designation(to_snomed_coding(csv.CODE),
|
|
290
|
+
designation(to_snomed_coding(csv.CODE),
|
|
291
|
+
Coding.of_snomed("900000000000013009")),
|
|
253
292
|
)
|
|
254
293
|
# Split each synonyms into a separate row.
|
|
255
294
|
exploded_synonyms = synonyms.selectExpr(
|
|
@@ -347,7 +386,7 @@ RUN pip install --quiet --no-cache-dir pathling && \
|
|
|
347
386
|
fix-permissions "/home/${NB_USER}"
|
|
348
387
|
```
|
|
349
388
|
|
|
350
|
-
Pathling is copyright © 2018-
|
|
389
|
+
Pathling is copyright © 2018-2025, Commonwealth Scientific and Industrial
|
|
351
390
|
Research Organisation
|
|
352
391
|
(CSIRO) ABN 41 687 119 230. Licensed under
|
|
353
392
|
the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Python API for Pathling
|
|
2
2
|
=======================
|
|
3
3
|
|
|
4
|
-
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
5
|
-
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
4
|
+
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
5
|
+
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
6
6
|
Python applications and data science workflows.
|
|
7
7
|
|
|
8
8
|
[View the API documentation →](https://pathling.csiro.au/docs/python/pathling.html)
|
|
@@ -71,6 +71,55 @@ patients = pc.encode_bundle(bundles, 'Patient')
|
|
|
71
71
|
patients.select('id', 'gender', 'birthDate').show()
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
+
## Running SQL on FHIR views
|
|
75
|
+
|
|
76
|
+
The Pathling library leverages the SQL on FHIR specification to provide a way to
|
|
77
|
+
project FHIR data into easy-to-use tabular forms.
|
|
78
|
+
|
|
79
|
+
Once you have transformed your FHIR data into tabular views, you can choose to
|
|
80
|
+
keep it in a Spark dataframe and continue to work with in Apache Spark, or
|
|
81
|
+
export it to Python or R dataframes or a variety of different file formats for
|
|
82
|
+
use in the tool of your choice.
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
from pathling import PathlingContext
|
|
86
|
+
|
|
87
|
+
pc = PathlingContext.create()
|
|
88
|
+
data = pc.read.ndjson("/some/file/location")
|
|
89
|
+
|
|
90
|
+
result = data.view(
|
|
91
|
+
resource="Patient",
|
|
92
|
+
select=[
|
|
93
|
+
{"column": [{"path": "getResourceKey()", "name": "patient_id"}]},
|
|
94
|
+
{
|
|
95
|
+
"forEach": "address",
|
|
96
|
+
"column": [
|
|
97
|
+
{"path": "line.join('\\n')", "name": "street"},
|
|
98
|
+
{"path": "use", "name": "use"},
|
|
99
|
+
{"path": "city", "name": "city"},
|
|
100
|
+
{"path": "postalCode", "name": "zip"},
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
display(result)
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
The result of this query would look something like this:
|
|
110
|
+
|
|
111
|
+
| patient_id | street | use | city | zip |
|
|
112
|
+
|------------|----------------------------|------|------------|-------|
|
|
113
|
+
| 1 | 398 Kautzer Walk Suite 62 | home | Barnstable | 02675 |
|
|
114
|
+
| 1 | 186 Nitzsche Forge | work | Revere | 02151 |
|
|
115
|
+
| 2 | 1087 Quitzon Club | home | Plymouth | NULL |
|
|
116
|
+
| 3 | 442 Bruen Arcade | home | Nantucket | NULL |
|
|
117
|
+
| 4 | 858 Miller Junction Apt 61 | work | Brockton | 02301 |
|
|
118
|
+
|
|
119
|
+
For a more comprehensive example demonstrating SQL on FHIR queries with multiple
|
|
120
|
+
views, complex transformations and joins, see
|
|
121
|
+
the [SQL on FHIR example](https://pathling.csiro.au/docs/libraries/examples/prostate-cancer.md).
|
|
122
|
+
|
|
74
123
|
## Terminology functions
|
|
75
124
|
|
|
76
125
|
The library also provides a set of functions for querying a FHIR terminology
|
|
@@ -195,29 +244,31 @@ with_displays = exploded_parents.withColumn(
|
|
|
195
244
|
|
|
196
245
|
Results in:
|
|
197
246
|
|
|
198
|
-
| CODE | DESCRIPTION
|
|
199
|
-
|
|
200
|
-
| 65363002 | Otitis media
|
|
201
|
-
| 65363002 | Otitis media
|
|
202
|
-
| 16114001 | Fracture of ankle
|
|
203
|
-
| 16114001 | Fracture of ankle
|
|
204
|
-
| 444814009 | Viral sinusitis
|
|
205
|
-
| 444814009 | Viral sinusitis
|
|
206
|
-
| 444814009 | Viral sinusitis
|
|
207
|
-
| 444814009 | Viral sinusitis
|
|
208
|
-
| 444814009 | Viral sinusitis
|
|
209
|
-
| 444814009 | Viral sinusitis
|
|
247
|
+
| CODE | DESCRIPTION | PARENT | PARENT_DISPLAY |
|
|
248
|
+
|-----------|-------------------|-----------|-----------------------------------------|
|
|
249
|
+
| 65363002 | Otitis media | 43275000 | Otitis |
|
|
250
|
+
| 65363002 | Otitis media | 68996008 | Disorder of middle ear |
|
|
251
|
+
| 16114001 | Fracture of ankle | 125603006 | Injury of ankle |
|
|
252
|
+
| 16114001 | Fracture of ankle | 46866001 | Fracture of lower limb |
|
|
253
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
254
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
255
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
256
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
257
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
258
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
210
259
|
|
|
211
260
|
### Retrieving designations
|
|
212
261
|
|
|
213
262
|
Some terminologies contain additional display terms for codes. These can be used
|
|
214
|
-
for language translations, synonyms, and more. You can query these terms using
|
|
263
|
+
for language translations, synonyms, and more. You can query these terms using
|
|
264
|
+
the `designation` function.
|
|
215
265
|
|
|
216
266
|
```python
|
|
217
267
|
# Get the synonyms for each code in the dataset.
|
|
218
268
|
synonyms = csv.withColumn(
|
|
219
269
|
"SYNONYMS",
|
|
220
|
-
designation(to_snomed_coding(csv.CODE),
|
|
270
|
+
designation(to_snomed_coding(csv.CODE),
|
|
271
|
+
Coding.of_snomed("900000000000013009")),
|
|
221
272
|
)
|
|
222
273
|
# Split each synonyms into a separate row.
|
|
223
274
|
exploded_synonyms = synonyms.selectExpr(
|
|
@@ -315,7 +366,7 @@ RUN pip install --quiet --no-cache-dir pathling && \
|
|
|
315
366
|
fix-permissions "/home/${NB_USER}"
|
|
316
367
|
```
|
|
317
368
|
|
|
318
|
-
Pathling is copyright © 2018-
|
|
369
|
+
Pathling is copyright © 2018-2025, Commonwealth Scientific and Industrial
|
|
319
370
|
Research Organisation
|
|
320
371
|
(CSIRO) ABN 41 687 119 230. Licensed under
|
|
321
372
|
the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
# Auto generated from POM project version.
|
|
3
3
|
# Please do not modify.
|
|
4
4
|
#
|
|
5
|
-
__version__="8.0.
|
|
6
|
-
__java_version__="8.0.
|
|
5
|
+
__version__="8.0.1.dev0"
|
|
6
|
+
__java_version__="8.0.1-SNAPSHOT"
|
|
7
7
|
__scala_version__="2.12"
|
|
8
8
|
__delta_version__="3.3.2"
|
|
9
9
|
__hadoop_version__="3.3.4"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright 2025 Commonwealth Scientific and Industrial Research
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: pathling
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.1.dev0
|
|
4
4
|
Summary: Python API for Pathling
|
|
5
5
|
Home-page: https://github.com/aehrc/pathling
|
|
6
6
|
Author: Australian e-Health Research Centre, CSIRO
|
|
7
|
-
Author-email:
|
|
7
|
+
Author-email: pathling@csiro.au
|
|
8
8
|
License: Apache License, version 2.0
|
|
9
9
|
Keywords: pathling,fhir,analytics,spark,standards,terminology
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
@@ -17,24 +17,12 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: pyspark<3.6.0,>=3.5.2
|
|
19
19
|
Requires-Dist: deprecated>=1.2.13
|
|
20
|
-
Dynamic: author
|
|
21
|
-
Dynamic: author-email
|
|
22
|
-
Dynamic: classifier
|
|
23
|
-
Dynamic: description
|
|
24
|
-
Dynamic: description-content-type
|
|
25
|
-
Dynamic: home-page
|
|
26
|
-
Dynamic: keywords
|
|
27
|
-
Dynamic: license
|
|
28
|
-
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
|
-
Dynamic: requires-python
|
|
31
|
-
Dynamic: summary
|
|
32
20
|
|
|
33
21
|
Python API for Pathling
|
|
34
22
|
=======================
|
|
35
23
|
|
|
36
|
-
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
37
|
-
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
24
|
+
This is the Python API for [Pathling](https://pathling.csiro.au). It provides a
|
|
25
|
+
set of tools that aid the use of FHIR terminology services and FHIR data within
|
|
38
26
|
Python applications and data science workflows.
|
|
39
27
|
|
|
40
28
|
[View the API documentation →](https://pathling.csiro.au/docs/python/pathling.html)
|
|
@@ -103,6 +91,55 @@ patients = pc.encode_bundle(bundles, 'Patient')
|
|
|
103
91
|
patients.select('id', 'gender', 'birthDate').show()
|
|
104
92
|
```
|
|
105
93
|
|
|
94
|
+
## Running SQL on FHIR views
|
|
95
|
+
|
|
96
|
+
The Pathling library leverages the SQL on FHIR specification to provide a way to
|
|
97
|
+
project FHIR data into easy-to-use tabular forms.
|
|
98
|
+
|
|
99
|
+
Once you have transformed your FHIR data into tabular views, you can choose to
|
|
100
|
+
keep it in a Spark dataframe and continue to work with in Apache Spark, or
|
|
101
|
+
export it to Python or R dataframes or a variety of different file formats for
|
|
102
|
+
use in the tool of your choice.
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
from pathling import PathlingContext
|
|
106
|
+
|
|
107
|
+
pc = PathlingContext.create()
|
|
108
|
+
data = pc.read.ndjson("/some/file/location")
|
|
109
|
+
|
|
110
|
+
result = data.view(
|
|
111
|
+
resource="Patient",
|
|
112
|
+
select=[
|
|
113
|
+
{"column": [{"path": "getResourceKey()", "name": "patient_id"}]},
|
|
114
|
+
{
|
|
115
|
+
"forEach": "address",
|
|
116
|
+
"column": [
|
|
117
|
+
{"path": "line.join('\\n')", "name": "street"},
|
|
118
|
+
{"path": "use", "name": "use"},
|
|
119
|
+
{"path": "city", "name": "city"},
|
|
120
|
+
{"path": "postalCode", "name": "zip"},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
display(result)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The result of this query would look something like this:
|
|
130
|
+
|
|
131
|
+
| patient_id | street | use | city | zip |
|
|
132
|
+
|------------|----------------------------|------|------------|-------|
|
|
133
|
+
| 1 | 398 Kautzer Walk Suite 62 | home | Barnstable | 02675 |
|
|
134
|
+
| 1 | 186 Nitzsche Forge | work | Revere | 02151 |
|
|
135
|
+
| 2 | 1087 Quitzon Club | home | Plymouth | NULL |
|
|
136
|
+
| 3 | 442 Bruen Arcade | home | Nantucket | NULL |
|
|
137
|
+
| 4 | 858 Miller Junction Apt 61 | work | Brockton | 02301 |
|
|
138
|
+
|
|
139
|
+
For a more comprehensive example demonstrating SQL on FHIR queries with multiple
|
|
140
|
+
views, complex transformations and joins, see
|
|
141
|
+
the [SQL on FHIR example](https://pathling.csiro.au/docs/libraries/examples/prostate-cancer.md).
|
|
142
|
+
|
|
106
143
|
## Terminology functions
|
|
107
144
|
|
|
108
145
|
The library also provides a set of functions for querying a FHIR terminology
|
|
@@ -227,29 +264,31 @@ with_displays = exploded_parents.withColumn(
|
|
|
227
264
|
|
|
228
265
|
Results in:
|
|
229
266
|
|
|
230
|
-
| CODE | DESCRIPTION
|
|
231
|
-
|
|
232
|
-
| 65363002 | Otitis media
|
|
233
|
-
| 65363002 | Otitis media
|
|
234
|
-
| 16114001 | Fracture of ankle
|
|
235
|
-
| 16114001 | Fracture of ankle
|
|
236
|
-
| 444814009 | Viral sinusitis
|
|
237
|
-
| 444814009 | Viral sinusitis
|
|
238
|
-
| 444814009 | Viral sinusitis
|
|
239
|
-
| 444814009 | Viral sinusitis
|
|
240
|
-
| 444814009 | Viral sinusitis
|
|
241
|
-
| 444814009 | Viral sinusitis
|
|
267
|
+
| CODE | DESCRIPTION | PARENT | PARENT_DISPLAY |
|
|
268
|
+
|-----------|-------------------|-----------|-----------------------------------------|
|
|
269
|
+
| 65363002 | Otitis media | 43275000 | Otitis |
|
|
270
|
+
| 65363002 | Otitis media | 68996008 | Disorder of middle ear |
|
|
271
|
+
| 16114001 | Fracture of ankle | 125603006 | Injury of ankle |
|
|
272
|
+
| 16114001 | Fracture of ankle | 46866001 | Fracture of lower limb |
|
|
273
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
274
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
275
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
276
|
+
| 444814009 | Viral sinusitis | 36971009 | Sinusitis |
|
|
277
|
+
| 444814009 | Viral sinusitis | 281794004 | Viral upper respiratory tract infection |
|
|
278
|
+
| 444814009 | Viral sinusitis | 363166002 | Infective disorder of head |
|
|
242
279
|
|
|
243
280
|
### Retrieving designations
|
|
244
281
|
|
|
245
282
|
Some terminologies contain additional display terms for codes. These can be used
|
|
246
|
-
for language translations, synonyms, and more. You can query these terms using
|
|
283
|
+
for language translations, synonyms, and more. You can query these terms using
|
|
284
|
+
the `designation` function.
|
|
247
285
|
|
|
248
286
|
```python
|
|
249
287
|
# Get the synonyms for each code in the dataset.
|
|
250
288
|
synonyms = csv.withColumn(
|
|
251
289
|
"SYNONYMS",
|
|
252
|
-
designation(to_snomed_coding(csv.CODE),
|
|
290
|
+
designation(to_snomed_coding(csv.CODE),
|
|
291
|
+
Coding.of_snomed("900000000000013009")),
|
|
253
292
|
)
|
|
254
293
|
# Split each synonyms into a separate row.
|
|
255
294
|
exploded_synonyms = synonyms.selectExpr(
|
|
@@ -347,7 +386,7 @@ RUN pip install --quiet --no-cache-dir pathling && \
|
|
|
347
386
|
fix-permissions "/home/${NB_USER}"
|
|
348
387
|
```
|
|
349
388
|
|
|
350
|
-
Pathling is copyright © 2018-
|
|
389
|
+
Pathling is copyright © 2018-2025, Commonwealth Scientific and Industrial
|
|
351
390
|
Research Organisation
|
|
352
391
|
(CSIRO) ABN 41 687 119 230. Licensed under
|
|
353
392
|
the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -50,7 +50,7 @@ setup(
|
|
|
50
50
|
long_description=long_description,
|
|
51
51
|
long_description_content_type="text/markdown",
|
|
52
52
|
author="Australian e-Health Research Centre, CSIRO",
|
|
53
|
-
author_email="
|
|
53
|
+
author_email="pathling@csiro.au",
|
|
54
54
|
url="https://github.com/aehrc/pathling",
|
|
55
55
|
keywords=["pathling", "fhir", "analytics", "spark", "standards", "terminology"],
|
|
56
56
|
classifiers=[
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright © 2018-2025 Commonwealth Scientific and Industrial Research
|
|
2
2
|
# Organisation (CSIRO) ABN 41 687 119 230.
|
|
3
|
-
#
|
|
3
|
+
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
pathling-8.0.0.dev5/LICENSE
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|