A library to parse FHIR query strings.
Validates type and returns correct object
Parses modifiers and prefixes
Generally only have included Resources with maturity greater than 3. Some exceptions.
Usage
from fhir_parse_qs import Search
search = Search('Patient', 'name=bob') # Search(<endpoint>, <query_string>)
# what endpoint
print(search.endpoint) --> 'Patient'
# each parameter/value pair gets parsed into a namedtuple
search.parsed[0] --> FHIRSearch
# all the namedtuples
search.parsed --> [FHIRSearch]
# get FHIRSearch with parameter as key
search['name'] --> FHIRSearch
search.parsed[0].modifier --> None
search.parsed[0].prefix --> None
search.parsed[0].value --> 'bob'
search.parsed[0].paramater --> 'name'
# can iterate over the paramater/value pairs
for x in search:
print(x) --> FHIRSearch
Metadata
Release files for fhir-parse-qs 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fhir_parse_qs-0.1.0.tar.gz | 2.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fhir_parse_qs-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 4.6 kB
Release files / fhir_parse_qs-0.1.0.tar.gz
| Download URL | fhir_parse_qs-0.1.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6b2cfa702a56b6c1fb06d9448ab9dce8469031dacd48941c289d866e324d936
|
|
BLAKE2b-256 checksum How to use checksums |
7956893dbef7e00242e1000c9c14e03240d6b82b7d03114055661109c4c4e030
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / fhir_parse_qs-0.1.0-py2.py3-none-any.whl
| Download URL | fhir_parse_qs-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
09175b893e7572a58b810d459df023be7782b297322060eb0d07abcfbe605f1f
|
|
BLAKE2b-256 checksum How to use checksums |
b72b2690f0937483ddbe5acd42a11e81df3d091d302ed8f6854a4882a5697c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Security for fhir-parse-qs 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.