Phc

Latest version: v0.34.1

Safety actively analyzes 621724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

1094.0

1048.0

1047.0

=> 2 NaN NaN NaN HER2/neu receptor status 919.0
=> 3 NaN NaN NaN TMB Status 3.0

144.0

3. Get full code values but restrict number of records to find the associated system and code
phc.Observation.get_codes("status", sample_size=10)
...
Retrieved 10/3017 results
Records with missing system/code values were not retrieved.

=> field code system display doc_count

0.34.1

Fixed

- the `params` argument in `phc.services.Fhires_sql()` is optional.

0.34.0

Added

- A New function `es_sql()` to `phc.services.Fhir` class to execute OpenSearch SQL.

Example:

python
df = Fhir(session).es_sql(
project_id='xxx',
statement='SELECT id, subject.reference FROM diagnostic_report WHERE identifier.system = ? LIMIT 10',
params=[{
"type": "string",
"value": "example-identifier-system"
}]
).get_as_dataframe('datarows')

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.