pysof 0.1.46__tar.gz → 0.2.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.
Files changed (295) hide show
  1. {pysof-0.1.46 → pysof-0.2.0}/Cargo.toml +5 -5
  2. {pysof-0.1.46 → pysof-0.2.0}/PKG-INFO +1 -1
  3. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/Cargo.toml +7 -3
  4. pysof-0.2.0/crates/fhir/src/compartment_expressions/mod.rs +20 -0
  5. pysof-0.2.0/crates/fhir/src/compartment_expressions/r4.rs +584 -0
  6. pysof-0.2.0/crates/fhir/src/compartment_expressions/r4b.rs +584 -0
  7. pysof-0.2.0/crates/fhir/src/compartment_expressions/r5.rs +677 -0
  8. pysof-0.2.0/crates/fhir/src/compartment_expressions/r6.rs +743 -0
  9. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/lib.rs +273 -34
  10. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/r4.rs +22201 -0
  11. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/r4b.rs +22580 -0
  12. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/r5.rs +29058 -0
  13. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/r6.rs +27084 -1226
  14. pysof-0.2.0/crates/fhir/src/search/errors.rs +175 -0
  15. pysof-0.2.0/crates/fhir/src/search/loader.rs +729 -0
  16. pysof-0.2.0/crates/fhir/src/search/mod.rs +27 -0
  17. pysof-0.2.0/crates/fhir/src/search/registry.rs +657 -0
  18. pysof-0.2.0/crates/fhir/src/search/types.rs +73 -0
  19. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir-macro/Cargo.toml +1 -1
  20. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir-macro/src/lib.rs +68 -34
  21. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/Cargo.toml +4 -3
  22. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/README.md +13 -1
  23. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/aggregate_function.rs +3 -3
  24. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/aggregate_math_functions.rs +38 -26
  25. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/boolean_functions.rs +8 -8
  26. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/boundary_functions.rs +18 -18
  27. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/cli.rs +17 -16
  28. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/collection_functions.rs +23 -23
  29. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/collection_navigation.rs +4 -4
  30. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/contains_function.rs +13 -11
  31. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/conversion_functions.rs +12 -12
  32. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/date_operation.rs +10 -10
  33. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/datetime_impl.rs +123 -70
  34. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/distinct_functions.rs +8 -6
  35. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/evaluator.rs +603 -521
  36. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/extension_function.rs +3 -3
  37. pysof-0.2.0/crates/fhirpath/src/fhir_type_hierarchy.rs +60 -0
  38. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/format_functions.rs +6 -6
  39. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/handlers.rs +31 -27
  40. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/interval_functions.rs +3 -3
  41. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/lib.rs +21 -12
  42. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/long_conversion.rs +10 -8
  43. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/models.rs +6 -0
  44. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/not_function.rs +3 -3
  45. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/parser.rs +127 -48
  46. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/polymorphic_access.rs +110 -50
  47. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/reference_key_functions.rs +16 -16
  48. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/repeat_function.rs +1 -1
  49. pysof-0.2.0/crates/fhirpath/src/resolve_function.rs +455 -0
  50. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/resource_type.rs +76 -66
  51. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/server.rs +61 -5
  52. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/set_operations.rs +14 -14
  53. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/terminology_functions.rs +21 -21
  54. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/type_function.rs +15 -12
  55. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/type_inference.rs +65 -23
  56. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/ucum.rs +20 -0
  57. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/all_function_tests.rs +3 -3
  58. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/common/context.rs +24 -9
  59. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/common/runner.rs +34 -21
  60. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/context_trace_test.rs +2 -2
  61. pysof-0.2.0/crates/fhirpath/tests/data/r5/input/diagnosticreport-eric.json +153 -0
  62. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/known-test-failures.json +2 -7
  63. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/date_operation_tests.rs +1 -1
  64. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/enhanced_variable_tests.rs +1 -1
  65. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/evaluator_tests.rs +40 -25
  66. pysof-0.2.0/crates/fhirpath/tests/http_compression.rs +261 -0
  67. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/join_function_test.rs +6 -10
  68. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/parse_debug_test.rs +62 -0
  69. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/precision_tests.rs +7 -7
  70. pysof-0.2.0/crates/fhirpath/tests/primitive_extension_tests.rs +199 -0
  71. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/r4_tests.rs +41 -20
  72. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/tree_navigation_tests.rs +8 -8
  73. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/type_preservation_integration_test.rs +2 -2
  74. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/type_reflection_tests.rs +24 -20
  75. pysof-0.2.0/crates/fhirpath/tests/unicode_scalar_value_tests.rs +175 -0
  76. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/uri_type_test.rs +5 -4
  77. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/uuid_type_preservation_test.rs +2 -2
  78. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath-support/src/lib.rs +246 -148
  79. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/Cargo.toml +5 -5
  80. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/lib_coverage_tests.rs +1 -0
  81. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/Cargo.toml +8 -4
  82. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/README.md +21 -7
  83. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/cli.rs +19 -1
  84. pysof-0.2.0/crates/sof/src/compartment.rs +327 -0
  85. pysof-0.2.0/crates/sof/src/constants.rs +354 -0
  86. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/error.rs +30 -3
  87. pysof-0.2.0/crates/sof/src/fhir_format.rs +275 -0
  88. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/handlers.rs +521 -270
  89. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/lib.rs +420 -17
  90. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/models.rs +108 -224
  91. pysof-0.2.0/crates/sof/src/params.rs +451 -0
  92. pysof-0.2.0/crates/sof/src/parquet_zip.rs +72 -0
  93. pysof-0.2.0/crates/sof/src/server.rs +904 -0
  94. pysof-0.2.0/crates/sof/src/sqlquery/bind.rs +322 -0
  95. pysof-0.2.0/crates/sof/src/sqlquery/engine.rs +531 -0
  96. pysof-0.2.0/crates/sof/src/sqlquery/library.rs +491 -0
  97. pysof-0.2.0/crates/sof/src/sqlquery/mod.rs +63 -0
  98. pysof-0.2.0/crates/sof/src/sqlquery/output.rs +330 -0
  99. pysof-0.2.0/crates/sof/src/sqlquery/params.rs +188 -0
  100. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/traits.rs +266 -428
  101. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/common/mod.rs +119 -46
  102. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_boolean_test.rs +1 -0
  103. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/server_tests.rs +336 -2
  104. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fhirpath.json +0 -76
  105. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_boundary.json +2 -2
  106. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_join.json +16 -0
  107. pysof-0.2.0/crates/sof/tests/sql-on-fhir-v2/tests/repeat.json +1330 -0
  108. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_format_parameter_body.rs +4 -3
  109. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_header_parameter_body.rs +17 -12
  110. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_shortened_format_names.rs +11 -0
  111. pysof-0.1.46/crates/fhirpath/src/fhir_type_hierarchy.rs +0 -61
  112. pysof-0.1.46/crates/sof/src/server.rs +0 -435
  113. pysof-0.1.46/crates/sof/src/streaming.rs +0 -184
  114. pysof-0.1.46/crates/sof/tests/sql-on-fhir-v2/tests/repeat.json +0 -519
  115. {pysof-0.1.46 → pysof-0.2.0}/README.md +0 -0
  116. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/README.md +0 -0
  117. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/build.rs +0 -0
  118. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/parameters.rs +0 -0
  119. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/src/r6.rs.template +0 -0
  120. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/tests/integer_string_integration.rs +0 -0
  121. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/tests/simple_null_test.rs +0 -0
  122. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir/tests/test_contained_stack.rs +0 -0
  123. {pysof-0.1.46 → pysof-0.2.0}/crates/fhir-macro/README.md +0 -0
  124. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/PRECISION_LIMITATION.md +0 -0
  125. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/benches/cli_benches.rs +0 -0
  126. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/benches/evaluator_benches.rs +0 -0
  127. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/benches/parser_benches.rs +0 -0
  128. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/benches/server_benches.rs +0 -0
  129. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/examples/test_ucum.rs +0 -0
  130. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/grammar/fhirpath.g4 +0 -0
  131. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/server-api.md +0 -0
  132. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/bin/fhirpath-cli.rs +0 -0
  133. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/bin/fhirpath-server.rs +0 -0
  134. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/debug_trace.rs +0 -0
  135. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/error.rs +0 -0
  136. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/json_utils.rs +0 -0
  137. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/parse_debug.rs +0 -0
  138. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/repeat_all_function.rs +0 -0
  139. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/subset_functions.rs +0 -0
  140. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/terminology_client.rs +0 -0
  141. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/src/trace_function.rs +0 -0
  142. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/boundary_debug_tests.rs +0 -0
  143. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/boundary_function_integration_tests.rs +0 -0
  144. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/comment_test.rs +0 -0
  145. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/common/mod.rs +0 -0
  146. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/common/parser.rs +0 -0
  147. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/observation-example.json +0 -0
  148. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/observation-example.xml +0 -0
  149. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/patient-example.json +0 -0
  150. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/patient-example.xml +0 -0
  151. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/questionnaire-example.json +0 -0
  152. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/questionnaire-example.xml +0 -0
  153. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/valueset-example-expansion.json +0 -0
  154. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/input/valueset-example-expansion.xml +0 -0
  155. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r4/tests-fhir-r4.xml +0 -0
  156. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/appointment-examplereq.json +0 -0
  157. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/ccda.json +0 -0
  158. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/codesystem-example.json +0 -0
  159. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/conceptmap-example.json +0 -0
  160. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/explanationofbenefit-example.json +0 -0
  161. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/observation-example.json +0 -0
  162. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/observation-example.xml +0 -0
  163. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/parameters-example-types.json +0 -0
  164. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/patient-container-example.json +0 -0
  165. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/patient-example-name.json +0 -0
  166. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/patient-example-period.json +0 -0
  167. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/patient-example.json +0 -0
  168. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/patient-name-extensions.json +0 -0
  169. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/questionnaire-example.json +0 -0
  170. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/input/valueset-example-expansion.json +0 -0
  171. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/r5/tests-fhir-r5.xml +0 -0
  172. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/data/testSchema.xsd +0 -0
  173. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/datetime_boundary_tests.rs +0 -0
  174. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/debug_datetime_boundary.rs +0 -0
  175. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/debug_string_boundary_tests.rs +0 -0
  176. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/define_variable_test.rs +0 -0
  177. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/extension_tests.rs +0 -0
  178. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/fhir_boundary_tests.rs +0 -0
  179. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/is_as_method_tests.rs +0 -0
  180. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/oftype_datetime_tests.rs +0 -0
  181. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/parser_tests.rs +0 -0
  182. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/polymorphic_r4_tests.rs +0 -0
  183. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/polymorphic_tests.rs +0 -0
  184. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/r5_tests.rs +0 -0
  185. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/reference_key_debug.rs +0 -0
  186. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/test_boundary_zero.rs +0 -0
  187. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/trace_api_test.rs +0 -0
  188. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/trace_tests.rs +0 -0
  189. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/truncate_tests.rs +0 -0
  190. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath/tests/type_operation_tests.rs +0 -0
  191. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath-support/Cargo.toml +0 -0
  192. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath-support/README.md +0 -0
  193. {pysof-0.1.46 → pysof-0.2.0}/crates/fhirpath-support/src/type_info.rs +0 -0
  194. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/.gitignore +0 -0
  195. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/Cargo.lock +0 -0
  196. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/Makefile +0 -0
  197. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/PYPI_CHECKLIST.md +0 -0
  198. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/README.md +0 -0
  199. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/WHEEL_BUILDING.md +0 -0
  200. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/multithreading_example.py +0 -0
  201. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/__init__.py +0 -0
  202. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_content_types.py +0 -0
  203. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_core_functions.py +0 -0
  204. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_error_handling.py +0 -0
  205. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_fhir_versions.py +0 -0
  206. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_import.py +0 -0
  207. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_package_metadata.py +0 -0
  208. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/python-tests/test_source_errors.py +0 -0
  209. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/scripts/build-wheels.py +0 -0
  210. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/src/lib.rs +0 -0
  211. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/src/pysof/__init__.py +0 -0
  212. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/src/pysof/_pysof.pyi +0 -0
  213. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/src/pysof/py.typed +0 -0
  214. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/test_multithreading.py +0 -0
  215. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/integration/content_types.rs +0 -0
  216. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/integration/error_handling.rs +0 -0
  217. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/integration/fhir_versions.rs +0 -0
  218. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/integration/mod.rs +0 -0
  219. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/integration.rs +0 -0
  220. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/lib_tests.rs +0 -0
  221. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/multithreading_integration.rs +0 -0
  222. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/tests/threading_test.rs +0 -0
  223. {pysof-0.1.46 → pysof-0.2.0}/crates/pysof/uv.lock +0 -0
  224. {pysof-0.1.46 → pysof-0.2.0}/crates/serde-support/Cargo.toml +0 -0
  225. {pysof-0.1.46 → pysof-0.2.0}/crates/serde-support/src/lib.rs +0 -0
  226. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/benches/parallel_processing_bench.rs +0 -0
  227. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/data_source.rs +0 -0
  228. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/mod.rs +0 -0
  229. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/src/parquet_schema.rs +0 -0
  230. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_column_ordering.rs +0 -0
  231. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_datetime_instant_constants.rs +0 -0
  232. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_datetime_type_info.rs +0 -0
  233. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_enum_conversion.rs +0 -0
  234. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_evaluation_result_conversion.rs +0 -0
  235. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_extension_function.rs +0 -0
  236. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_extension_macro_fix.rs +0 -0
  237. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_extension_simple.rs +0 -0
  238. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_fhir_resource_structure.rs +0 -0
  239. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_foreach_combinations.rs +0 -0
  240. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_inequality.rs +0 -0
  241. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_instant_constant.rs +0 -0
  242. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_instant_type_info.rs +0 -0
  243. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_raw_resource.rs +0 -0
  244. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/debug_reference_key_types.rs +0 -0
  245. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/extension_debug_test.rs +0 -0
  246. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/foreach_test.rs +0 -0
  247. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/multiselect_test.rs +0 -0
  248. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/run_foreach_tests.rs +0 -0
  249. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/basic.json +0 -0
  250. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/collection.json +0 -0
  251. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/combinations.json +0 -0
  252. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/constant.json +0 -0
  253. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/constant_types.json +0 -0
  254. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fhirpath_numbers.json +0 -0
  255. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_empty.json +0 -0
  256. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_extension.json +0 -0
  257. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_first.json +0 -0
  258. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_oftype.json +0 -0
  259. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/fn_reference_keys.json +0 -0
  260. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/foreach.json +0 -0
  261. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/logic.json +0 -0
  262. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/union.json +0 -0
  263. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/validate.json +0 -0
  264. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/view_resource.json +0 -0
  265. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql-on-fhir-v2/tests/where.json +0 -0
  266. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/sql_on_fhir_tests.rs +0 -0
  267. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_base64_binary_constant.rs +0 -0
  268. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_boolean_constant_debug.rs +0 -0
  269. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_boolean_constant_debug2.rs +0 -0
  270. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_boolean_constant_debug3.rs +0 -0
  271. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_boolean_validation.rs +0 -0
  272. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_chunked_processing.rs +0 -0
  273. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_cli_file_source.rs +0 -0
  274. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_csv_quote_handling.rs +0 -0
  275. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_extension_fix_verification.rs +0 -0
  276. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_extension_value_access.rs +0 -0
  277. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_limit_parameter_body.rs +0 -0
  278. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_ndjson_input.rs +0 -0
  279. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_parallel_working.rs +0 -0
  280. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_parameter_validation.rs +0 -0
  281. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_parquet_export.rs +0 -0
  282. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_parquet_large_dataset.rs +0 -0
  283. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_parquet_server_options.rs +0 -0
  284. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_patient_reference_formats.rs +0 -0
  285. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_query_parameter_combinations.rs +0 -0
  286. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_run_operation_parameters.rs +0 -0
  287. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_runner_integration.rs +0 -0
  288. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_where_clause_validation.rs +0 -0
  289. {pysof-0.1.46 → pysof-0.2.0}/crates/sof/tests/test_x_ndjson_support.rs +0 -0
  290. {pysof-0.1.46 → pysof-0.2.0}/pyproject.toml +0 -0
  291. {pysof-0.1.46 → pysof-0.2.0}/src/lib.rs +0 -0
  292. {pysof-0.1.46 → pysof-0.2.0}/src/pysof/__init__.py +0 -0
  293. {pysof-0.1.46 → pysof-0.2.0}/src/pysof/_pysof.cpython-311-darwin.so +0 -0
  294. {pysof-0.1.46 → pysof-0.2.0}/src/pysof/_pysof.pyi +0 -0
  295. {pysof-0.1.46 → pysof-0.2.0}/src/pysof/py.typed +0 -0
@@ -16,13 +16,13 @@ name = "pysof"
16
16
  crate-type = ["cdylib"]
17
17
 
18
18
  [dependencies]
19
- pyo3 = { version = ">=0.27", features = ["extension-module", "generate-import-lib"] }
20
- helios-sof = { path = "../sof", version = "0.1.46" }
21
- helios-fhir = { path = "../fhir", version = "0.1.46" }
19
+ pyo3 = { version = ">=0.29", features = ["extension-module", "generate-import-lib"] }
20
+ helios-sof = { path = "../sof", version = "0.2.0", default-features = false }
21
+ helios-fhir = { path = "../fhir", version = "0.2.0", default-features = false }
22
22
  serde = { workspace = true }
23
23
  serde_json = { workspace = true }
24
24
  chrono = { version = "0.4", features = ["serde"] }
25
- pythonize = "0.27"
25
+ pythonize = "0.29"
26
26
  csv = "1.3"
27
27
 
28
28
  [features]
@@ -37,4 +37,4 @@ R6 = ["helios-sof/R6", "helios-fhir/R6"]
37
37
  openssl = { version = "0.10", features = ["vendored"] }
38
38
 
39
39
  [build-dependencies]
40
- pyo3-build-config = "0.27"
40
+ pyo3-build-config = "0.29"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pysof
3
- Version: 0.1.46
3
+ Version: 0.2.0
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.10
6
6
  Classifier: Programming Language :: Python :: 3.11
@@ -24,13 +24,17 @@ xml = ["helios-serde-support/xml"]
24
24
  serde = { workspace = true }
25
25
  serde_json = { workspace = true, features = ["raw_value"] }
26
26
  clap = { version = "4.0", features = ["derive"] }
27
- helios-fhir-macro = { path = "../fhir-macro", version = "0.1.46" }
28
- helios-serde-support = { path = "../serde-support", version = "0.1.46" }
29
- helios-fhirpath-support = { path = "../fhirpath-support", version = "0.1.46" }
27
+ helios-fhir-macro = { path = "../fhir-macro", version = "0.2.0" }
28
+ helios-serde-support = { path = "../serde-support", version = "0.2.0" }
29
+ helios-fhirpath-support = { path = "../fhirpath-support", version = "0.2.0" }
30
30
  time = "0.3"
31
31
  chrono = { workspace = true }
32
32
  # Re-add serde-with-arbitrary-precision, keep macros
33
33
  rust_decimal = { version = "1.0", features = ["serde-with-arbitrary-precision", "macros"] }
34
+ # SearchParameter registry/loader (moved from helios-persistence so helios-sof
35
+ # can do compartment-aware filtering without a circular dep).
36
+ regex = "1"
37
+ tracing = "0.1"
34
38
 
35
39
  [dev-dependencies]
36
40
  rust_decimal_macros = "1.0"
@@ -0,0 +1,20 @@
1
+ //! Compartment search-param FHIRPath expression tables for each FHIR version.
2
+ //!
3
+ //! For each `(compartment, resource_type)` pair from a FHIR
4
+ //! `CompartmentDefinition`, exposes the `(search-param-name,
5
+ //! FHIRPath-expression)` pairs that link the resource to the
6
+ //! compartment. Used by `helios_sof::compartment` to drive `$viewdefinition-run`'s
7
+ //! patient/group filter against raw resource JSON without any runtime
8
+ //! data-file dependency — the tables are compiled in.
9
+ //!
10
+ //! Submodules are generated by `cargo run -p helios-fhir-gen --bin
11
+ //! compartment-expressions`; do not edit by hand.
12
+
13
+ #[cfg(feature = "R4")]
14
+ pub mod r4;
15
+ #[cfg(feature = "R4B")]
16
+ pub mod r4b;
17
+ #[cfg(feature = "R5")]
18
+ pub mod r5;
19
+ #[cfg(feature = "R6")]
20
+ pub mod r6;