diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index c4c0ecfa..d9067c18 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v3 with: - python-version: '3.7' + python-version: '3.12' - name: pre-commit run: make run-pre-commit diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6b1228c3..44387413 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d67fc6c..6313f5fb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,4 +26,4 @@ repos: types: [ python ] entry: mypy require_serial: true - args: [ --strict, --python-version=3.7, --show-error-codes, --allow-untyped-decorators ] + args: [ --strict, --python-version=3.12, --show-error-codes, --allow-untyped-decorators ] diff --git a/Makefile b/Makefile index 49595bc3..63a3ab54 100644 --- a/Makefile +++ b/Makefile @@ -3,22 +3,24 @@ LANG=en_US.utf-8 export LANG Pipfile.lock: Pipfile - docker-compose run --rm --name spark_fhir_schemas dev pipenv lock --dev + docker compose run --rm --name spark_fhir_schemas dev sh -c "rm -f Pipfile.lock && pipenv lock --dev" .PHONY:devdocker devdocker: ## Builds the docker for dev - docker-compose build --no-cache + docker compose build --no-cache .PHONY:init init: devdocker up setup-pre-commit ## Initializes the local developer environment .PHONY: up up: Pipfile.lock - docker-compose up --build -d --remove-orphans + docker compose up --build -d .PHONY: down -down: - docker-compose down +down: ## Brings down all the services in docker-compose + export DOCKER_CLIENT_TIMEOUT=300 && export COMPOSE_HTTP_TIMEOUT=300 + docker compose down --remove-orphans && \ + docker system prune -f .PHONY:clean-pre-commit clean-pre-commit: ## removes pre-commit hook @@ -34,51 +36,46 @@ run-pre-commit: setup-pre-commit .PHONY:update update: down Pipfile.lock setup-pre-commit ## Updates all the packages using Pipfile - docker-compose run --rm --name sfs_pipenv dev pipenv sync --dev && \ - make devdocker && \ - make pipenv-setup + docker compose run --rm --name sfs_pipenv dev pipenv sync --dev && \ + make devdocker .PHONY:tests tests: up - docker-compose run --rm --name sfs_tests dev pytest tests + docker compose run --rm --name sfs_tests dev pytest tests .PHONY: sphinx-html sphinx-html: - docker-compose run --rm --name spark_fhir_schemas dev make -C docsrc html + docker compose run --rm --name spark_fhir_schemas dev make -C docsrc html @echo "copy html to docs... why? https://github.com/sphinx-doc/sphinx/issues/3382#issuecomment-470772316" @rm -rf docs/* @touch docs/.nojekyll cp -a docsrc/_build/html/. docs -.PHONY:pipenv-setup -pipenv-setup:devdocker ## Brings up the bash shell in dev docker - docker-compose run --rm --name sfs_tests dev pipenv-setup sync --pipfile - .PHONY:shell shell:devdocker ## Brings up the bash shell in dev docker - docker-compose run --rm --name sfs_shell dev /bin/bash + docker compose run --rm --name sfs_shell dev /bin/bash .PHONY:schema-r4 schema-r4: - docker-compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/r4/generate_schema.py && \ + docker compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/r4/generate_schema.py && \ make run-pre-commit make run-pre-commit .PHONY:schema-r4b schema-r4b: - docker-compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/r4b/generate_schema.py && \ + docker compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/r4b/generate_schema.py && \ make run-pre-commit make run-pre-commit .PHONY:schema-stu3 schema-stu3: - docker-compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/stu3/generate_schema.py && \ + docker compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/stu3/generate_schema.py && \ make run-pre-commit make run-pre-commit .PHONY:schema-dstu2 schema-dstu2: - docker-compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/dstu2/generate_schema_file.py && \ - docker-compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/dstu2/generate_schema.py && \ + docker compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/dstu2/generate_schema_file.py && \ + docker compose run --rm --name sfs_shell dev python3 spark_fhir_schemas/dstu2/generate_schema.py && \ make run-pre-commit make run-pre-commit diff --git a/Pipfile b/Pipfile index 4aa956d2..1a5b6ae5 100644 --- a/Pipfile +++ b/Pipfile @@ -4,34 +4,48 @@ verify_ssl = true name = "pypi" [packages] -pyspark = ">=3.1.1" +# py4j is needed for connecting to the JVM +py4j="==0.10.9.7" # https://spark.apache.org/docs/latest/api/python/getting_started/install.html#dependencies +# pyspark is needed for working with Spark +pyspark="==3.5.1" # should match the version of spark we use for testing [dev-packages] -setuptools=">=60.9.3" -wheel=">=0.37.1" -twine=">=3.8.0" -pre-commit=">=2.20.0" -autoflake=">=1.5.3" -mypy = "==0.971" -pytest = ">=7.1.2" -black = ">=22.8.0" -importlib-metadata = ">=4.0.1" -py4j = "==0.10.9.5" # https://spark.apache.org/docs/latest/api/python/getting_started/install.html#dependencies -pyspark="==3.3.0" # should match the version of spark we use for testing -pygments = ">=2.8.1" # not directly required, pinned by Snyk to avoid a vulnerability -types-Deprecated=">=0.1.2" +# setuptools is needed for building the package +setuptools=">=72.1.0" +packaging=">=24.1" +# wheel is needed for building the package +wheel = ">=0.43.0" +twine=">=5.1.1" +# pre-commit is needed for running code quality checks +pre-commit=">=3.7.1" +# autoflake is needed for removing unused imports +autoflake=">=2.3.1" +# mypy is needed for type checking +mypy = ">=1.10.1" +# pytest is needed for running tests +pytest = ">=8.2.2" +# black is needed for formatting code +black = ">=24.4.2" +# importlib-metadata is needed for working with metadata +importlib-metadata = ">=5.2.0" +pygments = ">=2.18.0" # not directly required, pinned by Snyk to avoid a vulnerability +types-Deprecated=">=1.2.9.20240311" +# Sphinx is needed for generating documentation Sphinx="==4.1.2" -sphinx-autoapi="==1.8.4" -sphinx-rtd-theme="==0.5.2" -myst-parser="==0.15.1" -pipenv-setup = ">=3.2.0" -vistir="==0.6.1" # https://github.com/Madoshakalaka/pipenv-setup/issues/138 -lxml="==4.9.1" -jinja2="==3.1.2" -jsonpickle="==2.2.0" +# sphinx-autoapi is needed for generating API documentation +sphinx-autoapi="==2.0.0" +# sphinx-rtd-theme is needed for the Read the Docs theme +sphinx-rtd-theme="==1.0.0" +# myst-parser is needed for parsing Markdown +myst-parser="==0.17.2" + +vistir=">=0.6.1" # https://github.com/Madoshakalaka/pipenv-setup/issues/138 +lxml=">=4.9.1" +jinja2=">=3.1.2" +#jsonpickle=">=2.2.0" [requires] -python_version = "3.7" +python_version = "3.12" [pipenv] allow_prereleases = false diff --git a/Pipfile.lock b/Pipfile.lock index 2cbffa39..6737e2ef 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,11 +1,11 @@ { "_meta": { "hash": { - "sha256": "202de0e33ed3eb5a52566767acd00c267dc6f20792bdece139f7d0e4c862dd40" + "sha256": "9776e7e7e4cbf20237e9db8e78dca3b91b2fde5f777680124958bcbfae552008" }, "pipfile-spec": 6, "requires": { - "python_version": "3.7" + "python_version": "3.12" }, "sources": [ { @@ -18,301 +18,356 @@ "default": { "py4j": { "hashes": [ - "sha256:276a4a3c5a2154df1860ef3303a927460e02e97b047dc0a47c1c3fb8cce34db6", - "sha256:52d171a6a2b031d8a5d1de6efe451cf4f5baff1a2819aabc3741c8406539ba04" + "sha256:0b6e5315bb3ada5cf62ac651d107bb2ebc02def3dee9d9548e3baac644ea8dbb", + "sha256:85defdfd2b2376eb3abf5ca6474b51ab7e0de341c75a02f46dc9b5976f5a5c1b" ], - "version": "==0.10.9.5" + "index": "pypi", + "version": "==0.10.9.7" }, "pyspark": { "hashes": [ - "sha256:7ebe8e9505647b4d124d5a82fca60dfd3891021cf8ad6c5ec88777eeece92cf7" + "sha256:dd6569e547365eadc4f887bf57f153e4d582a68c4b490de475d55b9981664910" ], "index": "pypi", - "version": "==3.3.0" + "markers": "python_version >= '3.8'", + "version": "==3.5.1" } }, "develop": { "alabaster": { "hashes": [ - "sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359", - "sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02" + "sha256:75a8b99c28a5dad50dd7f8ccdd447a121ddb3892da9e53d1ca5cca3106d58d65", + "sha256:b46733c07dce03ae4e150330b975c75737fa60f0a7c591b6c8bf4928a28e2c92" ], - "version": "==0.7.12" + "markers": "python_version >= '3.9'", + "version": "==0.7.16" }, "astroid": { "hashes": [ - "sha256:2df4f9980c4511474687895cbfdb8558293c1a826d9118bb09233d7c2bff1c83", - "sha256:867a756bbf35b7bc07b35bfa6522acd01f91ad9919df675e8428072869792dce" - ], - "markers": "python_full_version >= '3.7.2'", - "version": "==2.12.11" - }, - "attrs": { - "hashes": [ - "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4", - "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd" + "sha256:99e9b5b602cbb005434084309213d6af32bf7a9b743c836749168b8e2b330cbd", + "sha256:9f8136ce9770e0f912401b25a0f15d5c2ec20b50e99b1b413ac0778fe53ff6f1" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==21.4.0" + "markers": "python_full_version >= '3.9.0'", + "version": "==3.3.2" }, "autoflake": { "hashes": [ - "sha256:9848061faca11745e6ca9feb010a8caa9d62ec3ea1817413c226eb3b58bbdada", - "sha256:bedb29201b07876cd9cad3a804760b1127b9bf156cf9689762a12eabd1683b65" + "sha256:3ae7495db9084b7b32818b4140e6dc4fc280b712fb414f5b8fe57b0a8e85a840", + "sha256:c98b75dc5b0a86459c4f01a1d32ac7eb4338ec4317a4469515ff1e687ecd909e" ], "index": "pypi", - "version": "==1.7.5" + "markers": "python_version >= '3.8'", + "version": "==2.3.1" }, "babel": { "hashes": [ - "sha256:7614553711ee97490f732126dc077f8d0ae084ebc6a96e23db1482afabdb2c51", - "sha256:ff56f4892c1c4bf0d814575ea23471c230d544203c7748e8c68f0089478d48eb" + "sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b", + "sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316" ], - "markers": "python_version >= '3.6'", - "version": "==2.10.3" + "markers": "python_version >= '3.8'", + "version": "==2.16.0" }, "black": { "hashes": [ - "sha256:14ff67aec0a47c424bc99b71005202045dc09270da44a27848d534600ac64fc7", - "sha256:197df8509263b0b8614e1df1756b1dd41be6738eed2ba9e9769f3880c2b9d7b6", - "sha256:1e464456d24e23d11fced2bc8c47ef66d471f845c7b7a42f3bd77bf3d1789650", - "sha256:2039230db3c6c639bd84efe3292ec7b06e9214a2992cd9beb293d639c6402edb", - "sha256:21199526696b8f09c3997e2b4db8d0b108d801a348414264d2eb8eb2532e540d", - "sha256:2644b5d63633702bc2c5f3754b1b475378fbbfb481f62319388235d0cd104c2d", - "sha256:432247333090c8c5366e69627ccb363bc58514ae3e63f7fc75c54b1ea80fa7de", - "sha256:444ebfb4e441254e87bad00c661fe32df9969b2bf224373a448d8aca2132b395", - "sha256:5b9b29da4f564ba8787c119f37d174f2b69cdfdf9015b7d8c5c16121ddc054ae", - "sha256:5cc42ca67989e9c3cf859e84c2bf014f6633db63d1cbdf8fdb666dcd9e77e3fa", - "sha256:5d8f74030e67087b219b032aa33a919fae8806d49c867846bfacde57f43972ef", - "sha256:72ef3925f30e12a184889aac03d77d031056860ccae8a1e519f6cbb742736383", - "sha256:819dc789f4498ecc91438a7de64427c73b45035e2e3680c92e18795a839ebb66", - "sha256:915ace4ff03fdfff953962fa672d44be269deb2eaf88499a0f8805221bc68c87", - "sha256:9311e99228ae10023300ecac05be5a296f60d2fd10fff31cf5c1fa4ca4b1988d", - "sha256:974308c58d057a651d182208a484ce80a26dac0caef2895836a92dd6ebd725e0", - "sha256:b8b49776299fece66bffaafe357d929ca9451450f5466e997a7285ab0fe28e3b", - "sha256:c957b2b4ea88587b46cf49d1dc17681c1e672864fd7af32fc1e9664d572b3458", - "sha256:e41a86c6c650bcecc6633ee3180d80a025db041a8e2398dcc059b3afa8382cd4", - "sha256:f513588da599943e0cde4e32cc9879e825d58720d6557062d1098c5ad80080e1", - "sha256:fba8a281e570adafb79f7755ac8721b6cf1bbf691186a287e990c7929c7692ff" + "sha256:09cdeb74d494ec023ded657f7092ba518e8cf78fa8386155e4a03fdcc44679e6", + "sha256:1f13f7f386f86f8121d76599114bb8c17b69d962137fc70efe56137727c7047e", + "sha256:2500945420b6784c38b9ee885af039f5e7471ef284ab03fa35ecdde4688cd83f", + "sha256:2b59b250fdba5f9a9cd9d0ece6e6d993d91ce877d121d161e4698af3eb9c1018", + "sha256:3c4285573d4897a7610054af5a890bde7c65cb466040c5f0c8b732812d7f0e5e", + "sha256:505289f17ceda596658ae81b61ebbe2d9b25aa78067035184ed0a9d855d18afd", + "sha256:62e8730977f0b77998029da7971fa896ceefa2c4c4933fcd593fa599ecbf97a4", + "sha256:649f6d84ccbae73ab767e206772cc2d7a393a001070a4c814a546afd0d423aed", + "sha256:6e55d30d44bed36593c3163b9bc63bf58b3b30e4611e4d88a0c3c239930ed5b2", + "sha256:707a1ca89221bc8a1a64fb5e15ef39cd755633daa672a9db7498d1c19de66a42", + "sha256:72901b4913cbac8972ad911dc4098d5753704d1f3c56e44ae8dce99eecb0e3af", + "sha256:73bbf84ed136e45d451a260c6b73ed674652f90a2b3211d6a35e78054563a9bb", + "sha256:7c046c1d1eeb7aea9335da62472481d3bbf3fd986e093cffd35f4385c94ae368", + "sha256:81c6742da39f33b08e791da38410f32e27d632260e599df7245cccee2064afeb", + "sha256:837fd281f1908d0076844bc2b801ad2d369c78c45cf800cad7b61686051041af", + "sha256:972085c618ee94f402da1af548a4f218c754ea7e5dc70acb168bfaca4c2542ed", + "sha256:9e84e33b37be070ba135176c123ae52a51f82306def9f7d063ee302ecab2cf47", + "sha256:b19c9ad992c7883ad84c9b22aaa73562a16b819c1d8db7a1a1a49fb7ec13c7d2", + "sha256:d6417535d99c37cee4091a2f24eb2b6d5ec42b144d50f1f2e436d9fe1916fe1a", + "sha256:eab4dd44ce80dea27dc69db40dab62d4ca96112f87996bca68cd75639aeb2e4c", + "sha256:f490dbd59680d809ca31efdae20e634f3fae27fba3ce0ba3208333b713bc3920", + "sha256:fb6e2c0b86bbd43dee042e48059c9ad7830abd5c94b0bc518c0eeec57c3eddc1" ], "index": "pypi", - "version": "==22.10.0" - }, - "bleach": { - "hashes": [ - "sha256:085f7f33c15bd408dd9b17a4ad77c577db66d76203e5984b1bd59baeee948b2a", - "sha256:0d03255c47eb9bd2f26aa9bb7f2107732e7e8fe195ca2f64709fcf3b0a4a085c" - ], - "markers": "python_version >= '3.7'", - "version": "==5.0.1" - }, - "cached-property": { - "hashes": [ - "sha256:9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130", - "sha256:df4f613cf7ad9a588cc381aaf4a512d26265ecebd5eb9e1ba12f1319eb85a6a0" - ], - "version": "==1.5.2" - }, - "cerberus": { - "hashes": [ - "sha256:d1b21b3954b2498d9a79edf16b3170a3ac1021df88d197dc2ce5928ba519237c" - ], - "version": "==1.3.4" + "markers": "python_version >= '3.8'", + "version": "==24.8.0" }, "certifi": { "hashes": [ - "sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14", - "sha256:90c1a32f1d68f940488354e36370f6cca89f0f106db09518524c88d6ed83f382" + "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b", + "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90" ], "markers": "python_version >= '3.6'", - "version": "==2022.9.24" + "version": "==2024.7.4" }, "cffi": { "hashes": [ - "sha256:00a9ed42e88df81ffae7a8ab6d9356b371399b91dbdf0c3cb1e84c03a13aceb5", - "sha256:03425bdae262c76aad70202debd780501fabeaca237cdfddc008987c0e0f59ef", - "sha256:04ed324bda3cda42b9b695d51bb7d54b680b9719cfab04227cdd1e04e5de3104", - "sha256:0e2642fe3142e4cc4af0799748233ad6da94c62a8bec3a6648bf8ee68b1c7426", - "sha256:173379135477dc8cac4bc58f45db08ab45d228b3363adb7af79436135d028405", - "sha256:198caafb44239b60e252492445da556afafc7d1e3ab7a1fb3f0584ef6d742375", - "sha256:1e74c6b51a9ed6589199c787bf5f9875612ca4a8a0785fb2d4a84429badaf22a", - "sha256:2012c72d854c2d03e45d06ae57f40d78e5770d252f195b93f581acf3ba44496e", - "sha256:21157295583fe8943475029ed5abdcf71eb3911894724e360acff1d61c1d54bc", - "sha256:2470043b93ff09bf8fb1d46d1cb756ce6132c54826661a32d4e4d132e1977adf", - "sha256:285d29981935eb726a4399badae8f0ffdff4f5050eaa6d0cfc3f64b857b77185", - "sha256:30d78fbc8ebf9c92c9b7823ee18eb92f2e6ef79b45ac84db507f52fbe3ec4497", - "sha256:320dab6e7cb2eacdf0e658569d2575c4dad258c0fcc794f46215e1e39f90f2c3", - "sha256:33ab79603146aace82c2427da5ca6e58f2b3f2fb5da893ceac0c42218a40be35", - "sha256:3548db281cd7d2561c9ad9984681c95f7b0e38881201e157833a2342c30d5e8c", - "sha256:3799aecf2e17cf585d977b780ce79ff0dc9b78d799fc694221ce814c2c19db83", - "sha256:39d39875251ca8f612b6f33e6b1195af86d1b3e60086068be9cc053aa4376e21", - "sha256:3b926aa83d1edb5aa5b427b4053dc420ec295a08e40911296b9eb1b6170f6cca", - "sha256:3bcde07039e586f91b45c88f8583ea7cf7a0770df3a1649627bf598332cb6984", - "sha256:3d08afd128ddaa624a48cf2b859afef385b720bb4b43df214f85616922e6a5ac", - "sha256:3eb6971dcff08619f8d91607cfc726518b6fa2a9eba42856be181c6d0d9515fd", - "sha256:40f4774f5a9d4f5e344f31a32b5096977b5d48560c5592e2f3d2c4374bd543ee", - "sha256:4289fc34b2f5316fbb762d75362931e351941fa95fa18789191b33fc4cf9504a", - "sha256:470c103ae716238bbe698d67ad020e1db9d9dba34fa5a899b5e21577e6d52ed2", - "sha256:4f2c9f67e9821cad2e5f480bc8d83b8742896f1242dba247911072d4fa94c192", - "sha256:50a74364d85fd319352182ef59c5c790484a336f6db772c1a9231f1c3ed0cbd7", - "sha256:54a2db7b78338edd780e7ef7f9f6c442500fb0d41a5a4ea24fff1c929d5af585", - "sha256:5635bd9cb9731e6d4a1132a498dd34f764034a8ce60cef4f5319c0541159392f", - "sha256:59c0b02d0a6c384d453fece7566d1c7e6b7bae4fc5874ef2ef46d56776d61c9e", - "sha256:5d598b938678ebf3c67377cdd45e09d431369c3b1a5b331058c338e201f12b27", - "sha256:5df2768244d19ab7f60546d0c7c63ce1581f7af8b5de3eb3004b9b6fc8a9f84b", - "sha256:5ef34d190326c3b1f822a5b7a45f6c4535e2f47ed06fec77d3d799c450b2651e", - "sha256:6975a3fac6bc83c4a65c9f9fcab9e47019a11d3d2cf7f3c0d03431bf145a941e", - "sha256:6c9a799e985904922a4d207a94eae35c78ebae90e128f0c4e521ce339396be9d", - "sha256:70df4e3b545a17496c9b3f41f5115e69a4f2e77e94e1d2a8e1070bc0c38c8a3c", - "sha256:7473e861101c9e72452f9bf8acb984947aa1661a7704553a9f6e4baa5ba64415", - "sha256:8102eaf27e1e448db915d08afa8b41d6c7ca7a04b7d73af6514df10a3e74bd82", - "sha256:87c450779d0914f2861b8526e035c5e6da0a3199d8f1add1a665e1cbc6fc6d02", - "sha256:8b7ee99e510d7b66cdb6c593f21c043c248537a32e0bedf02e01e9553a172314", - "sha256:91fc98adde3d7881af9b59ed0294046f3806221863722ba7d8d120c575314325", - "sha256:94411f22c3985acaec6f83c6df553f2dbe17b698cc7f8ae751ff2237d96b9e3c", - "sha256:98d85c6a2bef81588d9227dde12db8a7f47f639f4a17c9ae08e773aa9c697bf3", - "sha256:9ad5db27f9cabae298d151c85cf2bad1d359a1b9c686a275df03385758e2f914", - "sha256:a0b71b1b8fbf2b96e41c4d990244165e2c9be83d54962a9a1d118fd8657d2045", - "sha256:a0f100c8912c114ff53e1202d0078b425bee3649ae34d7b070e9697f93c5d52d", - "sha256:a591fe9e525846e4d154205572a029f653ada1a78b93697f3b5a8f1f2bc055b9", - "sha256:a5c84c68147988265e60416b57fc83425a78058853509c1b0629c180094904a5", - "sha256:a66d3508133af6e8548451b25058d5812812ec3798c886bf38ed24a98216fab2", - "sha256:a8c4917bd7ad33e8eb21e9a5bbba979b49d9a97acb3a803092cbc1133e20343c", - "sha256:b3bbeb01c2b273cca1e1e0c5df57f12dce9a4dd331b4fa1635b8bec26350bde3", - "sha256:cba9d6b9a7d64d4bd46167096fc9d2f835e25d7e4c121fb2ddfc6528fb0413b2", - "sha256:cc4d65aeeaa04136a12677d3dd0b1c0c94dc43abac5860ab33cceb42b801c1e8", - "sha256:ce4bcc037df4fc5e3d184794f27bdaab018943698f4ca31630bc7f84a7b69c6d", - "sha256:cec7d9412a9102bdc577382c3929b337320c4c4c4849f2c5cdd14d7368c5562d", - "sha256:d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9", - "sha256:d61f4695e6c866a23a21acab0509af1cdfd2c013cf256bbf5b6b5e2695827162", - "sha256:db0fbb9c62743ce59a9ff687eb5f4afbe77e5e8403d6697f7446e5f609976f76", - "sha256:dd86c085fae2efd48ac91dd7ccffcfc0571387fe1193d33b6394db7ef31fe2a4", - "sha256:e00b098126fd45523dd056d2efba6c5a63b71ffe9f2bbe1a4fe1716e1d0c331e", - "sha256:e229a521186c75c8ad9490854fd8bbdd9a0c9aa3a524326b55be83b54d4e0ad9", - "sha256:e263d77ee3dd201c3a142934a086a4450861778baaeeb45db4591ef65550b0a6", - "sha256:ed9cb427ba5504c1dc15ede7d516b84757c3e3d7868ccc85121d9310d27eed0b", - "sha256:fa6693661a4c91757f4412306191b6dc88c1703f780c8234035eac011922bc01", - "sha256:fcd131dd944808b5bdb38e6f5b53013c5aa4f334c5cad0c72742f6eba4b73db0" - ], - "version": "==1.15.1" + "sha256:011aff3524d578a9412c8b3cfaa50f2c0bd78e03eb7af7aa5e0df59b158efb2f", + "sha256:0a048d4f6630113e54bb4b77e315e1ba32a5a31512c31a273807d0027a7e69ab", + "sha256:0bb15e7acf8ab35ca8b24b90af52c8b391690ef5c4aec3d31f38f0d37d2cc499", + "sha256:0d46ee4764b88b91f16661a8befc6bfb24806d885e27436fdc292ed7e6f6d058", + "sha256:0e60821d312f99d3e1569202518dddf10ae547e799d75aef3bca3a2d9e8ee693", + "sha256:0fdacad9e0d9fc23e519efd5ea24a70348305e8d7d85ecbb1a5fa66dc834e7fb", + "sha256:14b9cbc8f7ac98a739558eb86fabc283d4d564dafed50216e7f7ee62d0d25377", + "sha256:17c6d6d3260c7f2d94f657e6872591fe8733872a86ed1345bda872cfc8c74885", + "sha256:1a2ddbac59dc3716bc79f27906c010406155031a1c801410f1bafff17ea304d2", + "sha256:2404f3de742f47cb62d023f0ba7c5a916c9c653d5b368cc966382ae4e57da401", + "sha256:24658baf6224d8f280e827f0a50c46ad819ec8ba380a42448e24459daf809cf4", + "sha256:24aa705a5f5bd3a8bcfa4d123f03413de5d86e497435693b638cbffb7d5d8a1b", + "sha256:2770bb0d5e3cc0e31e7318db06efcbcdb7b31bcb1a70086d3177692a02256f59", + "sha256:331ad15c39c9fe9186ceaf87203a9ecf5ae0ba2538c9e898e3a6967e8ad3db6f", + "sha256:3aa9d43b02a0c681f0bfbc12d476d47b2b2b6a3f9287f11ee42989a268a1833c", + "sha256:41f4915e09218744d8bae14759f983e466ab69b178de38066f7579892ff2a555", + "sha256:4304d4416ff032ed50ad6bb87416d802e67139e31c0bde4628f36a47a3164bfa", + "sha256:435a22d00ec7d7ea533db494da8581b05977f9c37338c80bc86314bec2619424", + "sha256:45f7cd36186db767d803b1473b3c659d57a23b5fa491ad83c6d40f2af58e4dbb", + "sha256:48b389b1fd5144603d61d752afd7167dfd205973a43151ae5045b35793232aa2", + "sha256:4e67d26532bfd8b7f7c05d5a766d6f437b362c1bf203a3a5ce3593a645e870b8", + "sha256:516a405f174fd3b88829eabfe4bb296ac602d6a0f68e0d64d5ac9456194a5b7e", + "sha256:5ba5c243f4004c750836f81606a9fcb7841f8874ad8f3bf204ff5e56332b72b9", + "sha256:5bdc0f1f610d067c70aa3737ed06e2726fd9d6f7bfee4a351f4c40b6831f4e82", + "sha256:6107e445faf057c118d5050560695e46d272e5301feffda3c41849641222a828", + "sha256:6327b572f5770293fc062a7ec04160e89741e8552bf1c358d1a23eba68166759", + "sha256:669b29a9eca6146465cc574659058ed949748f0809a2582d1f1a324eb91054dc", + "sha256:6ce01337d23884b21c03869d2f68c5523d43174d4fc405490eb0091057943118", + "sha256:6d872186c1617d143969defeadac5a904e6e374183e07977eedef9c07c8953bf", + "sha256:6f76a90c345796c01d85e6332e81cab6d70de83b829cf1d9762d0a3da59c7932", + "sha256:70d2aa9fb00cf52034feac4b913181a6e10356019b18ef89bc7c12a283bf5f5a", + "sha256:7cbc78dc018596315d4e7841c8c3a7ae31cc4d638c9b627f87d52e8abaaf2d29", + "sha256:856bf0924d24e7f93b8aee12a3a1095c34085600aa805693fb7f5d1962393206", + "sha256:8a98748ed1a1df4ee1d6f927e151ed6c1a09d5ec21684de879c7ea6aa96f58f2", + "sha256:93a7350f6706b31f457c1457d3a3259ff9071a66f312ae64dc024f049055f72c", + "sha256:964823b2fc77b55355999ade496c54dde161c621cb1f6eac61dc30ed1b63cd4c", + "sha256:a003ac9edc22d99ae1286b0875c460351f4e101f8c9d9d2576e78d7e048f64e0", + "sha256:a0ce71725cacc9ebf839630772b07eeec220cbb5f03be1399e0457a1464f8e1a", + "sha256:a47eef975d2b8b721775a0fa286f50eab535b9d56c70a6e62842134cf7841195", + "sha256:a8b5b9712783415695663bd463990e2f00c6750562e6ad1d28e072a611c5f2a6", + "sha256:a9015f5b8af1bb6837a3fcb0cdf3b874fe3385ff6274e8b7925d81ccaec3c5c9", + "sha256:aec510255ce690d240f7cb23d7114f6b351c733a74c279a84def763660a2c3bc", + "sha256:b00e7bcd71caa0282cbe3c90966f738e2db91e64092a877c3ff7f19a1628fdcb", + "sha256:b50aaac7d05c2c26dfd50c3321199f019ba76bb650e346a6ef3616306eed67b0", + "sha256:b7b6ea9e36d32582cda3465f54c4b454f62f23cb083ebc7a94e2ca6ef011c3a7", + "sha256:bb9333f58fc3a2296fb1d54576138d4cf5d496a2cc118422bd77835e6ae0b9cb", + "sha256:c1c13185b90bbd3f8b5963cd8ce7ad4ff441924c31e23c975cb150e27c2bf67a", + "sha256:c3b8bd3133cd50f6b637bb4322822c94c5ce4bf0d724ed5ae70afce62187c492", + "sha256:c5d97162c196ce54af6700949ddf9409e9833ef1003b4741c2b39ef46f1d9720", + "sha256:c815270206f983309915a6844fe994b2fa47e5d05c4c4cef267c3b30e34dbe42", + "sha256:cab2eba3830bf4f6d91e2d6718e0e1c14a2f5ad1af68a89d24ace0c6b17cced7", + "sha256:d1df34588123fcc88c872f5acb6f74ae59e9d182a2707097f9e28275ec26a12d", + "sha256:d6bdcd415ba87846fd317bee0774e412e8792832e7805938987e4ede1d13046d", + "sha256:db9a30ec064129d605d0f1aedc93e00894b9334ec74ba9c6bdd08147434b33eb", + "sha256:dbc183e7bef690c9abe5ea67b7b60fdbca81aa8da43468287dae7b5c046107d4", + "sha256:dca802c8db0720ce1c49cce1149ff7b06e91ba15fa84b1d59144fef1a1bc7ac2", + "sha256:dec6b307ce928e8e112a6bb9921a1cb00a0e14979bf28b98e084a4b8a742bd9b", + "sha256:df8bb0010fdd0a743b7542589223a2816bdde4d94bb5ad67884348fa2c1c67e8", + "sha256:e4094c7b464cf0a858e75cd14b03509e84789abf7b79f8537e6a72152109c76e", + "sha256:e4760a68cab57bfaa628938e9c2971137e05ce48e762a9cb53b76c9b569f1204", + "sha256:eb09b82377233b902d4c3fbeeb7ad731cdab579c6c6fda1f763cd779139e47c3", + "sha256:eb862356ee9391dc5a0b3cbc00f416b48c1b9a52d252d898e5b7696a5f9fe150", + "sha256:ef9528915df81b8f4c7612b19b8628214c65c9b7f74db2e34a646a0a2a0da2d4", + "sha256:f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76", + "sha256:f3e0992f23bbb0be00a921eae5363329253c3b86287db27092461c887b791e5e", + "sha256:f9338cc05451f1942d0d8203ec2c346c830f8e86469903d5126c1f0a13a2bcbb", + "sha256:ffef8fd58a36fb5f1196919638f73dd3ae0db1a878982b27a9a5a176ede4ba91" + ], + "markers": "platform_python_implementation != 'PyPy'", + "version": "==1.17.0" }, "cfgv": { "hashes": [ - "sha256:c6a0883f3917a037485059700b9e75da2464e6c27051014ad85ba6aaa5884426", - "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736" + "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9", + "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560" ], - "markers": "python_full_version >= '3.6.1'", - "version": "==3.3.1" - }, - "chardet": { - "hashes": [ - "sha256:0368df2bfd78b5fc20572bb4e9bb7fb53e2c094f60ae9993339e8671d0afb8aa", - "sha256:d3e64f022d254183001eccc5db4040520c0f23b1a3f33d6413e099eb7f126557" - ], - "markers": "python_version >= '3.6'", - "version": "==5.0.0" + "markers": "python_version >= '3.8'", + "version": "==3.4.0" }, "charset-normalizer": { "hashes": [ - "sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845", - "sha256:83e9a75d1911279afd89352c68b45348559d1fc0506b054b346651b5e7fee29f" - ], - "markers": "python_version >= '3.6'", - "version": "==2.1.1" + "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027", + "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087", + "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786", + "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", + "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09", + "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185", + "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574", + "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e", + "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519", + "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898", + "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269", + "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3", + "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f", + "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6", + "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8", + "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a", + "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73", + "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", + "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714", + "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2", + "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc", + "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce", + "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d", + "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e", + "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", + "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269", + "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96", + "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d", + "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a", + "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4", + "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77", + "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d", + "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0", + "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", + "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", + "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac", + "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25", + "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8", + "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab", + "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", + "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2", + "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db", + "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f", + "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5", + "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99", + "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c", + "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", + "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811", + "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", + "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", + "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03", + "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", + "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04", + "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c", + "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", + "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458", + "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", + "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99", + "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985", + "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537", + "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238", + "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f", + "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d", + "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796", + "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a", + "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", + "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8", + "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c", + "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5", + "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5", + "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711", + "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4", + "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6", + "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c", + "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", + "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4", + "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", + "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae", + "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12", + "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c", + "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae", + "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8", + "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887", + "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b", + "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", + "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f", + "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", + "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33", + "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519", + "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561" + ], + "markers": "python_full_version >= '3.7.0'", + "version": "==3.3.2" }, "click": { "hashes": [ - "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e", - "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48" + "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28", + "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de" ], "markers": "python_version >= '3.7'", - "version": "==8.1.3" + "version": "==8.1.7" }, "colorama": { "hashes": [ - "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da", - "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4" + "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", + "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==0.4.5" - }, - "commonmark": { - "hashes": [ - "sha256:452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60", - "sha256:da2f38c92590f83de410ba1a3cbceafbc74fee9def35f9251ba9a971d6d66fd9" - ], - "version": "==0.9.1" + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'", + "version": "==0.4.6" }, "cryptography": { "hashes": [ - "sha256:0297ffc478bdd237f5ca3a7dc96fc0d315670bfa099c04dc3a4a2172008a405a", - "sha256:10d1f29d6292fc95acb597bacefd5b9e812099d75a6469004fd38ba5471a977f", - "sha256:16fa61e7481f4b77ef53991075de29fc5bacb582a1244046d2e8b4bb72ef66d0", - "sha256:194044c6b89a2f9f169df475cc167f6157eb9151cc69af8a2a163481d45cc407", - "sha256:1db3d807a14931fa317f96435695d9ec386be7b84b618cc61cfa5d08b0ae33d7", - "sha256:3261725c0ef84e7592597606f6583385fed2a5ec3909f43bc475ade9729a41d6", - "sha256:3b72c360427889b40f36dc214630e688c2fe03e16c162ef0aa41da7ab1455153", - "sha256:3e3a2599e640927089f932295a9a247fc40a5bdf69b0484532f530471a382750", - "sha256:3fc26e22840b77326a764ceb5f02ca2d342305fba08f002a8c1f139540cdfaad", - "sha256:5067ee7f2bce36b11d0e334abcd1ccf8c541fc0bbdaf57cdd511fdee53e879b6", - "sha256:52e7bee800ec869b4031093875279f1ff2ed12c1e2f74923e8f49c916afd1d3b", - "sha256:64760ba5331e3f1794d0bcaabc0d0c39e8c60bf67d09c93dc0e54189dfd7cfe5", - "sha256:765fa194a0f3372d83005ab83ab35d7c5526c4e22951e46059b8ac678b44fa5a", - "sha256:79473cf8a5cbc471979bd9378c9f425384980fcf2ab6534b18ed7d0d9843987d", - "sha256:896dd3a66959d3a5ddcfc140a53391f69ff1e8f25d93f0e2e7830c6de90ceb9d", - "sha256:89ed49784ba88c221756ff4d4755dbc03b3c8d2c5103f6d6b4f83a0fb1e85294", - "sha256:ac7e48f7e7261207d750fa7e55eac2d45f720027d5703cd9007e9b37bbb59ac0", - "sha256:ad7353f6ddf285aeadfaf79e5a6829110106ff8189391704c1d8801aa0bae45a", - "sha256:b0163a849b6f315bf52815e238bc2b2346604413fa7c1601eea84bcddb5fb9ac", - "sha256:b6c9b706316d7b5a137c35e14f4103e2115b088c412140fdbd5f87c73284df61", - "sha256:c2e5856248a416767322c8668ef1845ad46ee62629266f84a8f007a317141013", - "sha256:ca9f6784ea96b55ff41708b92c3f6aeaebde4c560308e5fbbd3173fbc466e94e", - "sha256:d1a5bd52d684e49a36582193e0b89ff267704cd4025abefb9e26803adeb3e5fb", - "sha256:d3971e2749a723e9084dd507584e2a2761f78ad2c638aa31e80bc7a15c9db4f9", - "sha256:d4ef6cc305394ed669d4d9eebf10d3a101059bdcf2669c366ec1d14e4fb227bd", - "sha256:d9e69ae01f99abe6ad646947bba8941e896cb3aa805be2597a0400e0764b5818" + "sha256:0663585d02f76929792470451a5ba64424acc3cd5227b03921dab0e2f27b1709", + "sha256:08a24a7070b2b6804c1940ff0f910ff728932a9d0e80e7814234269f9d46d069", + "sha256:232ce02943a579095a339ac4b390fbbe97f5b5d5d107f8a08260ea2768be8cc2", + "sha256:2905ccf93a8a2a416f3ec01b1a7911c3fe4073ef35640e7ee5296754e30b762b", + "sha256:299d3da8e00b7e2b54bb02ef58d73cd5f55fb31f33ebbf33bd00d9aa6807df7e", + "sha256:2c6d112bf61c5ef44042c253e4859b3cbbb50df2f78fa8fae6747a7814484a70", + "sha256:31e44a986ceccec3d0498e16f3d27b2ee5fdf69ce2ab89b52eaad1d2f33d8778", + "sha256:3d9a1eca329405219b605fac09ecfc09ac09e595d6def650a437523fcd08dd22", + "sha256:3dcdedae5c7710b9f97ac6bba7e1052b95c7083c9d0e9df96e02a1932e777895", + "sha256:47ca71115e545954e6c1d207dd13461ab81f4eccfcb1345eac874828b5e3eaaf", + "sha256:4a997df8c1c2aae1e1e5ac49c2e4f610ad037fc5a3aadc7b64e39dea42249431", + "sha256:51956cf8730665e2bdf8ddb8da0056f699c1a5715648c1b0144670c1ba00b48f", + "sha256:5bcb8a5620008a8034d39bce21dc3e23735dfdb6a33a06974739bfa04f853947", + "sha256:64c3f16e2a4fc51c0d06af28441881f98c5d91009b8caaff40cf3548089e9c74", + "sha256:6e2b11c55d260d03a8cf29ac9b5e0608d35f08077d8c087be96287f43af3ccdc", + "sha256:7b3f5fe74a5ca32d4d0f302ffe6680fcc5c28f8ef0dc0ae8f40c0f3a1b4fca66", + "sha256:844b6d608374e7d08f4f6e6f9f7b951f9256db41421917dfb2d003dde4cd6b66", + "sha256:9a8d6802e0825767476f62aafed40532bd435e8a5f7d23bd8b4f5fd04cc80ecf", + "sha256:aae4d918f6b180a8ab8bf6511a419473d107df4dbb4225c7b48c5c9602c38c7f", + "sha256:ac1955ce000cb29ab40def14fd1bbfa7af2017cca696ee696925615cafd0dce5", + "sha256:b88075ada2d51aa9f18283532c9f60e72170041bba88d7f37e49cbb10275299e", + "sha256:cb013933d4c127349b3948aa8aaf2f12c0353ad0eccd715ca789c8a0f671646f", + "sha256:cc70b4b581f28d0a254d006f26949245e3657d40d8857066c2ae22a61222ef55", + "sha256:e9c5266c432a1e23738d178e51c2c7a5e2ddf790f248be939448c0ba2021f9d1", + "sha256:ea9e57f8ea880eeea38ab5abf9fbe39f923544d7884228ec67d666abd60f5a47", + "sha256:ee0c405832ade84d4de74b9029bedb7b31200600fa524d218fc29bfa371e97f5", + "sha256:fdcb265de28585de5b859ae13e3846a8e805268a823a12a4da2597f1f5afc9f0" ], - "markers": "python_version >= '3.6'", - "version": "==38.0.1" + "markers": "python_version >= '3.7'", + "version": "==43.0.0" }, "distlib": { "hashes": [ - "sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46", - "sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e" + "sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784", + "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64" ], - "version": "==0.3.6" + "version": "==0.3.8" }, "docutils": { "hashes": [ - "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af", - "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc" + "sha256:686577d2e4c32380bb50cbb22f575ed742d58168cee37e99117a854bcd88f125", + "sha256:cf316c8370a737a022b72b56874f6602acf974a37a9fba42ec2876387549fc61" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==0.16" + "version": "==0.17.1" }, "filelock": { "hashes": [ - "sha256:55447caa666f2198c5b6b13a26d2084d26fa5b115c00d065664b2124680c4edc", - "sha256:617eb4e5eedc82fc5f47b6d61e4d11cb837c56cb4544e39081099fa17ad109d4" + "sha256:2207938cbc1844345cb01a5a95524dae30f0ce089eba5b00378295a17e3e90cb", + "sha256:6ca1fffae96225dab4c6eaf1c4f4f28cd2568d3ec2a44e15a08520504de468e7" ], - "markers": "python_version >= '3.7'", - "version": "==3.8.0" + "markers": "python_version >= '3.8'", + "version": "==3.15.4" }, "identify": { "hashes": [ - "sha256:6c32dbd747aa4ceee1df33f25fed0b0f6e0d65721b15bd151307ff7056d50245", - "sha256:b276db7ec52d7e89f5bc4653380e33054ddc803d25875952ad90b0f012cbcdaa" + "sha256:cb171c685bdc31bcc4c1734698736a7d5b6c8bf2e0c15117f4d469c8640ae5cf", + "sha256:e79ae4406387a9d300332b5fd366d8994f1525e8414984e1a59e058b2eda2dd0" ], - "markers": "python_version >= '3.7'", - "version": "==2.5.6" + "markers": "python_version >= '3.8'", + "version": "==2.6.0" }, "idna": { "hashes": [ - "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4", - "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2" + "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc", + "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0" ], "markers": "python_version >= '3.5'", - "version": "==3.4" + "version": "==3.7" }, "imagesize": { "hashes": [ @@ -324,26 +379,44 @@ }, "importlib-metadata": { "hashes": [ - "sha256:da31db32b304314d044d3c12c79bd59e307889b287ad12ff387b3500835fc2ab", - "sha256:ddb0e35065e8938f867ed4928d0ae5bf2a53b7773871bfe6bcc7e4fcdc7dea43" + "sha256:11901fa0c2f97919b288679932bb64febaeacf289d18ac84dd68cb2e74213369", + "sha256:72e8d4399996132204f9a16dcc751af254a48f8d1b20b9ff0f98d4a8f901e73d" ], "index": "pypi", - "version": "==5.0.0" + "markers": "python_version >= '3.8'", + "version": "==8.2.0" }, "iniconfig": { "hashes": [ - "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", - "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32" + "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", + "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374" ], - "version": "==1.1.1" + "markers": "python_version >= '3.7'", + "version": "==2.0.0" }, "jaraco.classes": { "hashes": [ - "sha256:2353de3288bc6b82120752201c6b1c1a14b058267fa424ed5ce5984e3b922158", - "sha256:89559fa5c1d3c34eff6f631ad80bb21f378dbcbb35dd161fd2c6b93f5be2f98a" + "sha256:47a024b51d0239c0dd8c8540c6c7f484be3b8fcf0b2d85c13825780d3b3f3acd", + "sha256:f662826b6bed8cace05e7ff873ce0f9283b5c924470fe664fff1c2f00f581790" ], - "markers": "python_version >= '3.7'", - "version": "==3.2.3" + "markers": "python_version >= '3.8'", + "version": "==3.4.0" + }, + "jaraco.context": { + "hashes": [ + "sha256:3e16388f7da43d384a1a7cd3452e72e14732ac9fe459678773a3608a812bf266", + "sha256:c2f67165ce1f9be20f32f650f25d8edfc1646a8aeee48ae06fb35f90763576d2" + ], + "markers": "python_version >= '3.8'", + "version": "==5.3.0" + }, + "jaraco.functools": { + "hashes": [ + "sha256:3460c74cd0d32bf82b9576bbb3527c4364d5b27a21f5158a62aed6c4b42e23f5", + "sha256:c9d16a3ed4ccb5a889ad8e0b7a343401ee5b2a71cee6ed192d3f68bc351e94e3" + ], + "markers": "python_version >= '3.8'", + "version": "==4.0.2" }, "jeepney": { "hashes": [ @@ -355,527 +428,510 @@ }, "jinja2": { "hashes": [ - "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852", - "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61" + "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369", + "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d" ], "index": "pypi", - "version": "==3.1.2" - }, - "jsonpickle": { - "hashes": [ - "sha256:7b272918b0554182e53dc340ddd62d9b7f902fec7e7b05620c04f3ccef479a0e", - "sha256:de7f2613818aa4f234138ca11243d6359ff83ae528b2185efdd474f62bcf9ae1" - ], - "index": "pypi", - "version": "==2.2.0" + "markers": "python_version >= '3.7'", + "version": "==3.1.4" }, "keyring": { "hashes": [ - "sha256:69732a15cb1433bdfbc3b980a8a36a04878a6cfd7cb99f497b573f31618001c0", - "sha256:69b01dd83c42f590250fe7a1f503fc229b14de83857314b1933a3ddbf595c4a5" - ], - "markers": "python_version >= '3.7'", - "version": "==23.9.3" - }, - "lazy-object-proxy": { - "hashes": [ - "sha256:043651b6cb706eee4f91854da4a089816a6606c1428fd391573ef8cb642ae4f7", - "sha256:07fa44286cda977bd4803b656ffc1c9b7e3bc7dff7d34263446aec8f8c96f88a", - "sha256:12f3bb77efe1367b2515f8cb4790a11cffae889148ad33adad07b9b55e0ab22c", - "sha256:2052837718516a94940867e16b1bb10edb069ab475c3ad84fd1e1a6dd2c0fcfc", - "sha256:2130db8ed69a48a3440103d4a520b89d8a9405f1b06e2cc81640509e8bf6548f", - "sha256:39b0e26725c5023757fc1ab2a89ef9d7ab23b84f9251e28f9cc114d5b59c1b09", - "sha256:46ff647e76f106bb444b4533bb4153c7370cdf52efc62ccfc1a28bdb3cc95442", - "sha256:4dca6244e4121c74cc20542c2ca39e5c4a5027c81d112bfb893cf0790f96f57e", - "sha256:553b0f0d8dbf21890dd66edd771f9b1b5f51bd912fa5f26de4449bfc5af5e029", - "sha256:677ea950bef409b47e51e733283544ac3d660b709cfce7b187f5ace137960d61", - "sha256:6a24357267aa976abab660b1d47a34aaf07259a0c3859a34e536f1ee6e76b5bb", - "sha256:6a6e94c7b02641d1311228a102607ecd576f70734dc3d5e22610111aeacba8a0", - "sha256:6aff3fe5de0831867092e017cf67e2750c6a1c7d88d84d2481bd84a2e019ec35", - "sha256:6ecbb350991d6434e1388bee761ece3260e5228952b1f0c46ffc800eb313ff42", - "sha256:7096a5e0c1115ec82641afbdd70451a144558ea5cf564a896294e346eb611be1", - "sha256:70ed0c2b380eb6248abdef3cd425fc52f0abd92d2b07ce26359fcbc399f636ad", - "sha256:8561da8b3dd22d696244d6d0d5330618c993a215070f473b699e00cf1f3f6443", - "sha256:85b232e791f2229a4f55840ed54706110c80c0a210d076eee093f2b2e33e1bfd", - "sha256:898322f8d078f2654d275124a8dd19b079080ae977033b713f677afcfc88e2b9", - "sha256:8f3953eb575b45480db6568306893f0bd9d8dfeeebd46812aa09ca9579595148", - "sha256:91ba172fc5b03978764d1df5144b4ba4ab13290d7bab7a50f12d8117f8630c38", - "sha256:9d166602b525bf54ac994cf833c385bfcc341b364e3ee71e3bf5a1336e677b55", - "sha256:a57d51ed2997e97f3b8e3500c984db50a554bb5db56c50b5dab1b41339b37e36", - "sha256:b9e89b87c707dd769c4ea91f7a31538888aad05c116a59820f28d59b3ebfe25a", - "sha256:bb8c5fd1684d60a9902c60ebe276da1f2281a318ca16c1d0a96db28f62e9166b", - "sha256:c19814163728941bb871240d45c4c30d33b8a2e85972c44d4e63dd7107faba44", - "sha256:c4ce15276a1a14549d7e81c243b887293904ad2d94ad767f42df91e75fd7b5b6", - "sha256:c7a683c37a8a24f6428c28c561c80d5f4fd316ddcf0c7cab999b15ab3f5c5c69", - "sha256:d609c75b986def706743cdebe5e47553f4a5a1da9c5ff66d76013ef396b5a8a4", - "sha256:d66906d5785da8e0be7360912e99c9188b70f52c422f9fc18223347235691a84", - "sha256:dd7ed7429dbb6c494aa9bc4e09d94b778a3579be699f9d67da7e6804c422d3de", - "sha256:df2631f9d67259dc9620d831384ed7732a198eb434eadf69aea95ad18c587a28", - "sha256:e368b7f7eac182a59ff1f81d5f3802161932a41dc1b1cc45c1f757dc876b5d2c", - "sha256:e40f2013d96d30217a51eeb1db28c9ac41e9d0ee915ef9d00da639c5b63f01a1", - "sha256:f769457a639403073968d118bc70110e7dce294688009f5c24ab78800ae56dc8", - "sha256:fccdf7c2c5821a8cbd0a9440a456f5050492f2270bd54e94360cac663398739b", - "sha256:fd45683c3caddf83abbb1249b653a266e7069a09f486daa8863fb0e7496a9fdb" + "sha256:8d85a1ea5d6db8515b59e1c5d1d1678b03cf7fc8b8dcfb1651e8c4a524eb42ef", + "sha256:8d963da00ccdf06e356acd9bf3b743208878751032d8599c6cc89eb51310ffae" ], - "markers": "python_version >= '3.6'", - "version": "==1.7.1" + "markers": "python_version >= '3.8'", + "version": "==25.3.0" }, "lxml": { "hashes": [ - "sha256:04da965dfebb5dac2619cb90fcf93efdb35b3c6994fea58a157a834f2f94b318", - "sha256:0538747a9d7827ce3e16a8fdd201a99e661c7dee3c96c885d8ecba3c35d1032c", - "sha256:0645e934e940107e2fdbe7c5b6fb8ec6232444260752598bc4d09511bd056c0b", - "sha256:079b68f197c796e42aa80b1f739f058dcee796dc725cc9a1be0cdb08fc45b000", - "sha256:0f3f0059891d3254c7b5fb935330d6db38d6519ecd238ca4fce93c234b4a0f73", - "sha256:10d2017f9150248563bb579cd0d07c61c58da85c922b780060dcc9a3aa9f432d", - "sha256:1355755b62c28950f9ce123c7a41460ed9743c699905cbe664a5bcc5c9c7c7fb", - "sha256:13c90064b224e10c14dcdf8086688d3f0e612db53766e7478d7754703295c7c8", - "sha256:1423631e3d51008871299525b541413c9b6c6423593e89f9c4cfbe8460afc0a2", - "sha256:1436cf0063bba7888e43f1ba8d58824f085410ea2025befe81150aceb123e345", - "sha256:1a7c59c6ffd6ef5db362b798f350e24ab2cfa5700d53ac6681918f314a4d3b94", - "sha256:1e1cf47774373777936c5aabad489fef7b1c087dcd1f426b621fda9dcc12994e", - "sha256:206a51077773c6c5d2ce1991327cda719063a47adc02bd703c56a662cdb6c58b", - "sha256:21fb3d24ab430fc538a96e9fbb9b150029914805d551deeac7d7822f64631dfc", - "sha256:27e590352c76156f50f538dbcebd1925317a0f70540f7dc8c97d2931c595783a", - "sha256:287605bede6bd36e930577c5925fcea17cb30453d96a7b4c63c14a257118dbb9", - "sha256:2aaf6a0a6465d39b5ca69688fce82d20088c1838534982996ec46633dc7ad6cc", - "sha256:32a73c53783becdb7eaf75a2a1525ea8e49379fb7248c3eeefb9412123536387", - "sha256:41fb58868b816c202e8881fd0f179a4644ce6e7cbbb248ef0283a34b73ec73bb", - "sha256:4780677767dd52b99f0af1f123bc2c22873d30b474aa0e2fc3fe5e02217687c7", - "sha256:4878e667ebabe9b65e785ac8da4d48886fe81193a84bbe49f12acff8f7a383a4", - "sha256:487c8e61d7acc50b8be82bda8c8d21d20e133c3cbf41bd8ad7eb1aaeb3f07c97", - "sha256:4beea0f31491bc086991b97517b9683e5cfb369205dac0148ef685ac12a20a67", - "sha256:4cfbe42c686f33944e12f45a27d25a492cc0e43e1dc1da5d6a87cbcaf2e95627", - "sha256:4d5bae0a37af799207140652a700f21a85946f107a199bcb06720b13a4f1f0b7", - "sha256:4e285b5f2bf321fc0857b491b5028c5f276ec0c873b985d58d7748ece1d770dd", - "sha256:57e4d637258703d14171b54203fd6822fda218c6c2658a7d30816b10995f29f3", - "sha256:5974895115737a74a00b321e339b9c3f45c20275d226398ae79ac008d908bff7", - "sha256:5ef87fca280fb15342726bd5f980f6faf8b84a5287fcc2d4962ea8af88b35130", - "sha256:603a464c2e67d8a546ddaa206d98e3246e5db05594b97db844c2f0a1af37cf5b", - "sha256:6653071f4f9bac46fbc30f3c7838b0e9063ee335908c5d61fb7a4a86c8fd2036", - "sha256:6ca2264f341dd81e41f3fffecec6e446aa2121e0b8d026fb5130e02de1402785", - "sha256:6d279033bf614953c3fc4a0aa9ac33a21e8044ca72d4fa8b9273fe75359d5cca", - "sha256:6d949f53ad4fc7cf02c44d6678e7ff05ec5f5552b235b9e136bd52e9bf730b91", - "sha256:6daa662aba22ef3258934105be2dd9afa5bb45748f4f702a3b39a5bf53a1f4dc", - "sha256:6eafc048ea3f1b3c136c71a86db393be36b5b3d9c87b1c25204e7d397cee9536", - "sha256:830c88747dce8a3e7525defa68afd742b4580df6aa2fdd6f0855481e3994d391", - "sha256:86e92728ef3fc842c50a5cb1d5ba2bc66db7da08a7af53fb3da79e202d1b2cd3", - "sha256:8caf4d16b31961e964c62194ea3e26a0e9561cdf72eecb1781458b67ec83423d", - "sha256:8d1a92d8e90b286d491e5626af53afef2ba04da33e82e30744795c71880eaa21", - "sha256:8f0a4d179c9a941eb80c3a63cdb495e539e064f8054230844dcf2fcb812b71d3", - "sha256:9232b09f5efee6a495a99ae6824881940d6447debe272ea400c02e3b68aad85d", - "sha256:927a9dd016d6033bc12e0bf5dee1dde140235fc8d0d51099353c76081c03dc29", - "sha256:93e414e3206779ef41e5ff2448067213febf260ba747fc65389a3ddaa3fb8715", - "sha256:98cafc618614d72b02185ac583c6f7796202062c41d2eeecdf07820bad3295ed", - "sha256:9c3a88d20e4fe4a2a4a84bf439a5ac9c9aba400b85244c63a1ab7088f85d9d25", - "sha256:9f36de4cd0c262dd9927886cc2305aa3f2210db437aa4fed3fb4940b8bf4592c", - "sha256:a60f90bba4c37962cbf210f0188ecca87daafdf60271f4c6948606e4dabf8785", - "sha256:a614e4afed58c14254e67862456d212c4dcceebab2eaa44d627c2ca04bf86837", - "sha256:ae06c1e4bc60ee076292e582a7512f304abdf6c70db59b56745cca1684f875a4", - "sha256:b122a188cd292c4d2fcd78d04f863b789ef43aa129b233d7c9004de08693728b", - "sha256:b570da8cd0012f4af9fa76a5635cd31f707473e65a5a335b186069d5c7121ff2", - "sha256:bcaa1c495ce623966d9fc8a187da80082334236a2a1c7e141763ffaf7a405067", - "sha256:bd34f6d1810d9354dc7e35158aa6cc33456be7706df4420819af6ed966e85448", - "sha256:be9eb06489bc975c38706902cbc6888f39e946b81383abc2838d186f0e8b6a9d", - "sha256:c4b2e0559b68455c085fb0f6178e9752c4be3bba104d6e881eb5573b399d1eb2", - "sha256:c62e8dd9754b7debda0c5ba59d34509c4688f853588d75b53c3791983faa96fc", - "sha256:c852b1530083a620cb0de5f3cd6826f19862bafeaf77586f1aef326e49d95f0c", - "sha256:d9fc0bf3ff86c17348dfc5d322f627d78273eba545db865c3cd14b3f19e57fa5", - "sha256:dad7b164905d3e534883281c050180afcf1e230c3d4a54e8038aa5cfcf312b84", - "sha256:e5f66bdf0976ec667fc4594d2812a00b07ed14d1b44259d19a41ae3fff99f2b8", - "sha256:e8f0c9d65da595cfe91713bc1222af9ecabd37971762cb830dea2fc3b3bb2acf", - "sha256:edffbe3c510d8f4bf8640e02ca019e48a9b72357318383ca60e3330c23aaffc7", - "sha256:eea5d6443b093e1545ad0210e6cf27f920482bfcf5c77cdc8596aec73523bb7e", - "sha256:ef72013e20dd5ba86a8ae1aed7f56f31d3374189aa8b433e7b12ad182c0d2dfb", - "sha256:f05251bbc2145349b8d0b77c0d4e5f3b228418807b1ee27cefb11f69ed3d233b", - "sha256:f1be258c4d3dc609e654a1dc59d37b17d7fef05df912c01fc2e15eb43a9735f3", - "sha256:f9ced82717c7ec65a67667bb05865ffe38af0e835cdd78728f1209c8fffe0cad", - "sha256:fe17d10b97fdf58155f858606bddb4e037b805a60ae023c009f760d8361a4eb8", - "sha256:fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f" + "sha256:01220dca0d066d1349bd6a1726856a78f7929f3878f7e2ee83c296c69495309e", + "sha256:02ced472497b8362c8e902ade23e3300479f4f43e45f4105c85ef43b8db85229", + "sha256:052d99051e77a4f3e8482c65014cf6372e61b0a6f4fe9edb98503bb5364cfee3", + "sha256:07da23d7ee08577760f0a71d67a861019103e4812c87e2fab26b039054594cc5", + "sha256:094cb601ba9f55296774c2d57ad68730daa0b13dc260e1f941b4d13678239e70", + "sha256:0a7056921edbdd7560746f4221dca89bb7a3fe457d3d74267995253f46343f15", + "sha256:0c120f43553ec759f8de1fee2f4794452b0946773299d44c36bfe18e83caf002", + "sha256:0d7b36afa46c97875303a94e8f3ad932bf78bace9e18e603f2085b652422edcd", + "sha256:0fdf3a3059611f7585a78ee10399a15566356116a4288380921a4b598d807a22", + "sha256:109fa6fede314cc50eed29e6e56c540075e63d922455346f11e4d7a036d2b8cf", + "sha256:146173654d79eb1fc97498b4280c1d3e1e5d58c398fa530905c9ea50ea849b22", + "sha256:1473427aff3d66a3fa2199004c3e601e6c4500ab86696edffdbc84954c72d832", + "sha256:1483fd3358963cc5c1c9b122c80606a3a79ee0875bcac0204149fa09d6ff2727", + "sha256:168f2dfcfdedf611eb285efac1516c8454c8c99caf271dccda8943576b67552e", + "sha256:17e8d968d04a37c50ad9c456a286b525d78c4a1c15dd53aa46c1d8e06bf6fa30", + "sha256:18feb4b93302091b1541221196a2155aa296c363fd233814fa11e181adebc52f", + "sha256:1afe0a8c353746e610bd9031a630a95bcfb1a720684c3f2b36c4710a0a96528f", + "sha256:1d04f064bebdfef9240478f7a779e8c5dc32b8b7b0b2fc6a62e39b928d428e51", + "sha256:1fdc9fae8dd4c763e8a31e7630afef517eab9f5d5d31a278df087f307bf601f4", + "sha256:1ffc23010330c2ab67fac02781df60998ca8fe759e8efde6f8b756a20599c5de", + "sha256:20094fc3f21ea0a8669dc4c61ed7fa8263bd37d97d93b90f28fc613371e7a875", + "sha256:213261f168c5e1d9b7535a67e68b1f59f92398dd17a56d934550837143f79c42", + "sha256:218c1b2e17a710e363855594230f44060e2025b05c80d1f0661258142b2add2e", + "sha256:23e0553b8055600b3bf4a00b255ec5c92e1e4aebf8c2c09334f8368e8bd174d6", + "sha256:25f1b69d41656b05885aa185f5fdf822cb01a586d1b32739633679699f220391", + "sha256:2b3778cb38212f52fac9fe913017deea2fdf4eb1a4f8e4cfc6b009a13a6d3fcc", + "sha256:2bc9fd5ca4729af796f9f59cd8ff160fe06a474da40aca03fcc79655ddee1a8b", + "sha256:2c226a06ecb8cdef28845ae976da407917542c5e6e75dcac7cc33eb04aaeb237", + "sha256:2c3406b63232fc7e9b8783ab0b765d7c59e7c59ff96759d8ef9632fca27c7ee4", + "sha256:2c86bf781b12ba417f64f3422cfc302523ac9cd1d8ae8c0f92a1c66e56ef2e86", + "sha256:2d9b8d9177afaef80c53c0a9e30fa252ff3036fb1c6494d427c066a4ce6a282f", + "sha256:2dec2d1130a9cda5b904696cec33b2cfb451304ba9081eeda7f90f724097300a", + "sha256:2dfab5fa6a28a0b60a20638dc48e6343c02ea9933e3279ccb132f555a62323d8", + "sha256:2ecdd78ab768f844c7a1d4a03595038c166b609f6395e25af9b0f3f26ae1230f", + "sha256:315f9542011b2c4e1d280e4a20ddcca1761993dda3afc7a73b01235f8641e903", + "sha256:36aef61a1678cb778097b4a6eeae96a69875d51d1e8f4d4b491ab3cfb54b5a03", + "sha256:384aacddf2e5813a36495233b64cb96b1949da72bef933918ba5c84e06af8f0e", + "sha256:3879cc6ce938ff4eb4900d901ed63555c778731a96365e53fadb36437a131a99", + "sha256:3c174dc350d3ec52deb77f2faf05c439331d6ed5e702fc247ccb4e6b62d884b7", + "sha256:3eb44520c4724c2e1a57c0af33a379eee41792595023f367ba3952a2d96c2aab", + "sha256:406246b96d552e0503e17a1006fd27edac678b3fcc9f1be71a2f94b4ff61528d", + "sha256:41ce1f1e2c7755abfc7e759dc34d7d05fd221723ff822947132dc934d122fe22", + "sha256:423b121f7e6fa514ba0c7918e56955a1d4470ed35faa03e3d9f0e3baa4c7e492", + "sha256:44264ecae91b30e5633013fb66f6ddd05c006d3e0e884f75ce0b4755b3e3847b", + "sha256:482c2f67761868f0108b1743098640fbb2a28a8e15bf3f47ada9fa59d9fe08c3", + "sha256:4b0c7a688944891086ba192e21c5229dea54382f4836a209ff8d0a660fac06be", + "sha256:4c1fefd7e3d00921c44dc9ca80a775af49698bbfd92ea84498e56acffd4c5469", + "sha256:4e109ca30d1edec1ac60cdbe341905dc3b8f55b16855e03a54aaf59e51ec8c6f", + "sha256:501d0d7e26b4d261fca8132854d845e4988097611ba2531408ec91cf3fd9d20a", + "sha256:516f491c834eb320d6c843156440fe7fc0d50b33e44387fcec5b02f0bc118a4c", + "sha256:51806cfe0279e06ed8500ce19479d757db42a30fd509940b1701be9c86a5ff9a", + "sha256:562e7494778a69086f0312ec9689f6b6ac1c6b65670ed7d0267e49f57ffa08c4", + "sha256:56b9861a71575f5795bde89256e7467ece3d339c9b43141dbdd54544566b3b94", + "sha256:5b8f5db71b28b8c404956ddf79575ea77aa8b1538e8b2ef9ec877945b3f46442", + "sha256:5c2fb570d7823c2bbaf8b419ba6e5662137f8166e364a8b2b91051a1fb40ab8b", + "sha256:5c54afdcbb0182d06836cc3d1be921e540be3ebdf8b8a51ee3ef987537455f84", + "sha256:5d6a6972b93c426ace71e0be9a6f4b2cfae9b1baed2eed2006076a746692288c", + "sha256:609251a0ca4770e5a8768ff902aa02bf636339c5a93f9349b48eb1f606f7f3e9", + "sha256:62d172f358f33a26d6b41b28c170c63886742f5b6772a42b59b4f0fa10526cb1", + "sha256:62f7fdb0d1ed2065451f086519865b4c90aa19aed51081979ecd05a21eb4d1be", + "sha256:658f2aa69d31e09699705949b5fc4719cbecbd4a97f9656a232e7d6c7be1a367", + "sha256:65ab5685d56914b9a2a34d67dd5488b83213d680b0c5d10b47f81da5a16b0b0e", + "sha256:68934b242c51eb02907c5b81d138cb977b2129a0a75a8f8b60b01cb8586c7b21", + "sha256:68b87753c784d6acb8a25b05cb526c3406913c9d988d51f80adecc2b0775d6aa", + "sha256:69959bd3167b993e6e710b99051265654133a98f20cec1d9b493b931942e9c16", + "sha256:6a7095eeec6f89111d03dabfe5883a1fd54da319c94e0fb104ee8f23616b572d", + "sha256:6b038cc86b285e4f9fea2ba5ee76e89f21ed1ea898e287dc277a25884f3a7dfe", + "sha256:6ba0d3dcac281aad8a0e5b14c7ed6f9fa89c8612b47939fc94f80b16e2e9bc83", + "sha256:6e91cf736959057f7aac7adfc83481e03615a8e8dd5758aa1d95ea69e8931dba", + "sha256:6ee8c39582d2652dcd516d1b879451500f8db3fe3607ce45d7c5957ab2596040", + "sha256:6f651ebd0b21ec65dfca93aa629610a0dbc13dbc13554f19b0113da2e61a4763", + "sha256:71a8dd38fbd2f2319136d4ae855a7078c69c9a38ae06e0c17c73fd70fc6caad8", + "sha256:74068c601baff6ff021c70f0935b0c7bc528baa8ea210c202e03757c68c5a4ff", + "sha256:7437237c6a66b7ca341e868cda48be24b8701862757426852c9b3186de1da8a2", + "sha256:747a3d3e98e24597981ca0be0fd922aebd471fa99d0043a3842d00cdcad7ad6a", + "sha256:74bcb423462233bc5d6066e4e98b0264e7c1bed7541fff2f4e34fe6b21563c8b", + "sha256:78d9b952e07aed35fe2e1a7ad26e929595412db48535921c5013edc8aa4a35ce", + "sha256:7b1cd427cb0d5f7393c31b7496419da594fe600e6fdc4b105a54f82405e6626c", + "sha256:7d3d1ca42870cdb6d0d29939630dbe48fa511c203724820fc0fd507b2fb46577", + "sha256:7e2f58095acc211eb9d8b5771bf04df9ff37d6b87618d1cbf85f92399c98dae8", + "sha256:7f41026c1d64043a36fda21d64c5026762d53a77043e73e94b71f0521939cc71", + "sha256:81b4e48da4c69313192d8c8d4311e5d818b8be1afe68ee20f6385d0e96fc9512", + "sha256:86a6b24b19eaebc448dc56b87c4865527855145d851f9fc3891673ff97950540", + "sha256:874a216bf6afaf97c263b56371434e47e2c652d215788396f60477540298218f", + "sha256:89e043f1d9d341c52bf2af6d02e6adde62e0a46e6755d5eb60dc6e4f0b8aeca2", + "sha256:8c72e9563347c7395910de6a3100a4840a75a6f60e05af5e58566868d5eb2d6a", + "sha256:8dc2c0395bea8254d8daebc76dcf8eb3a95ec2a46fa6fae5eaccee366bfe02ce", + "sha256:8f0de2d390af441fe8b2c12626d103540b5d850d585b18fcada58d972b74a74e", + "sha256:92e67a0be1639c251d21e35fe74df6bcc40cba445c2cda7c4a967656733249e2", + "sha256:94d6c3782907b5e40e21cadf94b13b0842ac421192f26b84c45f13f3c9d5dc27", + "sha256:97acf1e1fd66ab53dacd2c35b319d7e548380c2e9e8c54525c6e76d21b1ae3b1", + "sha256:9ada35dd21dc6c039259596b358caab6b13f4db4d4a7f8665764d616daf9cc1d", + "sha256:9c52100e2c2dbb0649b90467935c4b0de5528833c76a35ea1a2691ec9f1ee7a1", + "sha256:9e41506fec7a7f9405b14aa2d5c8abbb4dbbd09d88f9496958b6d00cb4d45330", + "sha256:9e4b47ac0f5e749cfc618efdf4726269441014ae1d5583e047b452a32e221920", + "sha256:9fb81d2824dff4f2e297a276297e9031f46d2682cafc484f49de182aa5e5df99", + "sha256:a0eabd0a81625049c5df745209dc7fcef6e2aea7793e5f003ba363610aa0a3ff", + "sha256:a3d819eb6f9b8677f57f9664265d0a10dd6551d227afb4af2b9cd7bdc2ccbf18", + "sha256:a87de7dd873bf9a792bf1e58b1c3887b9264036629a5bf2d2e6579fe8e73edff", + "sha256:aa617107a410245b8660028a7483b68e7914304a6d4882b5ff3d2d3eb5948d8c", + "sha256:aac0bbd3e8dd2d9c45ceb82249e8bdd3ac99131a32b4d35c8af3cc9db1657179", + "sha256:ab6dd83b970dc97c2d10bc71aa925b84788c7c05de30241b9e96f9b6d9ea3080", + "sha256:ace2c2326a319a0bb8a8b0e5b570c764962e95818de9f259ce814ee666603f19", + "sha256:ae5fe5c4b525aa82b8076c1a59d642c17b6e8739ecf852522c6321852178119d", + "sha256:b11a5d918a6216e521c715b02749240fb07ae5a1fefd4b7bf12f833bc8b4fe70", + "sha256:b1c8c20847b9f34e98080da785bb2336ea982e7f913eed5809e5a3c872900f32", + "sha256:b369d3db3c22ed14c75ccd5af429086f166a19627e84a8fdade3f8f31426e52a", + "sha256:b710bc2b8292966b23a6a0121f7a6c51d45d2347edcc75f016ac123b8054d3f2", + "sha256:bd96517ef76c8654446fc3db9242d019a1bb5fe8b751ba414765d59f99210b79", + "sha256:c00f323cc00576df6165cc9d21a4c21285fa6b9989c5c39830c3903dc4303ef3", + "sha256:c162b216070f280fa7da844531169be0baf9ccb17263cf5a8bf876fcd3117fa5", + "sha256:c1a69e58a6bb2de65902051d57fde951febad631a20a64572677a1052690482f", + "sha256:c1f794c02903c2824fccce5b20c339a1a14b114e83b306ff11b597c5f71a1c8d", + "sha256:c24037349665434f375645fa9d1f5304800cec574d0310f618490c871fd902b3", + "sha256:c300306673aa0f3ed5ed9372b21867690a17dba38c68c44b287437c362ce486b", + "sha256:c56a1d43b2f9ee4786e4658c7903f05da35b923fb53c11025712562d5cc02753", + "sha256:c6379f35350b655fd817cd0d6cbeef7f265f3ae5fedb1caae2eb442bbeae9ab9", + "sha256:c802e1c2ed9f0c06a65bc4ed0189d000ada8049312cfeab6ca635e39c9608957", + "sha256:cb83f8a875b3d9b458cada4f880fa498646874ba4011dc974e071a0a84a1b033", + "sha256:cf120cce539453ae086eacc0130a324e7026113510efa83ab42ef3fcfccac7fb", + "sha256:dd36439be765e2dde7660212b5275641edbc813e7b24668831a5c8ac91180656", + "sha256:dd5350b55f9fecddc51385463a4f67a5da829bc741e38cf689f38ec9023f54ab", + "sha256:df5c7333167b9674aa8ae1d4008fa4bc17a313cc490b2cca27838bbdcc6bb15b", + "sha256:e63601ad5cd8f860aa99d109889b5ac34de571c7ee902d6812d5d9ddcc77fa7d", + "sha256:e92ce66cd919d18d14b3856906a61d3f6b6a8500e0794142338da644260595cd", + "sha256:e99f5507401436fdcc85036a2e7dc2e28d962550afe1cbfc07c40e454256a859", + "sha256:ea2e2f6f801696ad7de8aec061044d6c8c0dd4037608c7cab38a9a4d316bfb11", + "sha256:eafa2c8658f4e560b098fe9fc54539f86528651f61849b22111a9b107d18910c", + "sha256:ecd4ad8453ac17bc7ba3868371bffb46f628161ad0eefbd0a855d2c8c32dd81a", + "sha256:ee70d08fd60c9565ba8190f41a46a54096afa0eeb8f76bd66f2c25d3b1b83005", + "sha256:eec1bb8cdbba2925bedc887bc0609a80e599c75b12d87ae42ac23fd199445654", + "sha256:ef0c1fe22171dd7c7c27147f2e9c3e86f8bdf473fed75f16b0c2e84a5030ce80", + "sha256:f2901429da1e645ce548bf9171784c0f74f0718c3f6150ce166be39e4dd66c3e", + "sha256:f422a209d2455c56849442ae42f25dbaaba1c6c3f501d58761c619c7836642ec", + "sha256:f65e5120863c2b266dbcc927b306c5b78e502c71edf3295dfcb9501ec96e5fc7", + "sha256:f7d4a670107d75dfe5ad080bed6c341d18c4442f9378c9f58e5851e86eb79965", + "sha256:f914c03e6a31deb632e2daa881fe198461f4d06e57ac3d0e05bbcab8eae01945", + "sha256:fb66442c2546446944437df74379e9cf9e9db353e61301d1a0e26482f43f0dd8" ], "index": "pypi", - "version": "==4.9.1" + "markers": "python_version >= '3.6'", + "version": "==5.3.0" }, "markdown-it-py": { "hashes": [ - "sha256:36be6bb3ad987bfdb839f5ba78ddf094552ca38ccbd784ae4f74a4e1419fc6e3", - "sha256:98080fc0bc34c4f2bcf0846a096a9429acbd9d5d8e67ed34026c03c61c464389" + "sha256:5a35f8d1870171d9acc47b99612dc146129b631baf04970128b568f190d0cc30", + "sha256:7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1" ], - "markers": "python_version ~= '3.6'", - "version": "==1.1.0" + "markers": "python_version >= '3.7'", + "version": "==2.2.0" }, "markupsafe": { "hashes": [ - "sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003", - "sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88", - "sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5", - "sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7", - "sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a", - "sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603", - "sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1", - "sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135", - "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247", - "sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6", - "sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601", - "sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77", - "sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02", - "sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e", - "sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63", - "sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f", - "sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980", - "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b", - "sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812", - "sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff", - "sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96", - "sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1", - "sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925", - "sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a", - "sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6", - "sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e", - "sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f", - "sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4", - "sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f", - "sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3", - "sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c", - "sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a", - "sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417", - "sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a", - "sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a", - "sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37", - "sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452", - "sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933", - "sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a", - "sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7" + "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf", + "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff", + "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f", + "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3", + "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532", + "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f", + "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617", + "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df", + "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4", + "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906", + "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f", + "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4", + "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8", + "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371", + "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2", + "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465", + "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52", + "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6", + "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169", + "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad", + "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2", + "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0", + "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029", + "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f", + "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a", + "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced", + "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5", + "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c", + "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf", + "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9", + "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb", + "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad", + "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3", + "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1", + "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46", + "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc", + "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a", + "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee", + "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900", + "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5", + "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea", + "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f", + "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5", + "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e", + "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a", + "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f", + "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50", + "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a", + "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b", + "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4", + "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff", + "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2", + "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46", + "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b", + "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf", + "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5", + "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5", + "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab", + "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd", + "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68" ], "markers": "python_version >= '3.7'", - "version": "==2.1.1" + "version": "==2.1.5" }, "mdit-py-plugins": { "hashes": [ - "sha256:1833bf738e038e35d89cb3a07eb0d227ed647ce7dd357579b65343740c6d249c", - "sha256:5991cef645502e80a5388ec4fc20885d2313d4871e8b8e320ca2de14ac0c015f" + "sha256:ca9a0714ea59a24b2b044a1831f48d817dd0c817e84339f20e7889f392d77c4e", + "sha256:eee0adc7195e5827e17e02d2a258a2ba159944a0748f59c5099a4a27f78fcf6a" ], - "markers": "python_version ~= '3.6'", - "version": "==0.2.8" + "markers": "python_version >= '3.7'", + "version": "==0.3.5" + }, + "mdurl": { + "hashes": [ + "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", + "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba" + ], + "markers": "python_version >= '3.7'", + "version": "==0.1.2" }, "more-itertools": { "hashes": [ - "sha256:1bc4f91ee5b1b31ac7ceacc17c09befe6a40a503907baf9c839c229b5095cfd2", - "sha256:c09443cd3d5438b8dafccd867a6bc1cb0894389e90cb53d227456b0b0bccb750" + "sha256:0f7d9f83a0a8dcfa8a2694a770590d98a67ea943e3d9f5298309a484758c4e27", + "sha256:fe0e63c4ab068eac62410ab05cccca2dc71ec44ba8ef29916a0090df061cf923" ], - "markers": "python_version >= '3.5'", - "version": "==8.14.0" + "markers": "python_version >= '3.8'", + "version": "==10.4.0" }, "mypy": { "hashes": [ - "sha256:02ef476f6dcb86e6f502ae39a16b93285fef97e7f1ff22932b657d1ef1f28655", - "sha256:0d054ef16b071149917085f51f89555a576e2618d5d9dd70bd6eea6410af3ac9", - "sha256:19830b7dba7d5356d3e26e2427a2ec91c994cd92d983142cbd025ebe81d69cf3", - "sha256:1f7656b69974a6933e987ee8ffb951d836272d6c0f81d727f1d0e2696074d9e6", - "sha256:23488a14a83bca6e54402c2e6435467a4138785df93ec85aeff64c6170077fb0", - "sha256:23c7ff43fff4b0df93a186581885c8512bc50fc4d4910e0f838e35d6bb6b5e58", - "sha256:25c5750ba5609a0c7550b73a33deb314ecfb559c350bb050b655505e8aed4103", - "sha256:2ad53cf9c3adc43cf3bea0a7d01a2f2e86db9fe7596dfecb4496a5dda63cbb09", - "sha256:3fa7a477b9900be9b7dd4bab30a12759e5abe9586574ceb944bc29cddf8f0417", - "sha256:40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56", - "sha256:4b21e5b1a70dfb972490035128f305c39bc4bc253f34e96a4adf9127cf943eb2", - "sha256:5a361d92635ad4ada1b1b2d3630fc2f53f2127d51cf2def9db83cba32e47c856", - "sha256:77a514ea15d3007d33a9e2157b0ba9c267496acf12a7f2b9b9f8446337aac5b0", - "sha256:855048b6feb6dfe09d3353466004490b1872887150c5bb5caad7838b57328cc8", - "sha256:9796a2ba7b4b538649caa5cecd398d873f4022ed2333ffde58eaf604c4d2cb27", - "sha256:98e02d56ebe93981c41211c05adb630d1d26c14195d04d95e49cd97dbc046dc5", - "sha256:b793b899f7cf563b1e7044a5c97361196b938e92f0a4343a5d27966a53d2ec71", - "sha256:d1ea5d12c8e2d266b5fb8c7a5d2e9c0219fedfeb493b7ed60cd350322384ac27", - "sha256:d2022bfadb7a5c2ef410d6a7c9763188afdb7f3533f22a0a32be10d571ee4bbe", - "sha256:d3348e7eb2eea2472db611486846742d5d52d1290576de99d59edeb7cd4a42ca", - "sha256:d744f72eb39f69312bc6c2abf8ff6656973120e2eb3f3ec4f758ed47e414a4bf", - "sha256:ef943c72a786b0f8d90fd76e9b39ce81fb7171172daf84bf43eaf937e9f220a9", - "sha256:f2899a3cbd394da157194f913a931edfd4be5f274a88041c9dc2d9cdcb1c315c" + "sha256:0624bdb940255d2dd24e829d99a13cfeb72e4e9031f9492148f410ed30bcab54", + "sha256:0bc71d1fb27a428139dd78621953effe0d208aed9857cb08d002280b0422003a", + "sha256:0bd53faf56de9643336aeea1c925012837432b5faf1701ccca7fde70166ccf72", + "sha256:11965c2f571ded6239977b14deebd3f4c3abd9a92398712d6da3a772974fad69", + "sha256:1a81cf05975fd61aec5ae16501a091cfb9f605dc3e3c878c0da32f250b74760b", + "sha256:2684d3f693073ab89d76da8e3921883019ea8a3ec20fa5d8ecca6a2db4c54bbe", + "sha256:2c63350af88f43a66d3dfeeeb8d77af34a4f07d760b9eb3a8697f0386c7590b4", + "sha256:45df906e8b6804ef4b666af29a87ad9f5921aad091c79cc38e12198e220beabd", + "sha256:4c956b49c5d865394d62941b109728c5c596a415e9c5b2be663dd26a1ff07bc0", + "sha256:64f4a90e3ea07f590c5bcf9029035cf0efeae5ba8be511a8caada1a4893f5525", + "sha256:749fd3213916f1751fff995fccf20c6195cae941dc968f3aaadf9bb4e430e5a2", + "sha256:79c07eb282cb457473add5052b63925e5cc97dfab9812ee65a7c7ab5e3cb551c", + "sha256:7b6343d338390bb946d449677726edf60102a1c96079b4f002dedff375953fc5", + "sha256:886c9dbecc87b9516eff294541bf7f3655722bf22bb898ee06985cd7269898de", + "sha256:a2b43895a0f8154df6519706d9bca8280cda52d3d9d1514b2d9c3e26792a0b74", + "sha256:a32fc80b63de4b5b3e65f4be82b4cfa362a46702672aa6a0f443b4689af7008c", + "sha256:a707ec1527ffcdd1c784d0924bf5cb15cd7f22683b919668a04d2b9c34549d2e", + "sha256:a831671bad47186603872a3abc19634f3011d7f83b083762c942442d51c58d58", + "sha256:b639dce63a0b19085213ec5fdd8cffd1d81988f47a2dec7100e93564f3e8fb3b", + "sha256:b868d3bcff720dd7217c383474008ddabaf048fad8d78ed948bb4b624870a417", + "sha256:c1952f5ea8a5a959b05ed5f16452fddadbaae48b5d39235ab4c3fc444d5fd411", + "sha256:d44be7551689d9d47b7abc27c71257adfdb53f03880841a5db15ddb22dc63edb", + "sha256:e1e30dc3bfa4e157e53c1d17a0dad20f89dc433393e7702b813c10e200843b03", + "sha256:e4fe9f4e5e521b458d8feb52547f4bade7ef8c93238dfb5bbc790d9ff2d770ca", + "sha256:f39918a50f74dc5969807dcfaecafa804fa7f90c9d60506835036cc1bc891dc8", + "sha256:f404a0b069709f18bbdb702eb3dcfe51910602995de00bd39cea3050b5772d08", + "sha256:fca4a60e1dd9fd0193ae0067eaeeb962f2d79e0d9f0f66223a0682f26ffcc809" ], "index": "pypi", - "version": "==0.971" + "markers": "python_version >= '3.8'", + "version": "==1.11.1" }, "mypy-extensions": { "hashes": [ - "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d", - "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8" + "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d", + "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782" ], - "version": "==0.4.3" + "markers": "python_version >= '3.5'", + "version": "==1.0.0" }, "myst-parser": { "hashes": [ - "sha256:7c3c78a36c4bc30ce6a67933ebd800a880c8d81f1688fad5c2ebd82cddbc1603", - "sha256:e8baa9959dac0bcf0f3ea5fc32a1a28792959471d8a8094e3ed5ee0de9733ade" + "sha256:1635ce3c18965a528d6de980f989ff64d6a1effb482e1f611b1bfb79e38f3d98", + "sha256:4c076d649e066f9f5c7c661bae2658be1ca06e76b002bb97f02a09398707686c" ], "index": "pypi", - "version": "==0.15.1" + "markers": "python_version >= '3.7'", + "version": "==0.17.2" + }, + "nh3": { + "hashes": [ + "sha256:0411beb0589eacb6734f28d5497ca2ed379eafab8ad8c84b31bb5c34072b7164", + "sha256:14c5a72e9fe82aea5fe3072116ad4661af5cf8e8ff8fc5ad3450f123e4925e86", + "sha256:19aaba96e0f795bd0a6c56291495ff59364f4300d4a39b29a0abc9cb3774a84b", + "sha256:34c03fa78e328c691f982b7c03d4423bdfd7da69cd707fe572f544cf74ac23ad", + "sha256:36c95d4b70530b320b365659bb5034341316e6a9b30f0b25fa9c9eff4c27a204", + "sha256:3a157ab149e591bb638a55c8c6bcb8cdb559c8b12c13a8affaba6cedfe51713a", + "sha256:42c64511469005058cd17cc1537578eac40ae9f7200bedcfd1fc1a05f4f8c200", + "sha256:5f36b271dae35c465ef5e9090e1fdaba4a60a56f0bb0ba03e0932a66f28b9189", + "sha256:6955369e4d9f48f41e3f238a9e60f9410645db7e07435e62c6a9ea6135a4907f", + "sha256:7b7c2a3c9eb1a827d42539aa64091640bd275b81e097cd1d8d82ef91ffa2e811", + "sha256:8ce0f819d2f1933953fca255db2471ad58184a60508f03e6285e5114b6254844", + "sha256:94a166927e53972a9698af9542ace4e38b9de50c34352b962f4d9a7d4c927af4", + "sha256:a7f1b5b2c15866f2db413a3649a8fe4fd7b428ae58be2c0f6bca5eefd53ca2be", + "sha256:c8b3a1cebcba9b3669ed1a84cc65bf005728d2f0bc1ed2a6594a992e817f3a50", + "sha256:de3ceed6e661954871d6cd78b410213bdcb136f79aafe22aa7182e028b8c7307", + "sha256:f0eca9ca8628dbb4e916ae2491d72957fdd35f7a5d326b7032a345f111ac07fe" + ], + "version": "==0.2.18" }, "nodeenv": { "hashes": [ - "sha256:27083a7b96a25f2f5e1d8cb4b6317ee8aeda3bdd121394e5ac54e498028a042e", - "sha256:e0e7f7dfb85fc5394c6fe1e8fa98131a2473e04311a45afb6508f7cf1836fa2b" + "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f", + "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6'", - "version": "==1.7.0" - }, - "orderedmultidict": { - "hashes": [ - "sha256:04070bbb5e87291cc9bfa51df413677faf2141c73c61d2a5f7b26bea3cd882ad", - "sha256:43c839a17ee3cdd62234c47deca1a8508a3f2ca1d0678a3bf791c87cf84adbf3" - ], - "version": "==1.0.1" + "version": "==1.9.1" }, "packaging": { "hashes": [ - "sha256:5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5", - "sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21f051443c20947a" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==20.9" - }, - "pathspec": { - "hashes": [ - "sha256:46846318467efc4556ccfd27816e004270a9eeeeb4d062ce5e6fc7a87c573f93", - "sha256:7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d" - ], - "markers": "python_version >= '3.7'", - "version": "==0.10.1" - }, - "pep517": { - "hashes": [ - "sha256:4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b", - "sha256:ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59" - ], - "markers": "python_version >= '3.6'", - "version": "==0.13.0" - }, - "pip": { - "hashes": [ - "sha256:3fd1929db052f056d7a998439176d3333fa1b3f6c1ad881de1885c0717608a4b", - "sha256:b61a374b5bc40a6e982426aede40c9b5a08ff20e640f5b56977f4f91fed1e39a" - ], - "markers": "python_version >= '3.7'", - "version": "==22.2.2" - }, - "pip-shims": { - "hashes": [ - "sha256:089e3586a92b1b8dbbc16b2d2859331dc1c412d3e3dbcd91d80e6b30d73db96c", - "sha256:2ae9f21c0155ca5c37d2734eb5f9a7d98c4c42a122d1ba3eddbacc9d9ea9fbae" - ], - "markers": "python_version >= '3.6'", - "version": "==0.7.3" - }, - "pipenv-setup": { - "hashes": [ - "sha256:0def7ec3363f58b38a43dc59b2078fcee67b47301fd51a41b8e34e6f79812b1a", - "sha256:6ceda7145a3088494d8ca68fded4b0473022dc62eb786a021c137632c44298b5" + "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002", + "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124" ], "index": "pypi", - "version": "==3.2.0" + "markers": "python_version >= '3.8'", + "version": "==24.1" }, - "pipfile": { + "pathspec": { "hashes": [ - "sha256:f7d9f15de8b660986557eb3cc5391aa1a16207ac41bc378d03f414762d36c984" + "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08", + "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712" ], - "version": "==0.0.2" + "markers": "python_version >= '3.8'", + "version": "==0.12.1" }, "pkginfo": { "hashes": [ - "sha256:848865108ec99d4901b2f7e84058b6e7660aae8ae10164e015a6dcf5b242a594", - "sha256:a84da4318dd86f870a9447a8c98340aa06216bfc6f2b7bdc4b8766984ae1867c" + "sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297", + "sha256:889a6da2ed7ffc58ab5b900d888ddce90bce912f2d2de1dc1c26f4cb9fe65097" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", - "version": "==1.8.3" + "markers": "python_version >= '3.6'", + "version": "==1.10.0" }, "platformdirs": { "hashes": [ - "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788", - "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19" + "sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee", + "sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3" ], - "markers": "python_version >= '3.7'", - "version": "==2.5.2" - }, - "plette": { - "extras": [ - "validation" - ], - "hashes": [ - "sha256:7bf014ff695d8badf5a058227db0f0bd1fa7ffd6e54ad8b851bc36c20a4a7894", - "sha256:e4dc4a05bfce68d6f6b8d1ccd6e8957ecf4ed6707e8d32f7188b6e628526644e" - ], - "markers": "python_version >= '3.7'", - "version": "==0.4.2" + "markers": "python_version >= '3.8'", + "version": "==4.2.2" }, "pluggy": { "hashes": [ - "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159", - "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" + "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1", + "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669" ], - "markers": "python_version >= '3.6'", - "version": "==1.0.0" + "markers": "python_version >= '3.8'", + "version": "==1.5.0" }, "pre-commit": { "hashes": [ - "sha256:51a5ba7c480ae8072ecdb6933df22d2f812dc897d5fe848778116129a681aac7", - "sha256:a978dac7bc9ec0bcee55c18a277d553b0f419d259dadb4b9418ff2d00eb43959" + "sha256:8bb6494d4a20423842e198980c9ecf9f96607a07ea29549e180eef9ae80fe7af", + "sha256:9a90a53bf82fdd8778d58085faf8d83df56e40dfe18f45b19446e26bf1b3a63f" ], "index": "pypi", - "version": "==2.20.0" - }, - "py": { - "hashes": [ - "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719", - "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", - "version": "==1.11.0" - }, - "py4j": { - "hashes": [ - "sha256:276a4a3c5a2154df1860ef3303a927460e02e97b047dc0a47c1c3fb8cce34db6", - "sha256:52d171a6a2b031d8a5d1de6efe451cf4f5baff1a2819aabc3741c8406539ba04" - ], - "version": "==0.10.9.5" + "markers": "python_version >= '3.9'", + "version": "==3.8.0" }, "pycparser": { "hashes": [ - "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9", - "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206" + "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6", + "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.21" + "markers": "python_version >= '3.8'", + "version": "==2.22" }, "pyflakes": { "hashes": [ - "sha256:4579f67d887f804e67edb544428f264b7b24f435b263c4614f384135cea553d2", - "sha256:491feb020dca48ccc562a8c0cbe8df07ee13078df59813b83959cbdada312ea3" + "sha256:1c61603ff154621fb2a9172037d84dca3500def8c8b630657d1701f026f8af3f", + "sha256:84b5be138a2dfbb40689ca07e2152deb896a65c3a3e24c251c5c62489568074a" ], - "markers": "python_version >= '3.6'", - "version": "==2.5.0" + "markers": "python_version >= '3.8'", + "version": "==3.2.0" }, "pygments": { "hashes": [ - "sha256:56a8508ae95f98e2b9bdf93a6be5ae3f7d8af858b43e02c5a2ff083726be40c1", - "sha256:f643f331ab57ba3c9d89212ee4a2dabc6e94f117cf4eefde99a0574720d14c42" - ], - "index": "pypi", - "version": "==2.13.0" - }, - "pyparsing": { - "hashes": [ - "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1", - "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b" - ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.4.7" - }, - "pyspark": { - "hashes": [ - "sha256:7ebe8e9505647b4d124d5a82fca60dfd3891021cf8ad6c5ec88777eeece92cf7" + "sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199", + "sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a" ], "index": "pypi", - "version": "==3.3.0" + "markers": "python_version >= '3.8'", + "version": "==2.18.0" }, "pytest": { "hashes": [ - "sha256:1377bda3466d70b55e3f5cecfa55bb7cfcf219c7964629b967c37cf0bda818b7", - "sha256:4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39" + "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5", + "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce" ], "index": "pypi", - "version": "==7.1.3" - }, - "python-dateutil": { - "hashes": [ - "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", - "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.8.2" - }, - "pytz": { - "hashes": [ - "sha256:2c0784747071402c6e99f0bafdb7da0fa22645f06554c7ae06bf6358897e9c91", - "sha256:48ce799d83b6f8aab2020e369b627446696619e79645419610b9facd909b3174" - ], - "version": "==2022.4" + "markers": "python_version >= '3.8'", + "version": "==8.3.2" }, "pyyaml": { "hashes": [ - "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf", - "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293", - "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b", - "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57", - "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b", - "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4", - "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07", - "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba", - "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9", - "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287", - "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513", - "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0", - "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782", - "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0", - "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92", - "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f", - "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2", - "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc", - "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1", - "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c", - "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86", - "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4", - "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c", - "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34", - "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b", - "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d", - "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c", - "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb", - "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7", - "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737", - "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3", - "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d", - "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358", - "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53", - "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78", - "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803", - "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a", - "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f", - "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174", - "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5" - ], - "markers": "python_version >= '3.6'", - "version": "==6.0" + "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff", + "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48", + "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086", + "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e", + "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133", + "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5", + "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484", + "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee", + "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5", + "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68", + "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a", + "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf", + "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99", + "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8", + "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85", + "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19", + "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc", + "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a", + "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1", + "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317", + "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c", + "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631", + "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d", + "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652", + "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5", + "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e", + "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b", + "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8", + "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476", + "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706", + "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563", + "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237", + "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b", + "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083", + "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180", + "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425", + "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e", + "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f", + "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725", + "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183", + "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab", + "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774", + "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725", + "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e", + "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5", + "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d", + "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290", + "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44", + "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed", + "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4", + "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba", + "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12", + "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4" + ], + "markers": "python_version >= '3.8'", + "version": "==6.0.2" }, "readme-renderer": { "hashes": [ - "sha256:d3f06a69e8c40fca9ab3174eca48f96d9771eddb43517b17d96583418427b106", - "sha256:e8ad25293c98f781dbc2c5a36a309929390009f902f99e1798c761aaf04a7923" + "sha256:1818dd28140813509eeed8d62687f7cd4f7bad90d4db586001c5dc09d4fde311", + "sha256:19db308d86ecd60e5affa3b2a98f017af384678c63c88e5d4556a380e674f3f9" ], - "markers": "python_version >= '3.7'", - "version": "==37.2" + "markers": "python_version >= '3.8'", + "version": "==43.0" }, "requests": { "hashes": [ - "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983", - "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349" + "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", + "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6" ], - "markers": "python_version >= '3.7' and python_version < '4'", - "version": "==2.28.1" + "markers": "python_version >= '3.8'", + "version": "==2.32.3" }, "requests-toolbelt": { "hashes": [ - "sha256:64c6b8c51b515d123f9f708a29743f44eb70c4479440641ed2df8c4dea56d985", - "sha256:f695d6207931200b46c8ef6addbc8a921fb5d77cc4cd209c2e7d39293fcd2b30" + "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", + "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06" ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==0.10.0" - }, - "requirementslib": { - "hashes": [ - "sha256:28924cf11a2fa91adb03f8431d80c2a8c3dc386f1c48fb2be9a58e4c39072354", - "sha256:d26ec6ad45e1ffce9532303543996c9c71a99dc65f783908f112e3f2aae7e49c" - ], - "markers": "python_version >= '3.7'", - "version": "==1.6.9" + "version": "==1.0.0" }, "rfc3986": { "hashes": [ @@ -887,11 +943,11 @@ }, "rich": { "hashes": [ - "sha256:a4eb26484f2c82589bd9a17c73d32a010b1e29d89f1604cd9bf3a2097b81bb5e", - "sha256:ba3a3775974105c221d31141f2c116f4fd65c5ceb0698657a11e9f295ec93fd0" + "sha256:4edbae314f59eb482f54e9e30bf00d33350aaa94f4bfcd4e9e3110e64d0d7222", + "sha256:9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432" ], - "markers": "python_version < '4' and python_full_version >= '3.6.3'", - "version": "==12.6.0" + "markers": "python_full_version >= '3.7.0'", + "version": "==13.7.1" }, "secretstorage": { "hashes": [ @@ -903,19 +959,12 @@ }, "setuptools": { "hashes": [ - "sha256:512e5536220e38146176efb833d4a62aa726b7bbff82cfbc8ba9eaa3996e0b17", - "sha256:f62ea9da9ed6289bfe868cd6845968a2c854d1427f8548d52cae02a42b4f0356" + "sha256:80aacbf633704e9c8bfa1d99fa5dd4dc59573efcf9e4042c13d3bcef91ac2ef9", + "sha256:f11dd94b7bae3a156a95ec151f24e4637fb4fa19c878e4d191bfb8b2d82728c4" ], "index": "pypi", - "version": "==65.5.0" - }, - "six": { - "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.16.0" + "markers": "python_version >= '3.8'", + "version": "==72.2.0" }, "snowballstemmer": { "hashes": [ @@ -930,47 +979,50 @@ "sha256:46d52c6cee13fec44744b8c01ed692c18a640f6910a725cbb938bc36e8d64544" ], "index": "pypi", + "markers": "python_version >= '3.6'", "version": "==4.1.2" }, "sphinx-autoapi": { "hashes": [ - "sha256:007bf9e24cd2aa0ac0561f67e8bcd6a6e2e8911ef4b4fd54aaba799d8832c8d0", - "sha256:8c4ec5fbedc1e6e8f4692bcc4fcd1abcfb9e8dfca8a4ded60ad811a743c22ccc" + "sha256:97dcf1b5b54cd0d8efef867594e4a4f3e2d3a2c0ec1e5a891e0a61bc77046006", + "sha256:dab2753a38cad907bf4e61473c0da365a26bfbe69fbf5aa6e4f7d48e1cf8a148" ], "index": "pypi", - "version": "==1.8.4" + "markers": "python_version >= '3.7'", + "version": "==2.0.0" }, "sphinx-rtd-theme": { "hashes": [ - "sha256:32bd3b5d13dc8186d7a42fc816a23d32e83a4827d7d9882948e7b837c232da5a", - "sha256:4a05bdbe8b1446d77a01e20a23ebc6777c74f43237035e76be89699308987d6f" + "sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8", + "sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c" ], "index": "pypi", - "version": "==0.5.2" + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", + "version": "==1.0.0" }, "sphinxcontrib-applehelp": { "hashes": [ - "sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a", - "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58" + "sha256:2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1", + "sha256:4cd3f0ec4ac5dd9c17ec65e9ab272c9b867ea77425228e68ecf08d6b28ddbdb5" ], - "markers": "python_version >= '3.5'", - "version": "==1.0.2" + "markers": "python_version >= '3.9'", + "version": "==2.0.0" }, "sphinxcontrib-devhelp": { "hashes": [ - "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e", - "sha256:ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4" + "sha256:411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad", + "sha256:aefb8b83854e4b0998877524d1029fd3e6879210422ee3780459e28a1f03a8a2" ], - "markers": "python_version >= '3.5'", - "version": "==1.0.2" + "markers": "python_version >= '3.9'", + "version": "==2.0.0" }, "sphinxcontrib-htmlhelp": { "hashes": [ - "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07", - "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2" + "sha256:166759820b47002d22914d64a075ce08f4c46818e17cfc9470a9786b759b19f8", + "sha256:c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9" ], - "markers": "python_version >= '3.6'", - "version": "==2.0.0" + "markers": "python_version >= '3.9'", + "version": "==2.1.0" }, "sphinxcontrib-jsmath": { "hashes": [ @@ -982,222 +1034,95 @@ }, "sphinxcontrib-qthelp": { "hashes": [ - "sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72", - "sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6" + "sha256:4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab", + "sha256:b18a828cdba941ccd6ee8445dbe72ffa3ef8cbe7505d8cd1fa0d42d3f2d5f3eb" ], - "markers": "python_version >= '3.5'", - "version": "==1.0.3" + "markers": "python_version >= '3.9'", + "version": "==2.0.0" }, "sphinxcontrib-serializinghtml": { "hashes": [ - "sha256:352a9a00ae864471d3a7ead8d7d79f5fc0b57e8b3f95e9867eb9eb28999b92fd", - "sha256:aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952" - ], - "markers": "python_version >= '3.5'", - "version": "==1.1.5" - }, - "toml": { - "hashes": [ - "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", - "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" - ], - "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==0.10.2" - }, - "tomli": { - "hashes": [ - "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", - "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" - ], - "markers": "python_version < '3.11'", - "version": "==2.0.1" - }, - "tomlkit": { - "hashes": [ - "sha256:571854ebbb5eac89abcb4a2e47d7ea27b89bf29e09c35395da6f03dd4ae23d1c", - "sha256:f2ef9da9cef846ee027947dc99a45d6b68a63b0ebc21944649505bf2e8bc5fe7" + "sha256:6e2cb0eef194e10c27ec0023bfeb25badbbb5868244cf5bc5bdc04e4464bf331", + "sha256:e9d912827f872c029017a53f0ef2180b327c3f7fd23c87229f7a8e8b70031d4d" ], - "markers": "python_version >= '3.6' and python_version < '4'", - "version": "==0.11.5" + "markers": "python_version >= '3.9'", + "version": "==2.0.0" }, "twine": { "hashes": [ - "sha256:42026c18e394eac3e06693ee52010baa5313e4811d5a11050e7d48436cf41b9e", - "sha256:96b1cf12f7ae611a4a40b6ae8e9570215daff0611828f5fe1f37a16255ab24a0" + "sha256:215dbe7b4b94c2c50a7315c0275d2258399280fbb7d04182c7e55e24b5f93997", + "sha256:9aa0825139c02b3434d913545c7b847a21c835e11597f5255842d457da2322db" ], "index": "pypi", - "version": "==4.0.1" - }, - "typed-ast": { - "hashes": [ - "sha256:0261195c2062caf107831e92a76764c81227dae162c4f75192c0d489faf751a2", - "sha256:0fdbcf2fef0ca421a3f5912555804296f0b0960f0418c440f5d6d3abb549f3e1", - "sha256:183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6", - "sha256:211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62", - "sha256:267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac", - "sha256:2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d", - "sha256:370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc", - "sha256:39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2", - "sha256:3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97", - "sha256:4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35", - "sha256:4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6", - "sha256:639c5f0b21776605dd6c9dbe592d5228f021404dafd377e2b7ac046b0349b1a1", - "sha256:669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4", - "sha256:6778e1b2f81dfc7bc58e4b259363b83d2e509a65198e85d5700dfae4c6c8ff1c", - "sha256:683407d92dc953c8a7347119596f0b0e6c55eb98ebebd9b23437501b28dcbb8e", - "sha256:79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec", - "sha256:7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f", - "sha256:98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72", - "sha256:a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47", - "sha256:a9916d2bb8865f973824fb47436fa45e1ebf2efd920f2b9f99342cb7fab93f72", - "sha256:c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe", - "sha256:cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6", - "sha256:ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3", - "sha256:ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66" - ], - "markers": "python_version < '3.8'", - "version": "==1.5.4" + "markers": "python_version >= '3.8'", + "version": "==5.1.1" }, "types-deprecated": { "hashes": [ - "sha256:53d05621e1d75de537f5a57d93508c8df17e37c07ee60b9fb09d39e1b7586c1e", - "sha256:e04ce58929509865359e91dcc38720123262b4cd68fa2a8a90312d50390bb6fa" + "sha256:0680e89989a8142707de8103f15d182445a533c1047fd9b7e8c5459101e9b90a", + "sha256:d7793aaf32ff8f7e49a8ac781de4872248e0694c4b75a7a8a186c51167463f9d" ], "index": "pypi", - "version": "==1.2.9" + "markers": "python_version >= '3.8'", + "version": "==1.2.9.20240311" }, "typing-extensions": { "hashes": [ - "sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa", - "sha256:16fa4864408f655d35ec496218b85f79b3437c829e93320c7c9215ccfd92489e" + "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d", + "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8" ], - "markers": "python_version >= '3.7'", - "version": "==4.4.0" + "markers": "python_version >= '3.8'", + "version": "==4.12.2" }, "unidecode": { "hashes": [ - "sha256:547d7c479e4f377b430dd91ac1275d593308dce0fc464fb2ab7d41f82ec653be", - "sha256:fed09cf0be8cf415b391642c2a5addfc72194407caee4f98719e40ec2a72b830" + "sha256:cfdb349d46ed3873ece4586b96aa75258726e2fa8ec21d6f00a591d98806c2f4", + "sha256:d130a61ce6696f8148a3bd8fe779c99adeb4b870584eeb9526584e9aa091fd39" ], "markers": "python_version >= '3.5'", - "version": "==1.3.6" + "version": "==1.3.8" }, "urllib3": { "hashes": [ - "sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e", - "sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997" + "sha256:a448b2f64d686155468037e1ace9f2d2199776e17f0a46610480d311f73e3472", + "sha256:dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5' and python_version < '4'", - "version": "==1.26.12" + "markers": "python_version >= '3.8'", + "version": "==2.2.2" }, "virtualenv": { "hashes": [ - "sha256:227ea1b9994fdc5ea31977ba3383ef296d7472ea85be9d6732e42a91c04e80da", - "sha256:d07dfc5df5e4e0dbc92862350ad87a36ed505b978f6c39609dc489eadd5b0d27" + "sha256:4c43a2a236279d9ea36a0d76f98d84bd6ca94ac4e0f4a3b9d46d05e10fea542a", + "sha256:8cc4a31139e796e9a7de2cd5cf2489de1217193116a8fd42328f1bd65f434589" ], - "markers": "python_version >= '3.6'", - "version": "==20.16.5" + "markers": "python_version >= '3.7'", + "version": "==20.26.3" }, "vistir": { "hashes": [ - "sha256:1a89a612fb667c26ed6b4ed415b01e0261e13200a350c43d1990ace0ef44d35b", - "sha256:a8beb7643d07779cdda3941a08dad77d48de94883dbd3cb2b9b5ecb7eb7c0994" + "sha256:7b8d2301c860707a7a7f02c457eef685b9711470a6df157b692baf529606622f", + "sha256:dde88ef0d45dc1ad423fff2f0ad0e29e230de1b02457bdff5053dacd60ffcf97" ], "index": "pypi", - "version": "==0.6.1" - }, - "webencodings": { - "hashes": [ - "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", - "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - ], - "version": "==0.5.1" + "markers": "python_version >= '3.7'", + "version": "==0.8.0" }, "wheel": { "hashes": [ - "sha256:4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a", - "sha256:e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4" + "sha256:2376a90c98cc337d18623527a97c31797bd02bad0033d41547043a1cbfbe448f", + "sha256:a29c3f2817e95ab89aa4660681ad547c0e9547f20e75b0562fe7723c9a2a9d49" ], "index": "pypi", - "version": "==0.37.1" - }, - "wrapt": { - "hashes": [ - "sha256:00b6d4ea20a906c0ca56d84f93065b398ab74b927a7a3dbd470f6fc503f95dc3", - "sha256:01c205616a89d09827986bc4e859bcabd64f5a0662a7fe95e0d359424e0e071b", - "sha256:02b41b633c6261feff8ddd8d11c711df6842aba629fdd3da10249a53211a72c4", - "sha256:07f7a7d0f388028b2df1d916e94bbb40624c59b48ecc6cbc232546706fac74c2", - "sha256:11871514607b15cfeb87c547a49bca19fde402f32e2b1c24a632506c0a756656", - "sha256:1b376b3f4896e7930f1f772ac4b064ac12598d1c38d04907e696cc4d794b43d3", - "sha256:21ac0156c4b089b330b7666db40feee30a5d52634cc4560e1905d6529a3897ff", - "sha256:257fd78c513e0fb5cdbe058c27a0624c9884e735bbd131935fd49e9fe719d310", - "sha256:2b39d38039a1fdad98c87279b48bc5dce2c0ca0d73483b12cb72aa9609278e8a", - "sha256:2cf71233a0ed05ccdabe209c606fe0bac7379fdcf687f39b944420d2a09fdb57", - "sha256:2fe803deacd09a233e4762a1adcea5db5d31e6be577a43352936179d14d90069", - "sha256:3232822c7d98d23895ccc443bbdf57c7412c5a65996c30442ebe6ed3df335383", - "sha256:34aa51c45f28ba7f12accd624225e2b1e5a3a45206aa191f6f9aac931d9d56fe", - "sha256:36f582d0c6bc99d5f39cd3ac2a9062e57f3cf606ade29a0a0d6b323462f4dd87", - "sha256:380a85cf89e0e69b7cfbe2ea9f765f004ff419f34194018a6827ac0e3edfed4d", - "sha256:40e7bc81c9e2b2734ea4bc1aceb8a8f0ceaac7c5299bc5d69e37c44d9081d43b", - "sha256:43ca3bbbe97af00f49efb06e352eae40434ca9d915906f77def219b88e85d907", - "sha256:4fcc4649dc762cddacd193e6b55bc02edca674067f5f98166d7713b193932b7f", - "sha256:5a0f54ce2c092aaf439813735584b9537cad479575a09892b8352fea5e988dc0", - "sha256:5a9a0d155deafd9448baff28c08e150d9b24ff010e899311ddd63c45c2445e28", - "sha256:5b02d65b9ccf0ef6c34cba6cf5bf2aab1bb2f49c6090bafeecc9cd81ad4ea1c1", - "sha256:60db23fa423575eeb65ea430cee741acb7c26a1365d103f7b0f6ec412b893853", - "sha256:642c2e7a804fcf18c222e1060df25fc210b9c58db7c91416fb055897fc27e8cc", - "sha256:6a9a25751acb379b466ff6be78a315e2b439d4c94c1e99cb7266d40a537995d3", - "sha256:6b1a564e6cb69922c7fe3a678b9f9a3c54e72b469875aa8018f18b4d1dd1adf3", - "sha256:6d323e1554b3d22cfc03cd3243b5bb815a51f5249fdcbb86fda4bf62bab9e164", - "sha256:6e743de5e9c3d1b7185870f480587b75b1cb604832e380d64f9504a0535912d1", - "sha256:709fe01086a55cf79d20f741f39325018f4df051ef39fe921b1ebe780a66184c", - "sha256:7b7c050ae976e286906dd3f26009e117eb000fb2cf3533398c5ad9ccc86867b1", - "sha256:7d2872609603cb35ca513d7404a94d6d608fc13211563571117046c9d2bcc3d7", - "sha256:7ef58fb89674095bfc57c4069e95d7a31cfdc0939e2a579882ac7d55aadfd2a1", - "sha256:80bb5c256f1415f747011dc3604b59bc1f91c6e7150bd7db03b19170ee06b320", - "sha256:81b19725065dcb43df02b37e03278c011a09e49757287dca60c5aecdd5a0b8ed", - "sha256:833b58d5d0b7e5b9832869f039203389ac7cbf01765639c7309fd50ef619e0b1", - "sha256:88bd7b6bd70a5b6803c1abf6bca012f7ed963e58c68d76ee20b9d751c74a3248", - "sha256:8ad85f7f4e20964db4daadcab70b47ab05c7c1cf2a7c1e51087bfaa83831854c", - "sha256:8c0ce1e99116d5ab21355d8ebe53d9460366704ea38ae4d9f6933188f327b456", - "sha256:8d649d616e5c6a678b26d15ece345354f7c2286acd6db868e65fcc5ff7c24a77", - "sha256:903500616422a40a98a5a3c4ff4ed9d0066f3b4c951fa286018ecdf0750194ef", - "sha256:9736af4641846491aedb3c3f56b9bc5568d92b0692303b5a305301a95dfd38b1", - "sha256:988635d122aaf2bdcef9e795435662bcd65b02f4f4c1ae37fbee7401c440b3a7", - "sha256:9cca3c2cdadb362116235fdbd411735de4328c61425b0aa9f872fd76d02c4e86", - "sha256:9e0fd32e0148dd5dea6af5fee42beb949098564cc23211a88d799e434255a1f4", - "sha256:9f3e6f9e05148ff90002b884fbc2a86bd303ae847e472f44ecc06c2cd2fcdb2d", - "sha256:a85d2b46be66a71bedde836d9e41859879cc54a2a04fad1191eb50c2066f6e9d", - "sha256:a9a52172be0b5aae932bef82a79ec0a0ce87288c7d132946d645eba03f0ad8a8", - "sha256:aa31fdcc33fef9eb2552cbcbfee7773d5a6792c137b359e82879c101e98584c5", - "sha256:b014c23646a467558be7da3d6b9fa409b2c567d2110599b7cf9a0c5992b3b471", - "sha256:b21bb4c09ffabfa0e85e3a6b623e19b80e7acd709b9f91452b8297ace2a8ab00", - "sha256:b5901a312f4d14c59918c221323068fad0540e34324925c8475263841dbdfe68", - "sha256:b9b7a708dd92306328117d8c4b62e2194d00c365f18eff11a9b53c6f923b01e3", - "sha256:d1967f46ea8f2db647c786e78d8cc7e4313dbd1b0aca360592d8027b8508e24d", - "sha256:d52a25136894c63de15a35bc0bdc5adb4b0e173b9c0d07a2be9d3ca64a332735", - "sha256:d77c85fedff92cf788face9bfa3ebaa364448ebb1d765302e9af11bf449ca36d", - "sha256:d79d7d5dc8a32b7093e81e97dad755127ff77bcc899e845f41bf71747af0c569", - "sha256:dbcda74c67263139358f4d188ae5faae95c30929281bc6866d00573783c422b7", - "sha256:ddaea91abf8b0d13443f6dac52e89051a5063c7d014710dcb4d4abb2ff811a59", - "sha256:dee0ce50c6a2dd9056c20db781e9c1cfd33e77d2d569f5d1d9321c641bb903d5", - "sha256:dee60e1de1898bde3b238f18340eec6148986da0455d8ba7848d50470a7a32fb", - "sha256:e2f83e18fe2f4c9e7db597e988f72712c0c3676d337d8b101f6758107c42425b", - "sha256:e3fb1677c720409d5f671e39bac6c9e0e422584e5f518bfd50aa4cbbea02433f", - "sha256:ee2b1b1769f6707a8a445162ea16dddf74285c3964f605877a20e38545c3c462", - "sha256:ee6acae74a2b91865910eef5e7de37dc6895ad96fa23603d1d27ea69df545015", - "sha256:ef3f72c9666bba2bab70d2a8b79f2c6d2c1a42a7f7e2b0ec83bb2f9e383950af" - ], - "markers": "python_version < '3.11'", - "version": "==1.14.1" + "markers": "python_version >= '3.8'", + "version": "==0.44.0" }, "zipp": { "hashes": [ - "sha256:3a7af91c3db40ec72dd9d154ae18e008c69efe8ca88dde4f9a731bb82fe2f9eb", - "sha256:972cfa31bc2fedd3fa838a51e9bc7e64b7fb725a8c00e7431554311f180e9980" + "sha256:0145e43d89664cfe1a2e533adc75adafed82fe2da404b4bbb6b026c0157bdb31", + "sha256:58da6168be89f0be59beb194da1250516fdaa062ccebd30127ac65d30045e10d" ], - "markers": "python_version >= '3.7'", - "version": "==3.9.0" + "markers": "python_version >= '3.8'", + "version": "==3.20.0" } } } diff --git a/pre-commit.Dockerfile b/pre-commit.Dockerfile index 8cb863f2..c22dc220 100644 --- a/pre-commit.Dockerfile +++ b/pre-commit.Dockerfile @@ -1,11 +1,13 @@ -FROM python:3.7-slim +FROM python:3.12-slim RUN apt-get update && \ apt-get install -y git && \ pip install pipenv COPY ${project_root}/Pipfile* ./ -RUN pipenv sync --dev --system + +RUN pipenv lock --dev && \ + pipenv sync --dev --system --verbose WORKDIR /sourcecode RUN git config --global --add safe.directory /sourcecode diff --git a/setup.py b/setup.py index a761cc1f..b59bb7ef 100644 --- a/setup.py +++ b/setup.py @@ -45,15 +45,15 @@ def violation(operation: Any, *args: Any, **_: Any) -> None: # create the package setup setup( - install_requires=["pyspark>=3.1.1"], + install_requires=["pyspark==3.5.1"], name=package_name, version=version, author="Imran Qureshi", author_email="imranq2@hotmail.com", - description="AutoMapper for Spark", + description="FHIR Schemas for Spark", long_description=long_description, long_description_content_type="text/markdown", - url="https://github.com/imranq2/SparkAutoMapper", + url="https://github.com/icanbwell/SparkFhirSchemas", packages=find_packages(), classifiers=[ "Development Status :: 4 - Beta", diff --git a/spark.Dockerfile b/spark.Dockerfile index e5549351..7850a86a 100644 --- a/spark.Dockerfile +++ b/spark.Dockerfile @@ -1,4 +1,4 @@ -FROM imranq2/helix.spark:3.3.0.8-slim +FROM imranq2/helix.spark:3.5.1.1-slim # https://github.com/icanbwell/helix.spark USER root @@ -9,12 +9,23 @@ COPY Pipfile* /sfs/ WORKDIR /sfs RUN df -h # for space monitoring -RUN pip install pipenv && pipenv sync --dev --system - +RUN pipenv sync --dev --system && pipenv run pip install pyspark==3.5.1 # override entrypoint to remove extra logging RUN mv /opt/minimal_entrypoint.sh /opt/entrypoint.sh +USER root +# install python 3.12 - it's not available in normal ubuntu repositories +# https://github.com/deadsnakes/issues/issues/53 +RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 && \ + echo "deb https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu/ jammy main" | tee /etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-lunar.list && \ + apt-get update && apt-get install -y python3.12 && \ + update-alternatives --install /usr/bin/python python /usr/bin/python3.12 1 && \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 + +RUN pip install pyspark==3.5.1 +RUN pip install pytest>=8.2.2 + COPY . /sfs RUN df -h # for space monitoring diff --git a/spark_fhir_schemas/dstu2/backbone_elements/allergyintolerancereaction.py b/spark_fhir_schemas/dstu2/backbone_elements/allergyintolerancereaction.py index 012e467b..0c0e2ac6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/allergyintolerancereaction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/allergyintolerancereaction.py @@ -264,9 +264,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/appointmentparticipant.py b/spark_fhir_schemas/dstu2/backbone_elements/appointmentparticipant.py index 39762bb0..63bfc020 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/appointmentparticipant.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/appointmentparticipant.py @@ -196,9 +196,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventdetail.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventdetail.py index 4dd560f3..a5253469 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventdetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventdetail.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventevent.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventevent.py index 0c827bc1..93319994 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventevent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventevent.py @@ -231,9 +231,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventnetwork.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventnetwork.py index 96df9f3c..45ac3dc5 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventnetwork.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventnetwork.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventobject.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventobject.py index f35b7b85..5b458868 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventobject.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventobject.py @@ -305,9 +305,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventparticipant.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventparticipant.py index d1c20698..8a8f0d59 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventparticipant.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventparticipant.py @@ -336,9 +336,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/auditeventsource.py b/spark_fhir_schemas/dstu2/backbone_elements/auditeventsource.py index d2077a43..f075dc2e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/auditeventsource.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/auditeventsource.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/bundleentry.py b/spark_fhir_schemas/dstu2/backbone_elements/bundleentry.py index 6e5f668c..95a1c0d4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/bundleentry.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/bundleentry.py @@ -270,9 +270,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/bundlelink.py b/spark_fhir_schemas/dstu2/backbone_elements/bundlelink.py index 512e9c34..2a4aa990 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/bundlelink.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/bundlelink.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/bundlerequest.py b/spark_fhir_schemas/dstu2/backbone_elements/bundlerequest.py index f9ae1f34..82d83d5d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/bundlerequest.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/bundlerequest.py @@ -204,9 +204,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/bundleresponse.py b/spark_fhir_schemas/dstu2/backbone_elements/bundleresponse.py index 86a785bc..a6e0a9a3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/bundleresponse.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/bundleresponse.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/bundlesearch.py b/spark_fhir_schemas/dstu2/backbone_elements/bundlesearch.py index 01da00cb..2e6f47ce 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/bundlesearch.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/bundlesearch.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/careplanactivity.py b/spark_fhir_schemas/dstu2/backbone_elements/careplanactivity.py index 4e5278d2..c5b8f6fe 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/careplanactivity.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/careplanactivity.py @@ -225,9 +225,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/careplandetail.py b/spark_fhir_schemas/dstu2/backbone_elements/careplandetail.py index 064b80e3..bb8876a8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/careplandetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/careplandetail.py @@ -434,9 +434,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/careplanparticipant.py b/spark_fhir_schemas/dstu2/backbone_elements/careplanparticipant.py index 4e34ab4f..265e1f9a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/careplanparticipant.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/careplanparticipant.py @@ -184,9 +184,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/careplanrelatedplan.py b/spark_fhir_schemas/dstu2/backbone_elements/careplanrelatedplan.py index a31985cd..0ec1340c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/careplanrelatedplan.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/careplanrelatedplan.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimcoverage.py b/spark_fhir_schemas/dstu2/backbone_elements/claimcoverage.py index 53a2336d..a0b711ab 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimcoverage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimcoverage.py @@ -249,9 +249,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimdetail.py b/spark_fhir_schemas/dstu2/backbone_elements/claimdetail.py index 2c0fbd2f..bb78f7ff 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimdetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimdetail.py @@ -344,9 +344,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimdiagnosis.py b/spark_fhir_schemas/dstu2/backbone_elements/claimdiagnosis.py index 93a37428..383f5433 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimdiagnosis.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimdiagnosis.py @@ -176,9 +176,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimitem.py b/spark_fhir_schemas/dstu2/backbone_elements/claimitem.py index 23bf5963..1b1c4a4a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimitem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimitem.py @@ -466,9 +466,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimmissingteeth.py b/spark_fhir_schemas/dstu2/backbone_elements/claimmissingteeth.py index 9d8a8a39..fffd8f78 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimmissingteeth.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimmissingteeth.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimpayee.py b/spark_fhir_schemas/dstu2/backbone_elements/claimpayee.py index c094347a..6b2edcf1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimpayee.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimpayee.py @@ -214,9 +214,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimprosthesis.py b/spark_fhir_schemas/dstu2/backbone_elements/claimprosthesis.py index 7a323256..9c06e84e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimprosthesis.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimprosthesis.py @@ -171,9 +171,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadditem.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadditem.py index de062f8b..d14fd9b3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadditem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadditem.py @@ -261,9 +261,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication.py index 3c1f9c19..0707f274 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication1.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication1.py index 1ccc91ea..b3076352 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication1.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication2.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication2.py index c600edf8..e9cf8827 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication2.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication2.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication3.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication3.py index 23b6ec7b..54a38dca 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication3.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication3.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication4.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication4.py index b8c224f3..e1b1e380 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication4.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseadjudication4.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsecoverage.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsecoverage.py index 3e612a86..511e30e5 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsecoverage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsecoverage.py @@ -249,9 +249,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail.py index 406bbbfe..73e462d6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail.py @@ -203,9 +203,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail1.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail1.py index 508afb15..82050d66 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsedetail1.py @@ -199,9 +199,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseerror.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseerror.py index c044e9c4..44c818b1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseerror.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseerror.py @@ -220,9 +220,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseitem.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseitem.py index c1f8520c..1592da8c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponseitem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponseitem.py @@ -221,9 +221,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsenote.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsenote.py index 4c5cab64..095606b9 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsenote.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsenote.py @@ -181,9 +181,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsesubdetail.py b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsesubdetail.py index ba77eb85..9ec99e6e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimresponsesubdetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimresponsesubdetail.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/claimsubdetail.py b/spark_fhir_schemas/dstu2/backbone_elements/claimsubdetail.py index 424068dc..98af993e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/claimsubdetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/claimsubdetail.py @@ -317,9 +317,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionfinding.py b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionfinding.py index 1621d81a..5cebb020 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionfinding.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionfinding.py @@ -172,9 +172,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressioninvestigations.py b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressioninvestigations.py index 1fe045d3..6e1ad0d8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressioninvestigations.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressioninvestigations.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionruledout.py b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionruledout.py index 57a682b5..b9914bef 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionruledout.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/clinicalimpressionruledout.py @@ -172,9 +172,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/communicationpayload.py b/spark_fhir_schemas/dstu2/backbone_elements/communicationpayload.py index 3dda5bb0..8b8cae89 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/communicationpayload.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/communicationpayload.py @@ -181,9 +181,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/communicationrequestpayload.py b/spark_fhir_schemas/dstu2/backbone_elements/communicationrequestpayload.py index b89d6cec..cc452416 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/communicationrequestpayload.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/communicationrequestpayload.py @@ -181,9 +181,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/compositionattester.py b/spark_fhir_schemas/dstu2/backbone_elements/compositionattester.py index 7f9589b0..789c64f4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/compositionattester.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/compositionattester.py @@ -191,9 +191,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/compositionevent.py b/spark_fhir_schemas/dstu2/backbone_elements/compositionevent.py index 1eb9dadf..f6362ae6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/compositionevent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/compositionevent.py @@ -223,9 +223,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/compositionsection.py b/spark_fhir_schemas/dstu2/backbone_elements/compositionsection.py index 12860cbe..2972a85d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/compositionsection.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/compositionsection.py @@ -287,9 +287,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapcontact.py index 354d3437..ee618c3b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapcontact.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapdependson.py b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapdependson.py index 7c2f8475..3b96a837 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapdependson.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapdependson.py @@ -186,9 +186,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapelement.py b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapelement.py index 1c4e0f7c..6418842f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conceptmapelement.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conceptmapelement.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conceptmaptarget.py b/spark_fhir_schemas/dstu2/backbone_elements/conceptmaptarget.py index 714a0370..7b6ea2ce 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conceptmaptarget.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conceptmaptarget.py @@ -229,9 +229,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conditionevidence.py b/spark_fhir_schemas/dstu2/backbone_elements/conditionevidence.py index f0671f49..3059f2a1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conditionevidence.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conditionevidence.py @@ -184,9 +184,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conditionstage.py b/spark_fhir_schemas/dstu2/backbone_elements/conditionstage.py index 8156a66f..b09be740 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conditionstage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conditionstage.py @@ -188,9 +188,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancecertificate.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancecertificate.py index c09d3c0b..87f49d61 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancecertificate.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancecertificate.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancecontact.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancecontact.py index f5a153b5..5d4f9d50 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancecontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancecontact.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancedocument.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancedocument.py index 3c821da5..b7a7e021 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancedocument.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancedocument.py @@ -173,9 +173,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceendpoint.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceendpoint.py index b24a5fed..445d3460 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceendpoint.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceendpoint.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceevent.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceevent.py index e1a99363..c65207c8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceevent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceevent.py @@ -214,9 +214,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceimplementation.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceimplementation.py index 7e571fd0..ad11d056 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceimplementation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceimplementation.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction.py index 3aa5fdbb..66780ebd 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction1.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction1.py index 12af4fe3..c6f85cc2 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceinteraction1.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancemessaging.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancemessaging.py index 308c8051..ac606e30 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancemessaging.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancemessaging.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceoperation.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceoperation.py index 0b9967af..1afff472 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceoperation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceoperation.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformanceresource.py b/spark_fhir_schemas/dstu2/backbone_elements/conformanceresource.py index b917b014..475a7c8c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformanceresource.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformanceresource.py @@ -269,9 +269,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancerest.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancerest.py index caa736f4..8576c2e2 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancerest.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancerest.py @@ -303,9 +303,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancesearchparam.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancesearchparam.py index 35f84196..594e1934 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancesearchparam.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancesearchparam.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancesecurity.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancesecurity.py index f173808d..6d306ab9 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancesecurity.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancesecurity.py @@ -201,9 +201,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/conformancesoftware.py b/spark_fhir_schemas/dstu2/backbone_elements/conformancesoftware.py index f420e2bd..02a164ee 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/conformancesoftware.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/conformancesoftware.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractactor.py b/spark_fhir_schemas/dstu2/backbone_elements/contractactor.py index be4191bf..dc6707e8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractactor.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractactor.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractactor1.py b/spark_fhir_schemas/dstu2/backbone_elements/contractactor1.py index a51b2b59..0e70b1f1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractactor1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractactor1.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractfriendly.py b/spark_fhir_schemas/dstu2/backbone_elements/contractfriendly.py index 0a25e8a7..71b691cc 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractfriendly.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractfriendly.py @@ -176,9 +176,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractlegal.py b/spark_fhir_schemas/dstu2/backbone_elements/contractlegal.py index 1e21b670..8f0e6663 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractlegal.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractlegal.py @@ -176,9 +176,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractrule.py b/spark_fhir_schemas/dstu2/backbone_elements/contractrule.py index 50d8c392..7d7c450b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractrule.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractrule.py @@ -176,9 +176,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractsigner.py b/spark_fhir_schemas/dstu2/backbone_elements/contractsigner.py index 8bf24686..46d1fb75 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractsigner.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractsigner.py @@ -179,9 +179,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractterm.py b/spark_fhir_schemas/dstu2/backbone_elements/contractterm.py index ef3b593e..b1567e8c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractterm.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractterm.py @@ -358,9 +358,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem.py b/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem.py index 344cc810..ca8dcb7c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem.py @@ -327,9 +327,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem1.py b/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem1.py index 84b837d0..6b806770 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/contractvalueditem1.py @@ -333,9 +333,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/dataelementcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/dataelementcontact.py index 813dbc4e..a3c73265 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/dataelementcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/dataelementcontact.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/dataelementmapping.py b/spark_fhir_schemas/dstu2/backbone_elements/dataelementmapping.py index f25c05bb..e8c0b795 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/dataelementmapping.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/dataelementmapping.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/detectedissuemitigation.py b/spark_fhir_schemas/dstu2/backbone_elements/detectedissuemitigation.py index c0240019..b9a11764 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/detectedissuemitigation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/detectedissuemitigation.py @@ -203,9 +203,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/devicecomponentproductionspecification.py b/spark_fhir_schemas/dstu2/backbone_elements/devicecomponentproductionspecification.py index 9781e5b8..6988c2ec 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/devicecomponentproductionspecification.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/devicecomponentproductionspecification.py @@ -190,9 +190,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/devicemetriccalibration.py b/spark_fhir_schemas/dstu2/backbone_elements/devicemetriccalibration.py index ee1923d4..58b557fd 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/devicemetriccalibration.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/devicemetriccalibration.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderevent.py b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderevent.py index bca744c1..5046f839 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderevent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderevent.py @@ -202,9 +202,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderitem.py b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderitem.py index 19c486f7..3b44edaa 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderitem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticorderitem.py @@ -228,9 +228,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticreportimage.py b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticreportimage.py index ea75dade..13180d9c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/diagnosticreportimage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/diagnosticreportimage.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestcontent.py b/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestcontent.py index 3df2392f..c829b915 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestcontent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestcontent.py @@ -174,9 +174,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestrelated.py b/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestrelated.py index 485ad68f..ff039e4e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestrelated.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentmanifestrelated.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontent.py b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontent.py index 2835ab9e..6b7ae0b6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontent.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontext.py b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontext.py index 99fa60bd..e350d115 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontext.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencecontext.py @@ -282,9 +282,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelated.py b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelated.py index 730bb242..6b2c4610 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelated.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelated.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelatesto.py b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelatesto.py index 09cf2120..2d348353 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelatesto.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/documentreferencerelatesto.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbase.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbase.py index eccaea0f..631cfdfb 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbase.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbase.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbinding.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbinding.py index bd595ac8..0f9a608a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbinding.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionbinding.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionconstraint.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionconstraint.py index 7e54d425..439b9a44 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionconstraint.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionconstraint.py @@ -150,9 +150,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionmapping.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionmapping.py index 1491d22c..f701f79c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionmapping.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionmapping.py @@ -134,9 +134,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionslicing.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionslicing.py index 569c644d..28390e30 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionslicing.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitionslicing.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitiontype.py b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitiontype.py index 98bbfde6..6322e9b0 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitiontype.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/elementdefinitiontype.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/encounterhospitalization.py b/spark_fhir_schemas/dstu2/backbone_elements/encounterhospitalization.py index 289f4250..48bc9332 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/encounterhospitalization.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/encounterhospitalization.py @@ -341,9 +341,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/encounterlocation.py b/spark_fhir_schemas/dstu2/backbone_elements/encounterlocation.py index da050af8..4d2d6c41 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/encounterlocation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/encounterlocation.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/encounterparticipant.py b/spark_fhir_schemas/dstu2/backbone_elements/encounterparticipant.py index 275a3f41..0db5951e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/encounterparticipant.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/encounterparticipant.py @@ -201,9 +201,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/encounterstatushistory.py b/spark_fhir_schemas/dstu2/backbone_elements/encounterstatushistory.py index 67615dd8..19821fd4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/encounterstatushistory.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/encounterstatushistory.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarecareteam.py b/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarecareteam.py index 10146704..7364ce9f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarecareteam.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarecareteam.py @@ -203,9 +203,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarestatushistory.py b/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarestatushistory.py index 6d96b5d9..2adff87c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarestatushistory.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/episodeofcarestatushistory.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/familymemberhistorycondition.py b/spark_fhir_schemas/dstu2/backbone_elements/familymemberhistorycondition.py index 5c20e096..4c83195d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/familymemberhistorycondition.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/familymemberhistorycondition.py @@ -261,9 +261,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/goaloutcome.py b/spark_fhir_schemas/dstu2/backbone_elements/goaloutcome.py index 8c6c1e1b..cba3560e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/goaloutcome.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/goaloutcome.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/groupcharacteristic.py b/spark_fhir_schemas/dstu2/backbone_elements/groupcharacteristic.py index 6574444b..a8b6dff6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/groupcharacteristic.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/groupcharacteristic.py @@ -253,9 +253,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/groupmember.py b/spark_fhir_schemas/dstu2/backbone_elements/groupmember.py index 100814b6..a46dfc03 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/groupmember.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/groupmember.py @@ -194,9 +194,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceavailabletime.py b/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceavailabletime.py index 459d61ba..ff72e9e4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceavailabletime.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceavailabletime.py @@ -193,9 +193,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/healthcareservicenotavailable.py b/spark_fhir_schemas/dstu2/backbone_elements/healthcareservicenotavailable.py index b045a793..4cdd0433 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/healthcareservicenotavailable.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/healthcareservicenotavailable.py @@ -161,9 +161,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceservicetype.py b/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceservicetype.py index 32141da1..8ba66367 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceservicetype.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/healthcareserviceservicetype.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionframes.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionframes.py index 1347a9e7..6d1b483e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionframes.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionframes.py @@ -195,9 +195,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectioninstance.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectioninstance.py index b9b0629e..25de4887 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectioninstance.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectioninstance.py @@ -232,9 +232,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionseries.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionseries.py index f0e0c7df..6bb4aa8b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionseries.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionseries.py @@ -218,9 +218,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionstudy.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionstudy.py index 16e4bb3d..cafc8758 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionstudy.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingobjectselectionstudy.py @@ -238,9 +238,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyinstance.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyinstance.py index f924c926..6c06f38b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyinstance.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyinstance.py @@ -233,9 +233,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyseries.py b/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyseries.py index 994ddd20..019bdc13 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyseries.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/imagingstudyseries.py @@ -322,9 +322,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationexplanation.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationexplanation.py index 850609cf..f033ba5a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationexplanation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationexplanation.py @@ -183,9 +183,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationreaction.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationreaction.py index b130bae1..d9b0ab81 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationreaction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationreaction.py @@ -190,9 +190,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationdatecriterion.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationdatecriterion.py index 3eb003e8..4467b2a3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationdatecriterion.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationdatecriterion.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationprotocol.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationprotocol.py index eab73af6..de7aab44 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationprotocol.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationprotocol.py @@ -193,9 +193,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationrecommendation.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationrecommendation.py index bc8aefd5..9ec6fe90 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationrecommendation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationrecommendationrecommendation.py @@ -311,9 +311,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/immunizationvaccinationprotocol.py b/spark_fhir_schemas/dstu2/backbone_elements/immunizationvaccinationprotocol.py index 1947943e..bf68e378 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/immunizationvaccinationprotocol.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/immunizationvaccinationprotocol.py @@ -264,9 +264,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidecontact.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidecontact.py index 52f7a48a..303bd612 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidecontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidecontact.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidedependency.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidedependency.py index 4474c758..4d39328c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidedependency.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidedependency.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguideglobal.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguideglobal.py index 52fabe1b..465af2fb 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguideglobal.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguideglobal.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepackage.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepackage.py index df15ebd6..bd852994 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepackage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepackage.py @@ -175,9 +175,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepage.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepage.py index d6777689..48d3ce9c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguidepage.py @@ -202,9 +202,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/implementationguideresource.py b/spark_fhir_schemas/dstu2/backbone_elements/implementationguideresource.py index 1918d3c1..0debb5f1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/implementationguideresource.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/implementationguideresource.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/listentry.py b/spark_fhir_schemas/dstu2/backbone_elements/listentry.py index c262454a..3b8ba63d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/listentry.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/listentry.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/locationposition.py b/spark_fhir_schemas/dstu2/backbone_elements/locationposition.py index 23f6c59e..dcbc2b03 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/locationposition.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/locationposition.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationadministrationdosage.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationadministrationdosage.py index 47969f85..96eb887d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationadministrationdosage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationadministrationdosage.py @@ -299,9 +299,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationbatch.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationbatch.py index 47a62a78..cf7a5335 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationbatch.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationbatch.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationcontent.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationcontent.py index c1ec19a0..3b7a8337 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationcontent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationcontent.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensedosageinstruction.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensedosageinstruction.py index c3d1d336..649eb0d8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensedosageinstruction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensedosageinstruction.py @@ -394,9 +394,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensesubstitution.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensesubstitution.py index d5600db2..146f2274 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensesubstitution.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationdispensesubstitution.py @@ -211,9 +211,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationingredient.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationingredient.py index f684c331..66738102 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationingredient.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationingredient.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdispenserequest.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdispenserequest.py index dbf21a06..d2fded30 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdispenserequest.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdispenserequest.py @@ -275,9 +275,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdosageinstruction.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdosageinstruction.py index 8e848787..0dd29b19 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdosageinstruction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationorderdosageinstruction.py @@ -398,9 +398,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationordersubstitution.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationordersubstitution.py index 1806621c..234510c6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationordersubstitution.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationordersubstitution.py @@ -183,9 +183,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationpackage.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationpackage.py index bd5140f7..94af30de 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationpackage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationpackage.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationproduct.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationproduct.py index 2534e472..149f4e05 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationproduct.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationproduct.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/medicationstatementdosage.py b/spark_fhir_schemas/dstu2/backbone_elements/medicationstatementdosage.py index 5dadc900..df98e7f4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/medicationstatementdosage.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/medicationstatementdosage.py @@ -409,9 +409,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/messageheaderdestination.py b/spark_fhir_schemas/dstu2/backbone_elements/messageheaderdestination.py index 9188f349..a258df0e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/messageheaderdestination.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/messageheaderdestination.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/messageheaderresponse.py b/spark_fhir_schemas/dstu2/backbone_elements/messageheaderresponse.py index b5d0174a..a7a34786 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/messageheaderresponse.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/messageheaderresponse.py @@ -186,9 +186,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/messageheadersource.py b/spark_fhir_schemas/dstu2/backbone_elements/messageheadersource.py index 2e0f1f96..a472ffd4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/messageheadersource.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/messageheadersource.py @@ -197,9 +197,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/namingsystemcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/namingsystemcontact.py index dac5689e..1bfdccff 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/namingsystemcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/namingsystemcontact.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/namingsystemuniqueid.py b/spark_fhir_schemas/dstu2/backbone_elements/namingsystemuniqueid.py index 3fb598e9..221132a7 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/namingsystemuniqueid.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/namingsystemuniqueid.py @@ -183,9 +183,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderadministration.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderadministration.py index a606a057..edd8998f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderadministration.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderadministration.py @@ -218,9 +218,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderenteralformula.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderenteralformula.py index a89c571c..5a1fb0a2 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderenteralformula.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderenteralformula.py @@ -289,9 +289,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordernutrient.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordernutrient.py index 4c3a9a06..205a2fb6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordernutrient.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordernutrient.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderoraldiet.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderoraldiet.py index 29397c83..5506cd64 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderoraldiet.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionorderoraldiet.py @@ -259,9 +259,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordersupplement.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordersupplement.py index 2bfabf6d..a5046708 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordersupplement.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordersupplement.py @@ -213,9 +213,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordertexture.py b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordertexture.py index 0d45d5b6..2b47139a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/nutritionordertexture.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/nutritionordertexture.py @@ -179,9 +179,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/observationcomponent.py b/spark_fhir_schemas/dstu2/backbone_elements/observationcomponent.py index 59d2cf9c..47e05a34 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/observationcomponent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/observationcomponent.py @@ -373,9 +373,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/observationreferencerange.py b/spark_fhir_schemas/dstu2/backbone_elements/observationreferencerange.py index c4a7950c..d30dada2 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/observationreferencerange.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/observationreferencerange.py @@ -236,9 +236,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/observationrelated.py b/spark_fhir_schemas/dstu2/backbone_elements/observationrelated.py index 5d6cdc0b..d7f0952c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/observationrelated.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/observationrelated.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionbinding.py b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionbinding.py index afc62a36..9c8ce3b8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionbinding.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionbinding.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitioncontact.py b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitioncontact.py index 58624181..7e8ef1e8 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitioncontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitioncontact.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionparameter.py b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionparameter.py index fe5223cb..1afe1c77 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionparameter.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/operationdefinitionparameter.py @@ -239,9 +239,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/operationoutcomeissue.py b/spark_fhir_schemas/dstu2/backbone_elements/operationoutcomeissue.py index f075d0b7..b0b701e1 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/operationoutcomeissue.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/operationoutcomeissue.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/orderwhen.py b/spark_fhir_schemas/dstu2/backbone_elements/orderwhen.py index 3f70a990..5b258099 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/orderwhen.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/orderwhen.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/organizationcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/organizationcontact.py index 70490497..6e24f121 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/organizationcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/organizationcontact.py @@ -226,9 +226,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/parametersparameter.py b/spark_fhir_schemas/dstu2/backbone_elements/parametersparameter.py index 831ae860..1e89b1b4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/parametersparameter.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/parametersparameter.py @@ -800,9 +800,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/patientanimal.py b/spark_fhir_schemas/dstu2/backbone_elements/patientanimal.py index 48136bf1..c6606198 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/patientanimal.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/patientanimal.py @@ -191,9 +191,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/patientcommunication.py b/spark_fhir_schemas/dstu2/backbone_elements/patientcommunication.py index 2b676b0b..af1d14dc 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/patientcommunication.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/patientcommunication.py @@ -177,9 +177,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/patientcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/patientcontact.py index 10362f22..90598317 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/patientcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/patientcontact.py @@ -271,9 +271,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/patientlink.py b/spark_fhir_schemas/dstu2/backbone_elements/patientlink.py index 05e3a57e..5f7fb996 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/patientlink.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/patientlink.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationdetail.py b/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationdetail.py index 6451d575..4ea0796a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationdetail.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationdetail.py @@ -253,9 +253,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationnote.py b/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationnote.py index 5a2a6804..97cc6bf6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationnote.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/paymentreconciliationnote.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/personlink.py b/spark_fhir_schemas/dstu2/backbone_elements/personlink.py index 7ca352aa..cbe9652e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/personlink.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/personlink.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/practitionerpractitionerrole.py b/spark_fhir_schemas/dstu2/backbone_elements/practitionerpractitionerrole.py index f389a0f2..b23bbfae 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/practitionerpractitionerrole.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/practitionerpractitionerrole.py @@ -256,9 +256,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/practitionerqualification.py b/spark_fhir_schemas/dstu2/backbone_elements/practitionerqualification.py index a1b45456..540d684d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/practitionerqualification.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/practitionerqualification.py @@ -218,9 +218,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/procedurefocaldevice.py b/spark_fhir_schemas/dstu2/backbone_elements/procedurefocaldevice.py index 1fb5e8c7..9ea2f807 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/procedurefocaldevice.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/procedurefocaldevice.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/procedureperformer.py b/spark_fhir_schemas/dstu2/backbone_elements/procedureperformer.py index c78d877b..da58ae59 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/procedureperformer.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/procedureperformer.py @@ -180,9 +180,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/processrequestitem.py b/spark_fhir_schemas/dstu2/backbone_elements/processrequestitem.py index ea2161dc..7dd426e3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/processrequestitem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/processrequestitem.py @@ -157,9 +157,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/processresponsenotes.py b/spark_fhir_schemas/dstu2/backbone_elements/processresponsenotes.py index 92b868b3..69ed000a 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/processresponsenotes.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/processresponsenotes.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/provenanceagent.py b/spark_fhir_schemas/dstu2/backbone_elements/provenanceagent.py index 1dbc8502..5d552f25 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/provenanceagent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/provenanceagent.py @@ -238,9 +238,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/provenanceentity.py b/spark_fhir_schemas/dstu2/backbone_elements/provenanceentity.py index 6a7d56da..8780bcf9 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/provenanceentity.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/provenanceentity.py @@ -229,9 +229,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/provenancerelatedagent.py b/spark_fhir_schemas/dstu2/backbone_elements/provenancerelatedagent.py index 5fddbe95..2c636deb 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/provenancerelatedagent.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/provenancerelatedagent.py @@ -194,9 +194,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/questionnairegroup.py b/spark_fhir_schemas/dstu2/backbone_elements/questionnairegroup.py index 120b31c5..e8d07ffd 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/questionnairegroup.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/questionnairegroup.py @@ -238,9 +238,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/questionnairequestion.py b/spark_fhir_schemas/dstu2/backbone_elements/questionnairequestion.py index 7b49610c..046e6b49 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/questionnairequestion.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/questionnairequestion.py @@ -261,9 +261,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponseanswer.py b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponseanswer.py index 95291d6a..29f29da0 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponseanswer.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponseanswer.py @@ -372,9 +372,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsegroup.py b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsegroup.py index 43aec706..4fbdb690 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsegroup.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsegroup.py @@ -217,9 +217,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsequestion.py b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsequestion.py index 42248ad9..e615274e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsequestion.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/questionnaireresponsequestion.py @@ -172,9 +172,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/riskassessmentprediction.py b/spark_fhir_schemas/dstu2/backbone_elements/riskassessmentprediction.py index f58ee5ce..9acbe1b0 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/riskassessmentprediction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/riskassessmentprediction.py @@ -275,9 +275,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/searchparametercontact.py b/spark_fhir_schemas/dstu2/backbone_elements/searchparametercontact.py index 7ee4a639..ba811962 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/searchparametercontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/searchparametercontact.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/specimencollection.py b/spark_fhir_schemas/dstu2/backbone_elements/specimencollection.py index 710bd4cb..094989fc 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/specimencollection.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/specimencollection.py @@ -262,9 +262,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/specimencontainer.py b/spark_fhir_schemas/dstu2/backbone_elements/specimencontainer.py index c4330e4b..e3e30cbe 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/specimencontainer.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/specimencontainer.py @@ -261,9 +261,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/specimentreatment.py b/spark_fhir_schemas/dstu2/backbone_elements/specimentreatment.py index 3b133394..32bcccd3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/specimentreatment.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/specimentreatment.py @@ -181,9 +181,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitioncontact.py b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitioncontact.py index 4c132a37..362ba352 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitioncontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitioncontact.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitiondifferential.py b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitiondifferential.py index fa8d0d50..50760ca4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitiondifferential.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitiondifferential.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionmapping.py b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionmapping.py index 82075faf..ad3ea623 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionmapping.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionmapping.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionsnapshot.py b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionsnapshot.py index 45c82a83..30a5c0d4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionsnapshot.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/structuredefinitionsnapshot.py @@ -163,9 +163,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/subscriptionchannel.py b/spark_fhir_schemas/dstu2/backbone_elements/subscriptionchannel.py index 375cfd77..98c3a7c3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/subscriptionchannel.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/subscriptionchannel.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/substanceingredient.py b/spark_fhir_schemas/dstu2/backbone_elements/substanceingredient.py index 72858dee..8ca07549 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/substanceingredient.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/substanceingredient.py @@ -174,9 +174,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/substanceinstance.py b/spark_fhir_schemas/dstu2/backbone_elements/substanceinstance.py index d44689e8..5003dd3d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/substanceinstance.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/substanceinstance.py @@ -199,9 +199,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/supplyrequestwhen.py b/spark_fhir_schemas/dstu2/backbone_elements/supplyrequestwhen.py index 301e3621..120a135f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/supplyrequestwhen.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/supplyrequestwhen.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction.py index 0347af1a..a256e09f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction1.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction1.py index 5c8c4642..452319b7 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction1.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction2.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction2.py index 0279ef06..4d0e0660 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction2.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptaction2.py @@ -159,9 +159,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptassert.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptassert.py index dff10003..c5911882 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptassert.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptassert.py @@ -243,9 +243,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptcapability.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptcapability.py index 743ded57..d6e9523c 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptcapability.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptcapability.py @@ -225,9 +225,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptcontact.py index 2db4c0aa..189c92fc 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptcontact.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptfixture.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptfixture.py index 2a85b1af..6d34fcc6 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptfixture.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptfixture.py @@ -184,9 +184,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptlink.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptlink.py index da8689be..9225de97 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptlink.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptlink.py @@ -160,9 +160,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptmetadata.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptmetadata.py index 215193b2..4b5fa72d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptmetadata.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptmetadata.py @@ -186,9 +186,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptoperation.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptoperation.py index 15c18f16..39dbf40e 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptoperation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptoperation.py @@ -294,9 +294,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptrequestheader.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptrequestheader.py index 8e16eba6..c26c169f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptrequestheader.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptrequestheader.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptsetup.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptsetup.py index 89483f78..b24d9c51 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptsetup.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptsetup.py @@ -184,9 +184,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptteardown.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptteardown.py index 21a3b760..8d449da2 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptteardown.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptteardown.py @@ -161,9 +161,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscripttest.py b/spark_fhir_schemas/dstu2/backbone_elements/testscripttest.py index a58af9b9..f810230f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscripttest.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscripttest.py @@ -192,9 +192,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/testscriptvariable.py b/spark_fhir_schemas/dstu2/backbone_elements/testscriptvariable.py index 9d00cc51..990d7a27 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/testscriptvariable.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/testscriptvariable.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/timingrepeat.py b/spark_fhir_schemas/dstu2/backbone_elements/timingrepeat.py index 0bd5d268..7e1c5f34 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/timingrepeat.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/timingrepeat.py @@ -310,9 +310,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcodesystem.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcodesystem.py index 18f3ba1a..5359387f 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcodesystem.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcodesystem.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcompose.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcompose.py index 76dd990a..2a7e5042 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcompose.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcompose.py @@ -200,9 +200,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept.py index 48bd309c..eedd7e08 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept.py @@ -214,9 +214,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept1.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept1.py index 3bbf3472..ceccc9c4 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept1.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetconcept1.py @@ -175,9 +175,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontact.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontact.py index bd94be60..7b5d1c2b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontact.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontact.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontains.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontains.py index 9493c7b0..e66bf42b 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontains.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetcontains.py @@ -204,9 +204,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetdesignation.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetdesignation.py index 59b20374..67b27737 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetdesignation.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetdesignation.py @@ -163,9 +163,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetexpansion.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetexpansion.py index 36d87fa5..f747923d 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetexpansion.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetexpansion.py @@ -271,9 +271,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetfilter.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetfilter.py index 3f8cd529..13468341 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetfilter.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetfilter.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetinclude.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetinclude.py index 4b40d191..bfc6b4b3 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetinclude.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetinclude.py @@ -210,9 +210,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/valuesetparameter.py b/spark_fhir_schemas/dstu2/backbone_elements/valuesetparameter.py index deb50867..a6fc2a87 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/valuesetparameter.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/valuesetparameter.py @@ -214,9 +214,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/backbone_elements/visionprescriptiondispense.py b/spark_fhir_schemas/dstu2/backbone_elements/visionprescriptiondispense.py index 0d8a63e1..a1acc777 100644 --- a/spark_fhir_schemas/dstu2/backbone_elements/visionprescriptiondispense.py +++ b/spark_fhir_schemas/dstu2/backbone_elements/visionprescriptiondispense.py @@ -329,9 +329,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/address.py b/spark_fhir_schemas/dstu2/complex_types/address.py index bc6a9c36..26a9ff14 100644 --- a/spark_fhir_schemas/dstu2/complex_types/address.py +++ b/spark_fhir_schemas/dstu2/complex_types/address.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/age.py b/spark_fhir_schemas/dstu2/complex_types/age.py index e72c6c86..a5ce0cdd 100644 --- a/spark_fhir_schemas/dstu2/complex_types/age.py +++ b/spark_fhir_schemas/dstu2/complex_types/age.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/annotation.py b/spark_fhir_schemas/dstu2/complex_types/annotation.py index d2854c09..59f9a5c8 100644 --- a/spark_fhir_schemas/dstu2/complex_types/annotation.py +++ b/spark_fhir_schemas/dstu2/complex_types/annotation.py @@ -154,9 +154,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/attachment.py b/spark_fhir_schemas/dstu2/complex_types/attachment.py index 35df6fb5..bc090b2a 100644 --- a/spark_fhir_schemas/dstu2/complex_types/attachment.py +++ b/spark_fhir_schemas/dstu2/complex_types/attachment.py @@ -221,9 +221,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/backboneelement.py b/spark_fhir_schemas/dstu2/complex_types/backboneelement.py index 9f5867fb..1f1072ee 100644 --- a/spark_fhir_schemas/dstu2/complex_types/backboneelement.py +++ b/spark_fhir_schemas/dstu2/complex_types/backboneelement.py @@ -142,9 +142,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/codeableconcept.py b/spark_fhir_schemas/dstu2/complex_types/codeableconcept.py index b792f9a3..50b115b3 100644 --- a/spark_fhir_schemas/dstu2/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/dstu2/complex_types/codeableconcept.py @@ -138,9 +138,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/coding.py b/spark_fhir_schemas/dstu2/complex_types/coding.py index 62822116..1425961f 100644 --- a/spark_fhir_schemas/dstu2/complex_types/coding.py +++ b/spark_fhir_schemas/dstu2/complex_types/coding.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/contactpoint.py b/spark_fhir_schemas/dstu2/complex_types/contactpoint.py index 1b35a294..63343630 100644 --- a/spark_fhir_schemas/dstu2/complex_types/contactpoint.py +++ b/spark_fhir_schemas/dstu2/complex_types/contactpoint.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/count.py b/spark_fhir_schemas/dstu2/complex_types/count.py index fbd29257..612bde37 100644 --- a/spark_fhir_schemas/dstu2/complex_types/count.py +++ b/spark_fhir_schemas/dstu2/complex_types/count.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/distance.py b/spark_fhir_schemas/dstu2/complex_types/distance.py index 227759bc..e7005c8b 100644 --- a/spark_fhir_schemas/dstu2/complex_types/distance.py +++ b/spark_fhir_schemas/dstu2/complex_types/distance.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/duration.py b/spark_fhir_schemas/dstu2/complex_types/duration.py index dba92ed5..c9351c0e 100644 --- a/spark_fhir_schemas/dstu2/complex_types/duration.py +++ b/spark_fhir_schemas/dstu2/complex_types/duration.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/element.py b/spark_fhir_schemas/dstu2/complex_types/element.py index 0beb8f6e..17edcee5 100644 --- a/spark_fhir_schemas/dstu2/complex_types/element.py +++ b/spark_fhir_schemas/dstu2/complex_types/element.py @@ -107,9 +107,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/elementdefinition.py b/spark_fhir_schemas/dstu2/complex_types/elementdefinition.py index 2353b8ad..baed5af6 100644 --- a/spark_fhir_schemas/dstu2/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/dstu2/complex_types/elementdefinition.py @@ -3546,9 +3546,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/extension.py b/spark_fhir_schemas/dstu2/complex_types/extension.py index 9523e2b5..20a98ddf 100644 --- a/spark_fhir_schemas/dstu2/complex_types/extension.py +++ b/spark_fhir_schemas/dstu2/complex_types/extension.py @@ -718,9 +718,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/humanname.py b/spark_fhir_schemas/dstu2/complex_types/humanname.py index 45b5ad08..796048f7 100644 --- a/spark_fhir_schemas/dstu2/complex_types/humanname.py +++ b/spark_fhir_schemas/dstu2/complex_types/humanname.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/identifier.py b/spark_fhir_schemas/dstu2/complex_types/identifier.py index 9c5f9909..7a252486 100644 --- a/spark_fhir_schemas/dstu2/complex_types/identifier.py +++ b/spark_fhir_schemas/dstu2/complex_types/identifier.py @@ -198,9 +198,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/meta.py b/spark_fhir_schemas/dstu2/complex_types/meta.py index 7f3418eb..bb7f4a29 100644 --- a/spark_fhir_schemas/dstu2/complex_types/meta.py +++ b/spark_fhir_schemas/dstu2/complex_types/meta.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/money.py b/spark_fhir_schemas/dstu2/complex_types/money.py index cabac8da..f7e85b50 100644 --- a/spark_fhir_schemas/dstu2/complex_types/money.py +++ b/spark_fhir_schemas/dstu2/complex_types/money.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/narrative.py b/spark_fhir_schemas/dstu2/complex_types/narrative.py index cf4f25d9..d3e05bfb 100644 --- a/spark_fhir_schemas/dstu2/complex_types/narrative.py +++ b/spark_fhir_schemas/dstu2/complex_types/narrative.py @@ -136,9 +136,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/period.py b/spark_fhir_schemas/dstu2/complex_types/period.py index 7fea63a9..b68866a7 100644 --- a/spark_fhir_schemas/dstu2/complex_types/period.py +++ b/spark_fhir_schemas/dstu2/complex_types/period.py @@ -146,9 +146,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/quantity.py b/spark_fhir_schemas/dstu2/complex_types/quantity.py index 5acc916d..3b7d7de4 100644 --- a/spark_fhir_schemas/dstu2/complex_types/quantity.py +++ b/spark_fhir_schemas/dstu2/complex_types/quantity.py @@ -167,9 +167,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/range.py b/spark_fhir_schemas/dstu2/complex_types/range.py index 20b16568..18de2cf3 100644 --- a/spark_fhir_schemas/dstu2/complex_types/range.py +++ b/spark_fhir_schemas/dstu2/complex_types/range.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/ratio.py b/spark_fhir_schemas/dstu2/complex_types/ratio.py index a353eeae..41d1c0ae 100644 --- a/spark_fhir_schemas/dstu2/complex_types/ratio.py +++ b/spark_fhir_schemas/dstu2/complex_types/ratio.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/reference.py b/spark_fhir_schemas/dstu2/complex_types/reference.py index a2b826b0..5eba6b66 100644 --- a/spark_fhir_schemas/dstu2/complex_types/reference.py +++ b/spark_fhir_schemas/dstu2/complex_types/reference.py @@ -126,9 +126,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/resourcecontainer.py b/spark_fhir_schemas/dstu2/complex_types/resourcecontainer.py index c791a45e..1c3213a4 100644 --- a/spark_fhir_schemas/dstu2/complex_types/resourcecontainer.py +++ b/spark_fhir_schemas/dstu2/complex_types/resourcecontainer.py @@ -95,9 +95,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/sampleddata.py b/spark_fhir_schemas/dstu2/complex_types/sampleddata.py index 4bfa99ee..a6ddbd8c 100644 --- a/spark_fhir_schemas/dstu2/complex_types/sampleddata.py +++ b/spark_fhir_schemas/dstu2/complex_types/sampleddata.py @@ -236,9 +236,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/signature.py b/spark_fhir_schemas/dstu2/complex_types/signature.py index 07e690fa..aebdaa33 100644 --- a/spark_fhir_schemas/dstu2/complex_types/signature.py +++ b/spark_fhir_schemas/dstu2/complex_types/signature.py @@ -226,9 +226,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/simplequantity.py b/spark_fhir_schemas/dstu2/complex_types/simplequantity.py index 1ca2b5ff..67a63999 100644 --- a/spark_fhir_schemas/dstu2/complex_types/simplequantity.py +++ b/spark_fhir_schemas/dstu2/complex_types/simplequantity.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/complex_types/timing.py b/spark_fhir_schemas/dstu2/complex_types/timing.py index 31dae1c0..f1abd55f 100644 --- a/spark_fhir_schemas/dstu2/complex_types/timing.py +++ b/spark_fhir_schemas/dstu2/complex_types/timing.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/fhir_xml_schema_parser.py b/spark_fhir_schemas/dstu2/fhir_xml_schema_parser.py index 4ff2365a..c4dd6c0e 100644 --- a/spark_fhir_schemas/dstu2/fhir_xml_schema_parser.py +++ b/spark_fhir_schemas/dstu2/fhir_xml_schema_parser.py @@ -446,9 +446,9 @@ def generate_classes(filter_to_resource: Optional[str] = None) -> List[FhirEntit def process_types_for_codeable_concepts( fhir_entities: List[FhirEntity], value_sets: List[FhirValueSet] ) -> None: - codeable_types: List[ - FhirCodeableType - ] = FhirXmlSchemaParser.get_types_for_codeable_concepts() + codeable_types: List[FhirCodeableType] = ( + FhirXmlSchemaParser.get_types_for_codeable_concepts() + ) codeable_type: FhirCodeableType for codeable_type in codeable_types: name_parts: List[str] = codeable_type.path.split(".") @@ -584,9 +584,9 @@ def process_types_for_codeable_concepts( @staticmethod def process_types_for_references(fhir_entities: List[FhirEntity]) -> None: - references: List[ - FhirReferenceType - ] = FhirXmlSchemaParser.get_types_for_references() + references: List[FhirReferenceType] = ( + FhirXmlSchemaParser.get_types_for_references() + ) reference: FhirReferenceType for reference in references: name_parts: List[str] = reference.path.split(".") @@ -657,17 +657,21 @@ def process_types_for_references(fhir_entities: List[FhirEntity]) -> None: fhir_property.reference_target_resources = [ SmartName( name=c, - cleaned_name=FhirXmlSchemaParser.cleaned_type_mapping[c] - if c in FhirXmlSchemaParser.cleaned_type_mapping - else c, + cleaned_name=( + FhirXmlSchemaParser.cleaned_type_mapping[c] + if c in FhirXmlSchemaParser.cleaned_type_mapping + else c + ), snake_case_name=FhirXmlSchemaParser.camel_to_snake(c), ) for c in reference.target_resources ] fhir_property.reference_target_resources_names = [ - FhirXmlSchemaParser.cleaned_type_mapping[c.name] - if c.name in FhirXmlSchemaParser.cleaned_type_mapping - else c.name + ( + FhirXmlSchemaParser.cleaned_type_mapping[c.name] + if c.name in FhirXmlSchemaParser.cleaned_type_mapping + else c.name + ) for c in fhir_property.reference_target_resources ] @@ -832,9 +836,9 @@ def _generate_classes_for_resource(resource_xsd_file: Path) -> List[FhirEntity]: type_=entity_type, documentation=documentation_entries, properties=fhir_properties, - is_back_bone_element="." in complex_type_name - if complex_type_name - else False, + is_back_bone_element=( + "." in complex_type_name if complex_type_name else False + ), base_type=base_type, base_type_list=[base_type] if base_type else [], source=str(resource_xsd_file.parts[-1]), @@ -848,9 +852,9 @@ def _generate_classes_for_resource(resource_xsd_file: Path) -> List[FhirEntity]: type_=entity_type.replace("-primitive", ""), documentation=documentation_entries, properties=[], - is_back_bone_element="." in complex_type_name - if complex_type_name - else False, + is_back_bone_element=( + "." in complex_type_name if complex_type_name else False + ), base_type=base_type, base_type_list=[base_type] if base_type else [], source=str(resource_xsd_file.parts[-1]), @@ -944,12 +948,18 @@ def generate_properties_for_class( property_name ), type_=property_type, - cleaned_type=cleaned_type - if cleaned_type not in FhirXmlSchemaParser.cleaned_type_mapping - else FhirXmlSchemaParser.cleaned_type_mapping[cleaned_type], - type_snake_case=FhirXmlSchemaParser.camel_to_snake(cleaned_type) - if cleaned_type not in FhirXmlSchemaParser.cleaned_type_mapping - else FhirXmlSchemaParser.camel_to_snake(cleaned_type), + cleaned_type=( + cleaned_type + if cleaned_type + not in FhirXmlSchemaParser.cleaned_type_mapping + else FhirXmlSchemaParser.cleaned_type_mapping[cleaned_type] + ), + type_snake_case=( + FhirXmlSchemaParser.camel_to_snake(cleaned_type) + if cleaned_type + not in FhirXmlSchemaParser.cleaned_type_mapping + else FhirXmlSchemaParser.camel_to_snake(cleaned_type) + ), optional=optional, is_list=is_list, documentation=[property_documentation], @@ -1139,7 +1149,9 @@ def get_types_for_codeable_concepts() -> List[FhirCodeableType]: if hasattr(binding, "extension") else [] ) - url: str = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" + url: str = ( + "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" + ) value_set_url = ( binding["valueSet"].get("value") if hasattr(binding, "valueSet") @@ -1176,13 +1188,13 @@ def get_value_sets() -> List[FhirValueSet]: fhir_value_sets: List[FhirValueSet] = [] - fhir_v3_code_systems: List[ - FhirValueSet - ] = FhirXmlSchemaParser.get_v3_code_systems(data_dir) + fhir_v3_code_systems: List[FhirValueSet] = ( + FhirXmlSchemaParser.get_v3_code_systems(data_dir) + ) - fhir_v2_code_systems: List[ - FhirValueSet - ] = FhirXmlSchemaParser.get_v2_code_systems(data_dir) + fhir_v2_code_systems: List[FhirValueSet] = ( + FhirXmlSchemaParser.get_v2_code_systems(data_dir) + ) value_sets_file: Path = ( data_dir.joinpath("xsd") @@ -1391,9 +1403,11 @@ def get_v3_code_systems(data_dir: Path) -> List[FhirValueSet]: value_set: ObjectifiedElement = ( value_set_entry_resource["ValueSet"] if is_value_set - else value_set_entry_resource["CodeSystem"] - if is_code_system - else value_set_entry["resource"] + else ( + value_set_entry_resource["CodeSystem"] + if is_code_system + else value_set_entry["resource"] + ) ) id_: str = value_set["id"].get("value") fhir_name: str = value_set["name"].get("value") @@ -1457,9 +1471,11 @@ def get_v3_code_systems(data_dir: Path) -> List[FhirValueSet]: value_set = ( value_set_entry_resource["ValueSet"] if is_value_set - else value_set_entry_resource["CodeSystem"] - if is_code_system - else value_set_entry["resource"] + else ( + value_set_entry_resource["CodeSystem"] + if is_code_system + else value_set_entry["resource"] + ) ) id_ = value_set["id"].get("value") url = value_set["url"].get("value") @@ -1544,9 +1560,11 @@ def get_v2_code_systems(data_dir: Path) -> List[FhirValueSet]: value_set: ObjectifiedElement = ( value_set_entry_resource.ValueSet if is_value_set - else value_set_entry_resource.CodeSystem - if is_code_system - else value_set_entry_resource + else ( + value_set_entry_resource.CodeSystem + if is_code_system + else value_set_entry_resource + ) ) id_: str = value_set.id.get("value") fhir_name: str = value_set.name.get("value") diff --git a/spark_fhir_schemas/dstu2/resources/account.py b/spark_fhir_schemas/dstu2/resources/account.py index 8793c2b2..42043a09 100644 --- a/spark_fhir_schemas/dstu2/resources/account.py +++ b/spark_fhir_schemas/dstu2/resources/account.py @@ -419,9 +419,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/allergyintolerance.py b/spark_fhir_schemas/dstu2/resources/allergyintolerance.py index 4c186c02..b478d1e3 100644 --- a/spark_fhir_schemas/dstu2/resources/allergyintolerance.py +++ b/spark_fhir_schemas/dstu2/resources/allergyintolerance.py @@ -465,9 +465,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/appointment.py b/spark_fhir_schemas/dstu2/resources/appointment.py index 3049a69e..f3a7f0fb 100644 --- a/spark_fhir_schemas/dstu2/resources/appointment.py +++ b/spark_fhir_schemas/dstu2/resources/appointment.py @@ -463,9 +463,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/appointmentresponse.py b/spark_fhir_schemas/dstu2/resources/appointmentresponse.py index b7a2a84c..ae4d0bdf 100644 --- a/spark_fhir_schemas/dstu2/resources/appointmentresponse.py +++ b/spark_fhir_schemas/dstu2/resources/appointmentresponse.py @@ -385,9 +385,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/auditevent.py b/spark_fhir_schemas/dstu2/resources/auditevent.py index e94d9ea5..c266f7e9 100644 --- a/spark_fhir_schemas/dstu2/resources/auditevent.py +++ b/spark_fhir_schemas/dstu2/resources/auditevent.py @@ -337,9 +337,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/basic.py b/spark_fhir_schemas/dstu2/resources/basic.py index 880890a6..b4008fda 100644 --- a/spark_fhir_schemas/dstu2/resources/basic.py +++ b/spark_fhir_schemas/dstu2/resources/basic.py @@ -341,9 +341,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/binary.py b/spark_fhir_schemas/dstu2/resources/binary.py index ae5c7f92..06094e5b 100644 --- a/spark_fhir_schemas/dstu2/resources/binary.py +++ b/spark_fhir_schemas/dstu2/resources/binary.py @@ -151,9 +151,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/bodysite.py b/spark_fhir_schemas/dstu2/resources/bodysite.py index 012c96ef..35e0e41e 100644 --- a/spark_fhir_schemas/dstu2/resources/bodysite.py +++ b/spark_fhir_schemas/dstu2/resources/bodysite.py @@ -354,9 +354,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/bundle.py b/spark_fhir_schemas/dstu2/resources/bundle.py index d877f8b2..7055fb65 100644 --- a/spark_fhir_schemas/dstu2/resources/bundle.py +++ b/spark_fhir_schemas/dstu2/resources/bundle.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/careplan.py b/spark_fhir_schemas/dstu2/resources/careplan.py index ac771d26..db2de377 100644 --- a/spark_fhir_schemas/dstu2/resources/careplan.py +++ b/spark_fhir_schemas/dstu2/resources/careplan.py @@ -558,9 +558,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/claim.py b/spark_fhir_schemas/dstu2/resources/claim.py index 9195062f..4514f61e 100644 --- a/spark_fhir_schemas/dstu2/resources/claim.py +++ b/spark_fhir_schemas/dstu2/resources/claim.py @@ -742,9 +742,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/claimresponse.py b/spark_fhir_schemas/dstu2/resources/claimresponse.py index 1440e1f4..6e75b8a0 100644 --- a/spark_fhir_schemas/dstu2/resources/claimresponse.py +++ b/spark_fhir_schemas/dstu2/resources/claimresponse.py @@ -695,9 +695,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/clinicalimpression.py b/spark_fhir_schemas/dstu2/resources/clinicalimpression.py index 5a102c12..0ea3de05 100644 --- a/spark_fhir_schemas/dstu2/resources/clinicalimpression.py +++ b/spark_fhir_schemas/dstu2/resources/clinicalimpression.py @@ -555,9 +555,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/communication.py b/spark_fhir_schemas/dstu2/resources/communication.py index 5f0aef06..442637ec 100644 --- a/spark_fhir_schemas/dstu2/resources/communication.py +++ b/spark_fhir_schemas/dstu2/resources/communication.py @@ -495,9 +495,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/communicationrequest.py b/spark_fhir_schemas/dstu2/resources/communicationrequest.py index bec21ceb..294f4ada 100644 --- a/spark_fhir_schemas/dstu2/resources/communicationrequest.py +++ b/spark_fhir_schemas/dstu2/resources/communicationrequest.py @@ -526,9 +526,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/composition.py b/spark_fhir_schemas/dstu2/resources/composition.py index 20927e52..befdb42f 100644 --- a/spark_fhir_schemas/dstu2/resources/composition.py +++ b/spark_fhir_schemas/dstu2/resources/composition.py @@ -507,9 +507,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/conceptmap.py b/spark_fhir_schemas/dstu2/resources/conceptmap.py index ddac02dd..20ae44df 100644 --- a/spark_fhir_schemas/dstu2/resources/conceptmap.py +++ b/spark_fhir_schemas/dstu2/resources/conceptmap.py @@ -504,9 +504,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/condition.py b/spark_fhir_schemas/dstu2/resources/condition.py index 0491a218..d26c2bce 100644 --- a/spark_fhir_schemas/dstu2/resources/condition.py +++ b/spark_fhir_schemas/dstu2/resources/condition.py @@ -621,9 +621,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/conformance.py b/spark_fhir_schemas/dstu2/resources/conformance.py index 4ab79698..808bc678 100644 --- a/spark_fhir_schemas/dstu2/resources/conformance.py +++ b/spark_fhir_schemas/dstu2/resources/conformance.py @@ -561,9 +561,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/contract.py b/spark_fhir_schemas/dstu2/resources/contract.py index 7861f3a2..bee718b9 100644 --- a/spark_fhir_schemas/dstu2/resources/contract.py +++ b/spark_fhir_schemas/dstu2/resources/contract.py @@ -664,9 +664,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/coverage.py b/spark_fhir_schemas/dstu2/resources/coverage.py index 145a7e8b..3fa4cc06 100644 --- a/spark_fhir_schemas/dstu2/resources/coverage.py +++ b/spark_fhir_schemas/dstu2/resources/coverage.py @@ -481,9 +481,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/dataelement.py b/spark_fhir_schemas/dstu2/resources/dataelement.py index 01ef8624..58741fd2 100644 --- a/spark_fhir_schemas/dstu2/resources/dataelement.py +++ b/spark_fhir_schemas/dstu2/resources/dataelement.py @@ -461,9 +461,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/detectedissue.py b/spark_fhir_schemas/dstu2/resources/detectedissue.py index 269e5109..d5d2a325 100644 --- a/spark_fhir_schemas/dstu2/resources/detectedissue.py +++ b/spark_fhir_schemas/dstu2/resources/detectedissue.py @@ -420,9 +420,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/device.py b/spark_fhir_schemas/dstu2/resources/device.py index 9c7152b6..5dba73fc 100644 --- a/spark_fhir_schemas/dstu2/resources/device.py +++ b/spark_fhir_schemas/dstu2/resources/device.py @@ -488,9 +488,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/devicecomponent.py b/spark_fhir_schemas/dstu2/resources/devicecomponent.py index 6b3b23c8..50cb053d 100644 --- a/spark_fhir_schemas/dstu2/resources/devicecomponent.py +++ b/spark_fhir_schemas/dstu2/resources/devicecomponent.py @@ -437,9 +437,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/devicemetric.py b/spark_fhir_schemas/dstu2/resources/devicemetric.py index 4796cd61..492ad472 100644 --- a/spark_fhir_schemas/dstu2/resources/devicemetric.py +++ b/spark_fhir_schemas/dstu2/resources/devicemetric.py @@ -439,9 +439,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/deviceuserequest.py b/spark_fhir_schemas/dstu2/resources/deviceuserequest.py index 4f1acf7d..04c84463 100644 --- a/spark_fhir_schemas/dstu2/resources/deviceuserequest.py +++ b/spark_fhir_schemas/dstu2/resources/deviceuserequest.py @@ -498,9 +498,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/deviceusestatement.py b/spark_fhir_schemas/dstu2/resources/deviceusestatement.py index 8445591b..6abcdef2 100644 --- a/spark_fhir_schemas/dstu2/resources/deviceusestatement.py +++ b/spark_fhir_schemas/dstu2/resources/deviceusestatement.py @@ -456,9 +456,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/diagnosticorder.py b/spark_fhir_schemas/dstu2/resources/diagnosticorder.py index 4d77f5b9..ef2d5422 100644 --- a/spark_fhir_schemas/dstu2/resources/diagnosticorder.py +++ b/spark_fhir_schemas/dstu2/resources/diagnosticorder.py @@ -481,9 +481,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/diagnosticreport.py b/spark_fhir_schemas/dstu2/resources/diagnosticreport.py index 3ff48e94..d233cf63 100644 --- a/spark_fhir_schemas/dstu2/resources/diagnosticreport.py +++ b/spark_fhir_schemas/dstu2/resources/diagnosticreport.py @@ -593,9 +593,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/documentmanifest.py b/spark_fhir_schemas/dstu2/resources/documentmanifest.py index e8610d92..1513b910 100644 --- a/spark_fhir_schemas/dstu2/resources/documentmanifest.py +++ b/spark_fhir_schemas/dstu2/resources/documentmanifest.py @@ -475,9 +475,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/documentreference.py b/spark_fhir_schemas/dstu2/resources/documentreference.py index fb5640d4..4f8024ab 100644 --- a/spark_fhir_schemas/dstu2/resources/documentreference.py +++ b/spark_fhir_schemas/dstu2/resources/documentreference.py @@ -569,9 +569,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/domainresource.py b/spark_fhir_schemas/dstu2/resources/domainresource.py index cf48dd54..8488ae5d 100644 --- a/spark_fhir_schemas/dstu2/resources/domainresource.py +++ b/spark_fhir_schemas/dstu2/resources/domainresource.py @@ -243,9 +243,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/eligibilityrequest.py b/spark_fhir_schemas/dstu2/resources/eligibilityrequest.py index 281ca1ff..e7385371 100644 --- a/spark_fhir_schemas/dstu2/resources/eligibilityrequest.py +++ b/spark_fhir_schemas/dstu2/resources/eligibilityrequest.py @@ -379,9 +379,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/eligibilityresponse.py b/spark_fhir_schemas/dstu2/resources/eligibilityresponse.py index 6b0822cc..7014930d 100644 --- a/spark_fhir_schemas/dstu2/resources/eligibilityresponse.py +++ b/spark_fhir_schemas/dstu2/resources/eligibilityresponse.py @@ -401,9 +401,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/encounter.py b/spark_fhir_schemas/dstu2/resources/encounter.py index c2383fef..449928a6 100644 --- a/spark_fhir_schemas/dstu2/resources/encounter.py +++ b/spark_fhir_schemas/dstu2/resources/encounter.py @@ -618,9 +618,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/enrollmentrequest.py b/spark_fhir_schemas/dstu2/resources/enrollmentrequest.py index a2918ba3..30ad6849 100644 --- a/spark_fhir_schemas/dstu2/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/dstu2/resources/enrollmentrequest.py @@ -427,9 +427,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/enrollmentresponse.py b/spark_fhir_schemas/dstu2/resources/enrollmentresponse.py index 5e85eeb5..5e8275f7 100644 --- a/spark_fhir_schemas/dstu2/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/dstu2/resources/enrollmentresponse.py @@ -401,9 +401,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/episodeofcare.py b/spark_fhir_schemas/dstu2/resources/episodeofcare.py index 68626e71..25dd3cf3 100644 --- a/spark_fhir_schemas/dstu2/resources/episodeofcare.py +++ b/spark_fhir_schemas/dstu2/resources/episodeofcare.py @@ -462,9 +462,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/explanationofbenefit.py b/spark_fhir_schemas/dstu2/resources/explanationofbenefit.py index f1ef97f3..a11f254c 100644 --- a/spark_fhir_schemas/dstu2/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/dstu2/resources/explanationofbenefit.py @@ -403,9 +403,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/familymemberhistory.py b/spark_fhir_schemas/dstu2/resources/familymemberhistory.py index 93801a2b..90d54210 100644 --- a/spark_fhir_schemas/dstu2/resources/familymemberhistory.py +++ b/spark_fhir_schemas/dstu2/resources/familymemberhistory.py @@ -515,9 +515,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/flag.py b/spark_fhir_schemas/dstu2/resources/flag.py index 519b44c2..73deed86 100644 --- a/spark_fhir_schemas/dstu2/resources/flag.py +++ b/spark_fhir_schemas/dstu2/resources/flag.py @@ -385,9 +385,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/goal.py b/spark_fhir_schemas/dstu2/resources/goal.py index 3203b7d8..41a10597 100644 --- a/spark_fhir_schemas/dstu2/resources/goal.py +++ b/spark_fhir_schemas/dstu2/resources/goal.py @@ -494,9 +494,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/group.py b/spark_fhir_schemas/dstu2/resources/group.py index c2c325bf..49be7b75 100644 --- a/spark_fhir_schemas/dstu2/resources/group.py +++ b/spark_fhir_schemas/dstu2/resources/group.py @@ -379,9 +379,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/healthcareservice.py b/spark_fhir_schemas/dstu2/resources/healthcareservice.py index ee4ecae1..cf123e21 100644 --- a/spark_fhir_schemas/dstu2/resources/healthcareservice.py +++ b/spark_fhir_schemas/dstu2/resources/healthcareservice.py @@ -582,9 +582,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/imagingobjectselection.py b/spark_fhir_schemas/dstu2/resources/imagingobjectselection.py index 51c8009e..6345be85 100644 --- a/spark_fhir_schemas/dstu2/resources/imagingobjectselection.py +++ b/spark_fhir_schemas/dstu2/resources/imagingobjectselection.py @@ -409,9 +409,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/imagingstudy.py b/spark_fhir_schemas/dstu2/resources/imagingstudy.py index c8a3ec24..af72ffb5 100644 --- a/spark_fhir_schemas/dstu2/resources/imagingstudy.py +++ b/spark_fhir_schemas/dstu2/resources/imagingstudy.py @@ -530,9 +530,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/immunization.py b/spark_fhir_schemas/dstu2/resources/immunization.py index c0dd96b8..3794f26a 100644 --- a/spark_fhir_schemas/dstu2/resources/immunization.py +++ b/spark_fhir_schemas/dstu2/resources/immunization.py @@ -583,9 +583,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/immunizationrecommendation.py b/spark_fhir_schemas/dstu2/resources/immunizationrecommendation.py index f32a7a27..35c4286e 100644 --- a/spark_fhir_schemas/dstu2/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/dstu2/resources/immunizationrecommendation.py @@ -312,9 +312,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/implementationguide.py b/spark_fhir_schemas/dstu2/resources/implementationguide.py index 3f13d29e..81b9a4ba 100644 --- a/spark_fhir_schemas/dstu2/resources/implementationguide.py +++ b/spark_fhir_schemas/dstu2/resources/implementationguide.py @@ -532,9 +532,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/list.py b/spark_fhir_schemas/dstu2/resources/list.py index 7239dc26..43da4995 100644 --- a/spark_fhir_schemas/dstu2/resources/list.py +++ b/spark_fhir_schemas/dstu2/resources/list.py @@ -433,9 +433,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/location.py b/spark_fhir_schemas/dstu2/resources/location.py index 8d3026bb..90ad1cc6 100644 --- a/spark_fhir_schemas/dstu2/resources/location.py +++ b/spark_fhir_schemas/dstu2/resources/location.py @@ -425,9 +425,11 @@ class of locations. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/media.py b/spark_fhir_schemas/dstu2/resources/media.py index 9b9b88bb..15742da7 100644 --- a/spark_fhir_schemas/dstu2/resources/media.py +++ b/spark_fhir_schemas/dstu2/resources/media.py @@ -456,9 +456,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/medication.py b/spark_fhir_schemas/dstu2/resources/medication.py index 872f4e05..a085f60c 100644 --- a/spark_fhir_schemas/dstu2/resources/medication.py +++ b/spark_fhir_schemas/dstu2/resources/medication.py @@ -347,9 +347,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/medicationadministration.py b/spark_fhir_schemas/dstu2/resources/medicationadministration.py index a5f28754..f77dc844 100644 --- a/spark_fhir_schemas/dstu2/resources/medicationadministration.py +++ b/spark_fhir_schemas/dstu2/resources/medicationadministration.py @@ -535,9 +535,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/medicationdispense.py b/spark_fhir_schemas/dstu2/resources/medicationdispense.py index 224f10a7..8da546be 100644 --- a/spark_fhir_schemas/dstu2/resources/medicationdispense.py +++ b/spark_fhir_schemas/dstu2/resources/medicationdispense.py @@ -556,9 +556,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/medicationorder.py b/spark_fhir_schemas/dstu2/resources/medicationorder.py index 075e3ebc..4f473775 100644 --- a/spark_fhir_schemas/dstu2/resources/medicationorder.py +++ b/spark_fhir_schemas/dstu2/resources/medicationorder.py @@ -562,9 +562,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/medicationstatement.py b/spark_fhir_schemas/dstu2/resources/medicationstatement.py index c8db1fba..1deea2d6 100644 --- a/spark_fhir_schemas/dstu2/resources/medicationstatement.py +++ b/spark_fhir_schemas/dstu2/resources/medicationstatement.py @@ -561,9 +561,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/messageheader.py b/spark_fhir_schemas/dstu2/resources/messageheader.py index b85e790b..646a13c0 100644 --- a/spark_fhir_schemas/dstu2/resources/messageheader.py +++ b/spark_fhir_schemas/dstu2/resources/messageheader.py @@ -488,9 +488,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/namingsystem.py b/spark_fhir_schemas/dstu2/resources/namingsystem.py index 9c432b35..f6a229cb 100644 --- a/spark_fhir_schemas/dstu2/resources/namingsystem.py +++ b/spark_fhir_schemas/dstu2/resources/namingsystem.py @@ -417,9 +417,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/nutritionorder.py b/spark_fhir_schemas/dstu2/resources/nutritionorder.py index 47d80dfd..0f680751 100644 --- a/spark_fhir_schemas/dstu2/resources/nutritionorder.py +++ b/spark_fhir_schemas/dstu2/resources/nutritionorder.py @@ -503,9 +503,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/observation.py b/spark_fhir_schemas/dstu2/resources/observation.py index edf56789..68a8bca8 100644 --- a/spark_fhir_schemas/dstu2/resources/observation.py +++ b/spark_fhir_schemas/dstu2/resources/observation.py @@ -793,9 +793,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/operationdefinition.py b/spark_fhir_schemas/dstu2/resources/operationdefinition.py index 05c3a5ee..7da44692 100644 --- a/spark_fhir_schemas/dstu2/resources/operationdefinition.py +++ b/spark_fhir_schemas/dstu2/resources/operationdefinition.py @@ -436,9 +436,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/operationoutcome.py b/spark_fhir_schemas/dstu2/resources/operationoutcome.py index ff6f0c67..91cdd584 100644 --- a/spark_fhir_schemas/dstu2/resources/operationoutcome.py +++ b/spark_fhir_schemas/dstu2/resources/operationoutcome.py @@ -270,9 +270,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/order.py b/spark_fhir_schemas/dstu2/resources/order.py index 5609eca7..3de358e5 100644 --- a/spark_fhir_schemas/dstu2/resources/order.py +++ b/spark_fhir_schemas/dstu2/resources/order.py @@ -409,9 +409,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/orderresponse.py b/spark_fhir_schemas/dstu2/resources/orderresponse.py index 93229598..cef240f9 100644 --- a/spark_fhir_schemas/dstu2/resources/orderresponse.py +++ b/spark_fhir_schemas/dstu2/resources/orderresponse.py @@ -354,9 +354,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/organization.py b/spark_fhir_schemas/dstu2/resources/organization.py index 0dd3f640..3e54f1b3 100644 --- a/spark_fhir_schemas/dstu2/resources/organization.py +++ b/spark_fhir_schemas/dstu2/resources/organization.py @@ -394,9 +394,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/parameters.py b/spark_fhir_schemas/dstu2/resources/parameters.py index 7983f0c1..700c2812 100644 --- a/spark_fhir_schemas/dstu2/resources/parameters.py +++ b/spark_fhir_schemas/dstu2/resources/parameters.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/patient.py b/spark_fhir_schemas/dstu2/resources/patient.py index a287f4a0..4d96bf63 100644 --- a/spark_fhir_schemas/dstu2/resources/patient.py +++ b/spark_fhir_schemas/dstu2/resources/patient.py @@ -568,9 +568,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/paymentnotice.py b/spark_fhir_schemas/dstu2/resources/paymentnotice.py index 60a5dc4c..2c9161fb 100644 --- a/spark_fhir_schemas/dstu2/resources/paymentnotice.py +++ b/spark_fhir_schemas/dstu2/resources/paymentnotice.py @@ -427,9 +427,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/paymentreconciliation.py b/spark_fhir_schemas/dstu2/resources/paymentreconciliation.py index 9c082b34..e0844c11 100644 --- a/spark_fhir_schemas/dstu2/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/dstu2/resources/paymentreconciliation.py @@ -503,9 +503,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/person.py b/spark_fhir_schemas/dstu2/resources/person.py index 103f5e6f..e9ac385e 100644 --- a/spark_fhir_schemas/dstu2/resources/person.py +++ b/spark_fhir_schemas/dstu2/resources/person.py @@ -412,9 +412,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/practitioner.py b/spark_fhir_schemas/dstu2/resources/practitioner.py index c1a5d6ec..23ebd2db 100644 --- a/spark_fhir_schemas/dstu2/resources/practitioner.py +++ b/spark_fhir_schemas/dstu2/resources/practitioner.py @@ -444,9 +444,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/procedure.py b/spark_fhir_schemas/dstu2/resources/procedure.py index 228bd629..6923c1f2 100644 --- a/spark_fhir_schemas/dstu2/resources/procedure.py +++ b/spark_fhir_schemas/dstu2/resources/procedure.py @@ -684,9 +684,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/procedurerequest.py b/spark_fhir_schemas/dstu2/resources/procedurerequest.py index 303a086b..32fe6e21 100644 --- a/spark_fhir_schemas/dstu2/resources/procedurerequest.py +++ b/spark_fhir_schemas/dstu2/resources/procedurerequest.py @@ -538,9 +538,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/processrequest.py b/spark_fhir_schemas/dstu2/resources/processrequest.py index 9b31996b..f7a369b6 100644 --- a/spark_fhir_schemas/dstu2/resources/processrequest.py +++ b/spark_fhir_schemas/dstu2/resources/processrequest.py @@ -483,9 +483,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/processresponse.py b/spark_fhir_schemas/dstu2/resources/processresponse.py index b802a227..93883b8f 100644 --- a/spark_fhir_schemas/dstu2/resources/processresponse.py +++ b/spark_fhir_schemas/dstu2/resources/processresponse.py @@ -473,9 +473,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/provenance.py b/spark_fhir_schemas/dstu2/resources/provenance.py index 4a6c0eaa..6416c66f 100644 --- a/spark_fhir_schemas/dstu2/resources/provenance.py +++ b/spark_fhir_schemas/dstu2/resources/provenance.py @@ -480,9 +480,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/questionnaire.py b/spark_fhir_schemas/dstu2/resources/questionnaire.py index 2df52463..79bd0ae1 100644 --- a/spark_fhir_schemas/dstu2/resources/questionnaire.py +++ b/spark_fhir_schemas/dstu2/resources/questionnaire.py @@ -357,9 +357,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/questionnaireresponse.py b/spark_fhir_schemas/dstu2/resources/questionnaireresponse.py index 93525e0a..38f3a5f9 100644 --- a/spark_fhir_schemas/dstu2/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/dstu2/resources/questionnaireresponse.py @@ -412,9 +412,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/referralrequest.py b/spark_fhir_schemas/dstu2/resources/referralrequest.py index b3e1dcc3..7d253aef 100644 --- a/spark_fhir_schemas/dstu2/resources/referralrequest.py +++ b/spark_fhir_schemas/dstu2/resources/referralrequest.py @@ -546,9 +546,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/relatedperson.py b/spark_fhir_schemas/dstu2/resources/relatedperson.py index df953e2b..a369ae20 100644 --- a/spark_fhir_schemas/dstu2/resources/relatedperson.py +++ b/spark_fhir_schemas/dstu2/resources/relatedperson.py @@ -430,9 +430,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/resource.py b/spark_fhir_schemas/dstu2/resources/resource.py index 89500b56..252a854c 100644 --- a/spark_fhir_schemas/dstu2/resources/resource.py +++ b/spark_fhir_schemas/dstu2/resources/resource.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/riskassessment.py b/spark_fhir_schemas/dstu2/resources/riskassessment.py index f7e5f458..93a6894d 100644 --- a/spark_fhir_schemas/dstu2/resources/riskassessment.py +++ b/spark_fhir_schemas/dstu2/resources/riskassessment.py @@ -423,9 +423,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/schedule.py b/spark_fhir_schemas/dstu2/resources/schedule.py index f2ea3d11..e9229822 100644 --- a/spark_fhir_schemas/dstu2/resources/schedule.py +++ b/spark_fhir_schemas/dstu2/resources/schedule.py @@ -348,9 +348,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/searchparameter.py b/spark_fhir_schemas/dstu2/resources/searchparameter.py index ea0108ea..3c025486 100644 --- a/spark_fhir_schemas/dstu2/resources/searchparameter.py +++ b/spark_fhir_schemas/dstu2/resources/searchparameter.py @@ -372,9 +372,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/slot.py b/spark_fhir_schemas/dstu2/resources/slot.py index 42ceae1b..d0ac0c77 100644 --- a/spark_fhir_schemas/dstu2/resources/slot.py +++ b/spark_fhir_schemas/dstu2/resources/slot.py @@ -368,9 +368,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/specimen.py b/spark_fhir_schemas/dstu2/resources/specimen.py index 5e72c5f5..764748a6 100644 --- a/spark_fhir_schemas/dstu2/resources/specimen.py +++ b/spark_fhir_schemas/dstu2/resources/specimen.py @@ -439,9 +439,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/structuredefinition.py b/spark_fhir_schemas/dstu2/resources/structuredefinition.py index 019bce47..00aa9e59 100644 --- a/spark_fhir_schemas/dstu2/resources/structuredefinition.py +++ b/spark_fhir_schemas/dstu2/resources/structuredefinition.py @@ -586,9 +586,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/subscription.py b/spark_fhir_schemas/dstu2/resources/subscription.py index 6059eaeb..a859ef91 100644 --- a/spark_fhir_schemas/dstu2/resources/subscription.py +++ b/spark_fhir_schemas/dstu2/resources/subscription.py @@ -361,9 +361,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/substance.py b/spark_fhir_schemas/dstu2/resources/substance.py index 598fb179..de07e649 100644 --- a/spark_fhir_schemas/dstu2/resources/substance.py +++ b/spark_fhir_schemas/dstu2/resources/substance.py @@ -360,9 +360,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/supplydelivery.py b/spark_fhir_schemas/dstu2/resources/supplydelivery.py index 4325efa4..7a94dec0 100644 --- a/spark_fhir_schemas/dstu2/resources/supplydelivery.py +++ b/spark_fhir_schemas/dstu2/resources/supplydelivery.py @@ -440,9 +440,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/supplyrequest.py b/spark_fhir_schemas/dstu2/resources/supplyrequest.py index 20bdefe3..b85eee5f 100644 --- a/spark_fhir_schemas/dstu2/resources/supplyrequest.py +++ b/spark_fhir_schemas/dstu2/resources/supplyrequest.py @@ -435,9 +435,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/testscript.py b/spark_fhir_schemas/dstu2/resources/testscript.py index 75a365e5..b7dd499c 100644 --- a/spark_fhir_schemas/dstu2/resources/testscript.py +++ b/spark_fhir_schemas/dstu2/resources/testscript.py @@ -574,9 +574,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/valueset.py b/spark_fhir_schemas/dstu2/resources/valueset.py index 6df47dd7..300777a0 100644 --- a/spark_fhir_schemas/dstu2/resources/valueset.py +++ b/spark_fhir_schemas/dstu2/resources/valueset.py @@ -507,9 +507,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/dstu2/resources/visionprescription.py b/spark_fhir_schemas/dstu2/resources/visionprescription.py index 7b8a6594..63b5cf76 100644 --- a/spark_fhir_schemas/dstu2/resources/visionprescription.py +++ b/spark_fhir_schemas/dstu2/resources/visionprescription.py @@ -402,9 +402,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/account_coverage.py b/spark_fhir_schemas/r4/complex_types/account_coverage.py index 5b4e2ecb..28bffb28 100644 --- a/spark_fhir_schemas/r4/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/account_coverage.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/account_guarantor.py b/spark_fhir_schemas/r4/complex_types/account_guarantor.py index a01083ce..77f74fa2 100644 --- a/spark_fhir_schemas/r4/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4/complex_types/account_guarantor.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py index ddb574cc..8f9de827 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py index 447f8e57..c3a79a7f 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/address.py b/spark_fhir_schemas/r4/complex_types/address.py index 89f1ffe4..ea66a6ce 100644 --- a/spark_fhir_schemas/r4/complex_types/address.py +++ b/spark_fhir_schemas/r4/complex_types/address.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py index a39e1e58..98865b7c 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py index eaad75d4..c63aab32 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/age.py b/spark_fhir_schemas/r4/complex_types/age.py index a2650917..5c5833b1 100644 --- a/spark_fhir_schemas/r4/complex_types/age.py +++ b/spark_fhir_schemas/r4/complex_types/age.py @@ -177,17 +177,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py index 13a16699..38b9025f 100644 --- a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py @@ -296,17 +296,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/annotation.py b/spark_fhir_schemas/r4/complex_types/annotation.py index 5d7cb98e..ad7bcb2c 100644 --- a/spark_fhir_schemas/r4/complex_types/annotation.py +++ b/spark_fhir_schemas/r4/complex_types/annotation.py @@ -170,17 +170,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/appointment_participant.py b/spark_fhir_schemas/r4/complex_types/appointment_participant.py index 4a54af55..d41e0c9f 100644 --- a/spark_fhir_schemas/r4/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4/complex_types/appointment_participant.py @@ -236,17 +236,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/attachment.py b/spark_fhir_schemas/r4/complex_types/attachment.py index 45b69f06..8de93ef9 100644 --- a/spark_fhir_schemas/r4/complex_types/attachment.py +++ b/spark_fhir_schemas/r4/complex_types/attachment.py @@ -258,17 +258,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py index ece01a22..a3bdcdf0 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py @@ -371,17 +371,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py index b48e5a52..ddd2b5c2 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py index 4791fc8e..762f0817 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_network.py b/spark_fhir_schemas/r4/complex_types/auditevent_network.py index c971fd07..29d31bd6 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_network.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_source.py b/spark_fhir_schemas/r4/complex_types/auditevent_source.py index 03b5ff7f..f580f372 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_source.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py index 3d7a2674..5d54d462 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py index 8f248ca0..aaf377ba 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py index a579d835..627f6481 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py index f42e127c..ec5a4d53 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/bundle_entry.py b/spark_fhir_schemas/r4/complex_types/bundle_entry.py index 7b1c948c..afbf0ba1 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_entry.py @@ -307,17 +307,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/bundle_link.py b/spark_fhir_schemas/r4/complex_types/bundle_link.py index 19419a99..a2b5c4e1 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_link.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/bundle_request.py b/spark_fhir_schemas/r4/complex_types/bundle_request.py index 69b489a2..94f747f2 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_request.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/bundle_response.py b/spark_fhir_schemas/r4/complex_types/bundle_response.py index b6417232..c30f886b 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_response.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/bundle_search.py b/spark_fhir_schemas/r4/complex_types/bundle_search.py index dc0c70cf..e9be500a 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_search.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py index e7ed0e89..6303cfd1 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py @@ -212,17 +212,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py index 32928554..6dffea9a 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py index 8ba3c9e2..918ba6ed 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py @@ -212,17 +212,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py index bd2a91b1..2fb5ee87 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py index 4ba5dff3..b5c43b76 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py index c3965942..59fc6a3a 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py @@ -260,17 +260,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py index 1ba9a7e7..48e7ba19 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py index dfbcb035..930ac29c 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py @@ -408,17 +408,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py index 18dd95a1..0e059e25 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py @@ -348,17 +348,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py index 380ee917..01307351 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py index 3d2f52d2..a3831eb0 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py index 6c870f51..a9f6dd82 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py index 7b3603e2..14163642 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py @@ -189,17 +189,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/careplan_activity.py b/spark_fhir_schemas/r4/complex_types/careplan_activity.py index f31eb908..d4bb3d3d 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_activity.py @@ -283,17 +283,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/careplan_detail.py b/spark_fhir_schemas/r4/complex_types/careplan_detail.py index 82a1ee2c..7ff0fbd9 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_detail.py @@ -562,17 +562,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/careteam_participant.py b/spark_fhir_schemas/r4/complex_types/careteam_participant.py index 8fb56180..10d71296 100644 --- a/spark_fhir_schemas/r4/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4/complex_types/careteam_participant.py @@ -248,17 +248,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py index 35991a11..46a57ba6 100644 --- a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py index 2d0735a9..ba062793 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py index 578af630..cc37f0f8 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py index eee1dbcb..5a928f30 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py index 4e8890a5..5212f4d4 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_accident.py b/spark_fhir_schemas/r4/complex_types/claim_accident.py index 4d85227c..b88f5516 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4/complex_types/claim_accident.py @@ -235,17 +235,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_careteam.py b/spark_fhir_schemas/r4/complex_types/claim_careteam.py index 80924840..ed927f70 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/claim_careteam.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_detail.py b/spark_fhir_schemas/r4/complex_types/claim_detail.py index 6ea10f1f..46d8d026 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_detail.py @@ -432,17 +432,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py index 433ad833..0b0f21a0 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py @@ -288,17 +288,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_insurance.py b/spark_fhir_schemas/r4/complex_types/claim_insurance.py index 0df00986..7c0a965d 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claim_insurance.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_item.py b/spark_fhir_schemas/r4/complex_types/claim_item.py index 798aa674..f31329ad 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4/complex_types/claim_item.py @@ -681,17 +681,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_payee.py b/spark_fhir_schemas/r4/complex_types/claim_payee.py index 41c73fe2..7d52dc89 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4/complex_types/claim_payee.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_procedure.py b/spark_fhir_schemas/r4/complex_types/claim_procedure.py index 1fc63edb..824d1d1e 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/claim_procedure.py @@ -287,17 +287,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_related.py b/spark_fhir_schemas/r4/complex_types/claim_related.py index 56e73144..d18abd8b 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4/complex_types/claim_related.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py index 53bfef38..af4cfdb4 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py @@ -405,17 +405,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py index 6f8bd3fc..a3f060f6 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py @@ -361,17 +361,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py index 656da38f..a46fd2bc 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py @@ -626,17 +626,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py index 8753819d..38186529 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py index 1d220238..30f334f8 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py @@ -248,17 +248,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py index 56139437..a1cf2861 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py @@ -372,17 +372,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py index eee0b515..56500bfc 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py index 526908d4..4ff1781e 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py index 578c2fbf..a09e101e 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py @@ -252,17 +252,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py index 9a94a547..6f754d2d 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py index 6319f4a2..6e04bbb6 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py index d9380e1a..104e898b 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py index 6038f5a7..1280ba8f 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py @@ -347,17 +347,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py index f27d4dbe..8e8e176a 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py index 2fd4fac2..8916d30a 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py index 8c88eeac..bd40bbe4 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codeableconcept.py b/spark_fhir_schemas/r4/complex_types/codeableconcept.py index 743f0cc4..21a2f693 100644 --- a/spark_fhir_schemas/r4/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4/complex_types/codeableconcept.py @@ -136,17 +136,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py index 9f33943f..341a5b53 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py @@ -270,17 +270,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py index 90495aca..3a5158a2 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py index 683a9790..2a4960b0 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property.py b/spark_fhir_schemas/r4/complex_types/codesystem_property.py index 06d2cc1e..668a8c99 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py index 78b64d82..cd41f0fc 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coding.py b/spark_fhir_schemas/r4/complex_types/coding.py index 925be416..06359522 100644 --- a/spark_fhir_schemas/r4/complex_types/coding.py +++ b/spark_fhir_schemas/r4/complex_types/coding.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/communication_payload.py b/spark_fhir_schemas/r4/complex_types/communication_payload.py index cb4b6434..7ee75bcf 100644 --- a/spark_fhir_schemas/r4/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communication_payload.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py index 5f4dd2ca..360d22cd 100644 --- a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py index 5f07c863..175bcd71 100644 --- a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py @@ -185,17 +185,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/composition_attester.py b/spark_fhir_schemas/r4/complex_types/composition_attester.py index 06caf220..a5643a76 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4/complex_types/composition_attester.py @@ -213,17 +213,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/composition_event.py b/spark_fhir_schemas/r4/complex_types/composition_event.py index 573e8672..30fe935e 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4/complex_types/composition_event.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py index 5c07df7d..83f9e0c3 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/composition_section.py b/spark_fhir_schemas/r4/complex_types/composition_section.py index ff758c97..ddee1d81 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4/complex_types/composition_section.py @@ -399,17 +399,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py index a567f90a..73215098 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py index 99f13085..71261ae7 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py index 6d5266ec..014ba3cf 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py @@ -264,17 +264,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py index e2245e8f..428f691e 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py index 25ddc304..69a71fbe 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/condition_evidence.py b/spark_fhir_schemas/r4/complex_types/condition_evidence.py index 77a83343..27a5f1b3 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/condition_evidence.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/condition_stage.py b/spark_fhir_schemas/r4/complex_types/condition_stage.py index 83cf3674..cf277d25 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4/complex_types/condition_stage.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/consent_actor.py b/spark_fhir_schemas/r4/complex_types/consent_actor.py index f894b942..153ae382 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4/complex_types/consent_actor.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/consent_data.py b/spark_fhir_schemas/r4/complex_types/consent_data.py index 16004c13..4da67d7e 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4/complex_types/consent_data.py @@ -180,17 +180,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/consent_policy.py b/spark_fhir_schemas/r4/complex_types/consent_policy.py index 818674c9..037bb94a 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4/complex_types/consent_policy.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/consent_provision.py b/spark_fhir_schemas/r4/complex_types/consent_provision.py index b6a05d3b..f3f454f6 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4/complex_types/consent_provision.py @@ -396,17 +396,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/consent_verification.py b/spark_fhir_schemas/r4/complex_types/consent_verification.py index 2a5c9b4d..a2568cb2 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4/complex_types/consent_verification.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contactdetail.py b/spark_fhir_schemas/r4/complex_types/contactdetail.py index 1ba170d4..bfaf986d 100644 --- a/spark_fhir_schemas/r4/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4/complex_types/contactdetail.py @@ -132,17 +132,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contactpoint.py b/spark_fhir_schemas/r4/complex_types/contactpoint.py index 437f1155..7a7237fc 100644 --- a/spark_fhir_schemas/r4/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4/complex_types/contactpoint.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_action.py b/spark_fhir_schemas/r4/complex_types/contract_action.py index 57c7943d..692c49cf 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4/complex_types/contract_action.py @@ -538,17 +538,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_answer.py b/spark_fhir_schemas/r4/complex_types/contract_answer.py index a1db9d8a..e1ac37e2 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_answer.py @@ -350,17 +350,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_asset.py b/spark_fhir_schemas/r4/complex_types/contract_asset.py index 0b43f229..d6b4e72c 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4/complex_types/contract_asset.py @@ -449,17 +449,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py index c1ed2fcb..620cb729 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py @@ -298,17 +298,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_context.py b/spark_fhir_schemas/r4/complex_types/contract_context.py index e3d8168c..23f9a559 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4/complex_types/contract_context.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_friendly.py b/spark_fhir_schemas/r4/complex_types/contract_friendly.py index 60ba8221..c12e600c 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4/complex_types/contract_friendly.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_legal.py b/spark_fhir_schemas/r4/complex_types/contract_legal.py index eef68c12..26af0e1f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4/complex_types/contract_legal.py @@ -193,17 +193,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_offer.py b/spark_fhir_schemas/r4/complex_types/contract_offer.py index 06f5f959..fa37a833 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_offer.py @@ -351,17 +351,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_party.py b/spark_fhir_schemas/r4/complex_types/contract_party.py index 646102eb..b15d2679 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4/complex_types/contract_party.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_rule.py b/spark_fhir_schemas/r4/complex_types/contract_rule.py index fc6314ad..e34924a6 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4/complex_types/contract_rule.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py index 76092e01..e93108f1 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_signer.py b/spark_fhir_schemas/r4/complex_types/contract_signer.py index 78880b72..39cb060f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_signer.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_subject.py b/spark_fhir_schemas/r4/complex_types/contract_subject.py index fad3ed16..e7371a4b 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4/complex_types/contract_subject.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_term.py b/spark_fhir_schemas/r4/complex_types/contract_term.py index f3dc0dff..7383358f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4/complex_types/contract_term.py @@ -432,17 +432,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py index 62ba2081..88b03bfa 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py @@ -457,17 +457,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/contributor.py b/spark_fhir_schemas/r4/complex_types/contributor.py index d874b108..7ce4da09 100644 --- a/spark_fhir_schemas/r4/complex_types/contributor.py +++ b/spark_fhir_schemas/r4/complex_types/contributor.py @@ -138,17 +138,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/count.py b/spark_fhir_schemas/r4/complex_types/count.py index f63619f1..8bdb39ba 100644 --- a/spark_fhir_schemas/r4/complex_types/count.py +++ b/spark_fhir_schemas/r4/complex_types/count.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverage_class.py b/spark_fhir_schemas/r4/complex_types/coverage_class.py index 049073ac..df47e0fb 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_class.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py index c0800cfc..8ac2d173 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py @@ -245,17 +245,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverage_exception.py b/spark_fhir_schemas/r4/complex_types/coverage_exception.py index f4b746b2..7ad11d06 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_exception.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py index 6394291b..9966255a 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py @@ -210,17 +210,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py index 3deb7025..549eff68 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py index c1c2c837..8c9bdd0b 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py @@ -386,17 +386,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py index 3eed96e3..4323bc4d 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -219,17 +219,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py index 857c4678..7457bb9d 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py @@ -243,17 +243,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py index 3596f7cf..9476ede5 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py index fb144986..92eba020 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py index d8be525f..c56c693f 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py @@ -407,17 +407,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement.py b/spark_fhir_schemas/r4/complex_types/datarequirement.py index df19472e..25f28cd3 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement.py @@ -329,17 +329,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py index dbf7e58c..05a32361 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py index 0144902e..d5633827 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py index cbae3881..6976e240 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py @@ -121,17 +121,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py index 62cd84ed..61359552 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py index 2edfdb53..11adbf53 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/device_devicename.py b/spark_fhir_schemas/r4/complex_types/device_devicename.py index d29e19cf..b47cffcd 100644 --- a/spark_fhir_schemas/r4/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/device_devicename.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/device_property.py b/spark_fhir_schemas/r4/complex_types/device_property.py index f0751783..351091e9 100644 --- a/spark_fhir_schemas/r4/complex_types/device_property.py +++ b/spark_fhir_schemas/r4/complex_types/device_property.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/device_specialization.py b/spark_fhir_schemas/r4/complex_types/device_specialization.py index 7e93d82e..6434ad6c 100644 --- a/spark_fhir_schemas/r4/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/device_specialization.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py index f781d4a1..9a785cfd 100644 --- a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py @@ -265,17 +265,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/device_version.py b/spark_fhir_schemas/r4/complex_types/device_version.py index e0cb9f4b..abc8f5fc 100644 --- a/spark_fhir_schemas/r4/complex_types/device_version.py +++ b/spark_fhir_schemas/r4/complex_types/device_version.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py index e252c2a0..cf26eb02 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py index fd82e588..865faae8 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py index ea73c1dc..6c1c1144 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py index 93d819c9..95032ec6 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py index fd981176..8cbaf66f 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py index 0be2fa7b..b25d6a61 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py index 2f44f72f..f246aef1 100644 --- a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py index d058995a..08541c96 100644 --- a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py index 82292b1e..902a0c12 100644 --- a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/distance.py b/spark_fhir_schemas/r4/complex_types/distance.py index 8a1fa6de..148232db 100644 --- a/spark_fhir_schemas/r4/complex_types/distance.py +++ b/spark_fhir_schemas/r4/complex_types/distance.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py index 1aca372e..0f0430df 100644 --- a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_content.py b/spark_fhir_schemas/r4/complex_types/documentreference_content.py index f4c71511..23cd4169 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_content.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_context.py b/spark_fhir_schemas/r4/complex_types/documentreference_context.py index 969d9274..39b71c7e 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_context.py @@ -324,17 +324,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py index 40670ce2..21f89c7b 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/dosage.py b/spark_fhir_schemas/r4/complex_types/dosage.py index 78d3c60d..51d0ae26 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage.py +++ b/spark_fhir_schemas/r4/complex_types/dosage.py @@ -415,17 +415,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py index 101e3199..c25666d4 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py @@ -275,17 +275,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/duration.py b/spark_fhir_schemas/r4/complex_types/duration.py index 90efabc7..d2914e3a 100644 --- a/spark_fhir_schemas/r4/complex_types/duration.py +++ b/spark_fhir_schemas/r4/complex_types/duration.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py index 4f7ecb3c..71059a4a 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py index 8cc6bc97..9e85a2e6 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py index 842c96b0..3c2a1422 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py index 2909e2ae..ee2a9249 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py index 304eea7c..fbb781c0 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py @@ -212,17 +212,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py index eb894475..14acfed9 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/element.py b/spark_fhir_schemas/r4/complex_types/element.py index b8fead36..9d297f1a 100644 --- a/spark_fhir_schemas/r4/complex_types/element.py +++ b/spark_fhir_schemas/r4/complex_types/element.py @@ -100,17 +100,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition.py b/spark_fhir_schemas/r4/complex_types/elementdefinition.py index be052db3..ea1b46c9 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition.py @@ -5094,17 +5094,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py index 948c8a89..57d96c42 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py index f57cd7ef..a92906dc 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py index 4fdff52a..2b809d3b 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py index afb12208..e64c7ccc 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py @@ -166,17 +166,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py index 6f022464..682133f1 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py @@ -1007,17 +1007,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py index 4cea4783..c3628eca 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py index 563791a3..17936e15 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py index 8ed17101..7bbe52ef 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py @@ -266,17 +266,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py index b6bcfb62..067385d8 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py index f1e13ccc..49d1f4f7 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py index 2160e90f..d6e227e1 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py @@ -346,17 +346,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_location.py b/spark_fhir_schemas/r4/complex_types/encounter_location.py index 030a36e6..4ef14f77 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_location.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_participant.py b/spark_fhir_schemas/r4/complex_types/encounter_participant.py index 9911fb2f..1033a223 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_participant.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py index da83e6cc..0f48bf3b 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py index d2a5cdb3..285d38f3 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py index 118fafed..d2b9835c 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py @@ -180,17 +180,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py index acfecc2c..7281cbb4 100644 --- a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py @@ -439,17 +439,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py index 52438094..2de985c5 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py index 969213f7..ee7edbba 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py index 3a222122..5b838a58 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py index ddccc229..866230e1 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py index dc12786e..9e3b87bf 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py index 3bf900c7..67be4285 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py index d843c055..bb4b6d14 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py index 948b31e6..34e02d64 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py index 241b0cde..5d0cd99d 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py index ccdfecaa..4b280f6d 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py @@ -629,17 +629,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py index 96bb5647..a5ace8ae 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py @@ -255,17 +255,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py index 0d963efc..cc4b8acb 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py @@ -293,17 +293,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py index 6f157c09..b03eedfe 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py @@ -256,17 +256,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py index affd6b11..eb8451d5 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py @@ -483,17 +483,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py index 214b2b0f..01745ea9 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py @@ -375,17 +375,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py index 77addd3e..a8ff91b3 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py @@ -291,17 +291,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py index cfe466cd..d8149efe 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py @@ -239,17 +239,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py index 40a425b3..94014103 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py index bfa38b37..7d16e983 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py @@ -736,17 +736,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py index d9a7289f..368cea3b 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py index a424b7fa..182db220 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py @@ -274,17 +274,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py index 00065717..711129ca 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py @@ -290,17 +290,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py index c9c84fef..514e301e 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py index aa8c6145..a430d54a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py index 182a5da1..3c5f4b13 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py @@ -459,17 +459,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py index ce8bdc24..ea13517a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py @@ -350,17 +350,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py index 582251fc..2fb1dc36 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py @@ -365,17 +365,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py index 6fb83295..e0740d39 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/expression.py b/spark_fhir_schemas/r4/complex_types/expression.py index a9a4c1bc..acbd8b73 100644 --- a/spark_fhir_schemas/r4/complex_types/expression.py +++ b/spark_fhir_schemas/r4/complex_types/expression.py @@ -163,17 +163,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/extension.py b/spark_fhir_schemas/r4/complex_types/extension.py index 8101552b..fc8701cc 100644 --- a/spark_fhir_schemas/r4/complex_types/extension.py +++ b/spark_fhir_schemas/r4/complex_types/extension.py @@ -973,17 +973,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py index 3eb11896..08767549 100644 --- a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py @@ -322,17 +322,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/goal_target.py b/spark_fhir_schemas/r4/complex_types/goal_target.py index 3083f8d5..35d68e3f 100644 --- a/spark_fhir_schemas/r4/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4/complex_types/goal_target.py @@ -379,17 +379,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py index 4395441a..f9d03781 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py @@ -196,17 +196,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py index ebeb7c2a..96da7730 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py index 13469c3c..09758b0c 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py @@ -251,17 +251,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/group_characteristic.py b/spark_fhir_schemas/r4/complex_types/group_characteristic.py index 8046841b..e7a3ef07 100644 --- a/spark_fhir_schemas/r4/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/group_characteristic.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/group_member.py b/spark_fhir_schemas/r4/complex_types/group_member.py index ba7bff67..2aa3f4a3 100644 --- a/spark_fhir_schemas/r4/complex_types/group_member.py +++ b/spark_fhir_schemas/r4/complex_types/group_member.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py index 61f6ce50..7791092e 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py @@ -213,17 +213,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py index 35ba1a9b..9ed90643 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py @@ -196,17 +196,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py index 786553b7..fc05a3e3 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/humanname.py b/spark_fhir_schemas/r4/complex_types/humanname.py index 1c26a3c6..8092643c 100644 --- a/spark_fhir_schemas/r4/complex_types/humanname.py +++ b/spark_fhir_schemas/r4/complex_types/humanname.py @@ -154,17 +154,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/identifier.py b/spark_fhir_schemas/r4/complex_types/identifier.py index c059d7aa..12278119 100644 --- a/spark_fhir_schemas/r4/complex_types/identifier.py +++ b/spark_fhir_schemas/r4/complex_types/identifier.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py index 3516c13c..a6bdf25b 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py index 3aad5867..2cef7c45 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py index 663af9a4..dc10e1ca 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py @@ -428,17 +428,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunization_education.py b/spark_fhir_schemas/r4/complex_types/immunization_education.py index b4e9c353..dc19587c 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_education.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunization_performer.py b/spark_fhir_schemas/r4/complex_types/immunization_performer.py index a54c4817..754affa9 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_performer.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py index 77e63cf9..86686277 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py index ef06473d..a31a19e8 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py index 174266f4..c99a4dba 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py index c4deafcb..afd036df 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py @@ -384,17 +384,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py index faee18cb..824859ac 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py @@ -289,17 +289,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py index 65083f9d..e2b1f2eb 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py index b27b665b..086ef1b2 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py index 187c2bc7..8265df51 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py @@ -168,17 +168,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py index 48be3615..5125cb95 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py index 8b063099..04b903c2 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py index f3863e6c..9d36c266 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py index 746786f3..54d5b85b 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py @@ -170,17 +170,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py index e8641ad7..27bfa011 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py index 4e157916..7e9b67c9 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py index 4f296c8d..b0cc2970 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py index 9baea595..37035e57 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py index 5255fb79..ee0f8c7e 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py index 99dc7db1..313819d2 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py index cd93bdcb..5b182e23 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py index 5973f54b..27bca3bb 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py index 2826223d..e0e2d0c0 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py index 186e9e04..0902e3df 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py index 64a1273a..4e915bd5 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py @@ -292,17 +292,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py index 4f4994f7..3da7b2e9 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py index 40e0b18e..fe9a7fd0 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py @@ -259,17 +259,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/invoice_participant.py b/spark_fhir_schemas/r4/complex_types/invoice_participant.py index 335055b0..24a4121a 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_participant.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py index 631a7b5f..252760df 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/linkage_item.py b/spark_fhir_schemas/r4/complex_types/linkage_item.py index 979203fe..de85eccb 100644 --- a/spark_fhir_schemas/r4/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4/complex_types/linkage_item.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/list_entry.py b/spark_fhir_schemas/r4/complex_types/list_entry.py index 4b83e298..6b57810e 100644 --- a/spark_fhir_schemas/r4/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4/complex_types/list_entry.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py index 8184a6d5..c6a7b68c 100644 --- a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/location_position.py b/spark_fhir_schemas/r4/complex_types/location_position.py index f34cd0de..63d8e1f7 100644 --- a/spark_fhir_schemas/r4/complex_types/location_position.py +++ b/spark_fhir_schemas/r4/complex_types/location_position.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/marketingstatus.py b/spark_fhir_schemas/r4/complex_types/marketingstatus.py index 04b58378..b7e6625c 100644 --- a/spark_fhir_schemas/r4/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4/complex_types/marketingstatus.py @@ -286,17 +286,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measure_component.py b/spark_fhir_schemas/r4/complex_types/measure_component.py index d6195745..a7928eb1 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4/complex_types/measure_component.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measure_group.py b/spark_fhir_schemas/r4/complex_types/measure_group.py index ee5098ef..802f9c2c 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4/complex_types/measure_group.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measure_population.py b/spark_fhir_schemas/r4/complex_types/measure_population.py index 1857d334..414e76d8 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4/complex_types/measure_population.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py index f3838dfa..19e2fe36 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py index 2dc0c862..9d927b02 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_component.py b/spark_fhir_schemas/r4/complex_types/measurereport_component.py index 4748f53a..dfd1b5c4 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_component.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_group.py b/spark_fhir_schemas/r4/complex_types/measurereport_group.py index 6a57ea2f..04815b1f 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_group.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population.py b/spark_fhir_schemas/r4/complex_types/measurereport_population.py index b527735f..a6ad4857 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py index 3c3345ec..78e1d573 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py index b9e184c0..3f2899e6 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py @@ -209,17 +209,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py index 3c32c617..19ad12fd 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medication_batch.py b/spark_fhir_schemas/r4/complex_types/medication_batch.py index 69a5dab8..bd7307fc 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4/complex_types/medication_batch.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py index 1336af62..068fea3c 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py index 74aa099c..d20e9333 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py @@ -327,17 +327,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py index e5f4b6df..f4ee0f74 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py index 461e6de0..86365624 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py index 788f2017..47e09ef5 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py index 7918e7bf..190be895 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py index 3dad7297..479cbb0f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py index 5475f4b2..68de0fe8 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py index b5d641cd..d1299a90 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py index 82bd91b4..4f8b34a3 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py index 42d61051..7493070a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py index 480304ee..6999a1b7 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py index 5a9b800f..7d068960 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py index 5bc48252..b2a9c50d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py index 8c438def..8b1f3979 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py index 08e66100..6e9aa091 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py index ff109492..8b7bb9e7 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py index 3787d6d7..c789af98 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py index c66cd9c9..ffe5116c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py index b02dffce..3d8d23e8 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py @@ -175,17 +175,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py index 507f9b13..e74c0a12 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py index f4d27b69..7552f2d9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py @@ -328,17 +328,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py index 344fe94c..3503e640 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py index c14de438..e271a86f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py index aacbd243..41d183b4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py index f90ecf3b..bf99af40 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py @@ -284,17 +284,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py index d91cd721..67790dce 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py index 7423e3f7..7c3d71e7 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py index c76b4e64..26925575 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py @@ -324,17 +324,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py index 6dac3991..2ebaafe4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py @@ -265,17 +265,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py index 18ba9eb2..a5a4c004 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py @@ -252,17 +252,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py index 15689e10..ca0ddb86 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py @@ -226,17 +226,21 @@ class of products) as part of an indication or contraindication. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py index f8515ab8..96380e75 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py @@ -224,17 +224,21 @@ class of products) as part of an indication or contraindication. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py index 539b4ded..60cce5c2 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py @@ -244,17 +244,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py index 1918bdeb..42465938 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py @@ -244,17 +244,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py index 5085a2f2..a1c2e5bf 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py @@ -297,17 +297,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py index facf6184..a5a805c9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py index fc85d538..b3a8242d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py index 72a7ef55..16aff614 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py index 85a790ef..328f893c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py @@ -426,17 +426,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py index 26a92171..5e76c928 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py index 6b8120c8..07b85ee6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py @@ -325,17 +325,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py index de582d38..8f26e897 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py index a1313214..f3116990 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py index b7380c0f..a6ed1b23 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py index 0d761ce8..964127c6 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py index 5e9e7feb..d58ce2b8 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_response.py b/spark_fhir_schemas/r4/complex_types/messageheader_response.py index 376d734a..ecff06f0 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_response.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_source.py b/spark_fhir_schemas/r4/complex_types/messageheader_source.py index e218aab2..7f006f2a 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_source.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/meta.py b/spark_fhir_schemas/r4/complex_types/meta.py index cdb5e15b..dee1ed4f 100644 --- a/spark_fhir_schemas/r4/complex_types/meta.py +++ b/spark_fhir_schemas/r4/complex_types/meta.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py index a9fa2a2d..fba511a9 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py index a0c34fb1..565a5bc4 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py index bc1933a1..42ad680e 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py @@ -484,17 +484,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py index a67c0a68..2074b7d9 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py @@ -305,17 +305,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py index a829ca01..b528553d 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py index 81919b30..9a014d12 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py @@ -315,17 +315,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py index ced61796..e2c7e3de 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py index c9b13295..bd61c2bd 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py @@ -259,17 +259,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/money.py b/spark_fhir_schemas/r4/complex_types/money.py index 39428d16..f2c8f16c 100644 --- a/spark_fhir_schemas/r4/complex_types/money.py +++ b/spark_fhir_schemas/r4/complex_types/money.py @@ -142,17 +142,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py index bc34535b..289082ff 100644 --- a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/narrative.py b/spark_fhir_schemas/r4/complex_types/narrative.py index b2bfc4a3..b56c55f9 100644 --- a/spark_fhir_schemas/r4/complex_types/narrative.py +++ b/spark_fhir_schemas/r4/complex_types/narrative.py @@ -132,17 +132,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py index b2946a80..a5928f30 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py @@ -245,17 +245,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py index ad247232..c2c3b86a 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py @@ -323,17 +323,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py index e1978f00..6788a1f7 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py index df28141e..db6fab3c 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py @@ -291,17 +291,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py index 74c7dd78..998a3b2e 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py index 29777208..f5fc0c15 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/observation_component.py b/spark_fhir_schemas/r4/complex_types/observation_component.py index a3e649c3..ea90e89a 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4/complex_types/observation_component.py @@ -425,17 +425,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py index 5c4ee893..df1680ff 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py @@ -294,17 +294,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py index 5796c515..b6d74a27 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py @@ -284,17 +284,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py index cc02c14a..9b817bd6 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py index a65d6c6b..9950fce6 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py index 059a15b2..a6916624 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py index ddb601fe..badf8ac7 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py @@ -349,17 +349,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py index ffc41f9c..0dfd9e41 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py @@ -170,17 +170,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py index 2780ba8c..e8c68910 100644 --- a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py @@ -218,17 +218,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/organization_contact.py b/spark_fhir_schemas/r4/complex_types/organization_contact.py index de8c3d1e..09e4c08f 100644 --- a/spark_fhir_schemas/r4/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4/complex_types/organization_contact.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py index 6c28093c..c73c611f 100644 --- a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py index be8eb0eb..95c9f0e8 100644 --- a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py @@ -952,17 +952,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/patient_communication.py b/spark_fhir_schemas/r4/complex_types/patient_communication.py index fcbd6486..77b48e60 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4/complex_types/patient_communication.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/patient_contact.py b/spark_fhir_schemas/r4/complex_types/patient_contact.py index bc334534..abd5f92c 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4/complex_types/patient_contact.py @@ -293,17 +293,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/patient_link.py b/spark_fhir_schemas/r4/complex_types/patient_link.py index 47c26022..45f1a2d9 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4/complex_types/patient_link.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py index ab3dc320..3d31851b 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py @@ -353,17 +353,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py index ea90b194..eed4c1dc 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py @@ -164,17 +164,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/period.py b/spark_fhir_schemas/r4/complex_types/period.py index d78059af..24074a56 100644 --- a/spark_fhir_schemas/r4/complex_types/period.py +++ b/spark_fhir_schemas/r4/complex_types/period.py @@ -147,17 +147,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/person_link.py b/spark_fhir_schemas/r4/complex_types/person_link.py index 7f25d119..e4bcb591 100644 --- a/spark_fhir_schemas/r4/complex_types/person_link.py +++ b/spark_fhir_schemas/r4/complex_types/person_link.py @@ -174,17 +174,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py index 3162c9c6..ab2c45d6 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py @@ -753,17 +753,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py index ac695f84..a08a70e0 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py index addd1478..5fe31a29 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py @@ -196,17 +196,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py index 7e9b1965..9d41e2fb 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py @@ -324,17 +324,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py index b9c569ce..6b35a894 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py index bec484a8..c70b22ab 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py index bbd2ea01..8c4b665e 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py @@ -297,17 +297,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/population.py b/spark_fhir_schemas/r4/complex_types/population.py index 5f72d48c..693236ee 100644 --- a/spark_fhir_schemas/r4/complex_types/population.py +++ b/spark_fhir_schemas/r4/complex_types/population.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py index 0996c25e..201f8c18 100644 --- a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py index 8a8f4191..5b0f5dc6 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py @@ -235,17 +235,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py index 1c6b270d..afbec760 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py index cd35a44b..c8dc3864 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/procedure_performer.py b/spark_fhir_schemas/r4/complex_types/procedure_performer.py index 2632915b..822f585b 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_performer.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py index 43ab5792..92802447 100644 --- a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py @@ -374,17 +374,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/productshelflife.py b/spark_fhir_schemas/r4/complex_types/productshelflife.py index bd6673d7..3367e6b9 100644 --- a/spark_fhir_schemas/r4/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4/complex_types/productshelflife.py @@ -258,17 +258,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/provenance_agent.py b/spark_fhir_schemas/r4/complex_types/provenance_agent.py index 3b74f6df..c8625500 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_agent.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/provenance_entity.py b/spark_fhir_schemas/r4/complex_types/provenance_entity.py index b53e3f26..7d5fc56e 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_entity.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/quantity.py b/spark_fhir_schemas/r4/complex_types/quantity.py index 1e0e29d6..79b07be1 100644 --- a/spark_fhir_schemas/r4/complex_types/quantity.py +++ b/spark_fhir_schemas/r4/complex_types/quantity.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py index 0e477b7f..501560c7 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py index 5ad75322..cd0a161f 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py @@ -287,17 +287,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py index 606ce549..03b733c7 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py @@ -282,17 +282,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py index 29072cdc..46e6b62d 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py @@ -437,17 +437,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py index c67f4022..26462a2d 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py index 20a2f507..2baeade7 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/range.py b/spark_fhir_schemas/r4/complex_types/range.py index ece51ff7..937c9716 100644 --- a/spark_fhir_schemas/r4/complex_types/range.py +++ b/spark_fhir_schemas/r4/complex_types/range.py @@ -141,17 +141,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/ratio.py b/spark_fhir_schemas/r4/complex_types/ratio.py index b2f38597..57daaabe 100644 --- a/spark_fhir_schemas/r4/complex_types/ratio.py +++ b/spark_fhir_schemas/r4/complex_types/ratio.py @@ -143,17 +143,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/reference.py b/spark_fhir_schemas/r4/complex_types/reference.py index f9cc0e17..54ad5b9c 100644 --- a/spark_fhir_schemas/r4/complex_types/reference.py +++ b/spark_fhir_schemas/r4/complex_types/reference.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/relatedartifact.py b/spark_fhir_schemas/r4/complex_types/relatedartifact.py index ad3df7a8..1eba676e 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4/complex_types/relatedartifact.py @@ -211,17 +211,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py index e7ac3803..0aec3cdf 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py index fd680ba7..76ebf5cc 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py @@ -609,17 +609,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py index 79e855e8..067c8a59 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py index 4fde98f2..08f2c8cb 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py index ceaa12aa..8e627828 100644 --- a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py @@ -495,17 +495,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py index 544e08be..f18bc277 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py index 806f1cbc..ca16777e 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py index 18b51003..8fc5a9cf 100644 --- a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py index c79edd93..616a474c 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py index f360eda1..c73b0a83 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py index d1fde87f..6d653549 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py index 7f37ef96..d0560cdc 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py @@ -292,17 +292,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py index 2b140b24..14cf2223 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/sampleddata.py b/spark_fhir_schemas/r4/complex_types/sampleddata.py index dd5966d1..7bcef5bc 100644 --- a/spark_fhir_schemas/r4/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4/complex_types/sampleddata.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py index 115f6e78..602be538 100644 --- a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py @@ -180,17 +180,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/signature.py b/spark_fhir_schemas/r4/complex_types/signature.py index 8e6dee7c..76ccc760 100644 --- a/spark_fhir_schemas/r4/complex_types/signature.py +++ b/spark_fhir_schemas/r4/complex_types/signature.py @@ -272,17 +272,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimen_collection.py b/spark_fhir_schemas/r4/complex_types/specimen_collection.py index 7a7aa994..8c8c3d5a 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_collection.py @@ -343,17 +343,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimen_container.py b/spark_fhir_schemas/r4/complex_types/specimen_container.py index 6102d863..05b07dd1 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_container.py @@ -293,17 +293,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimen_processing.py b/spark_fhir_schemas/r4/complex_types/specimen_processing.py index da01f866..9237b2a2 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_processing.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py index b532817d..dcf90edf 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py index 6aaf4e7a..36b53c4f 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py @@ -297,17 +297,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py index 21bb048d..f1c4cfb3 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py index f331f159..96940dd4 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py @@ -291,17 +291,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py index 80b0fe35..38709d57 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py index c4a2e13b..06f87c04 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py index 47f566c0..dd6fcc7c 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py @@ -211,17 +211,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py index 9c468492..e99f0c98 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py index 6def5da1..629f8532 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_group.py b/spark_fhir_schemas/r4/complex_types/structuremap_group.py index 390e14b4..b5c88947 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_group.py @@ -256,17 +256,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_input.py b/spark_fhir_schemas/r4/complex_types/structuremap_input.py index 0a7289dd..7dfd2ef3 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_input.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py index bd9cc4b1..daa00f68 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py index 2fda73df..758274c3 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_source.py b/spark_fhir_schemas/r4/complex_types/structuremap_source.py index a5e3bb59..a84005fe 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_source.py @@ -1005,17 +1005,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py index b13e170f..9792f39e 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_target.py b/spark_fhir_schemas/r4/complex_types/structuremap_target.py index e69c7de5..0d273d45 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_target.py @@ -254,17 +254,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/subscription_channel.py b/spark_fhir_schemas/r4/complex_types/subscription_channel.py index f0bad1f3..b181ea37 100644 --- a/spark_fhir_schemas/r4/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4/complex_types/subscription_channel.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py index 317aebb2..15b0457c 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substance_instance.py b/spark_fhir_schemas/r4/complex_types/substance_instance.py index 6ab413d2..eaa65acd 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4/complex_types/substance_instance.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount.py b/spark_fhir_schemas/r4/complex_types/substanceamount.py index af4cc8af..3b61f143 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount.py @@ -279,17 +279,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py index 31a7ec92..ef668176 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py index c105fcdf..8b5bfd6c 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py index bf3b4764..92799d66 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py @@ -337,17 +337,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py index 1a2ee9b3..929ddc2c 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py @@ -192,17 +192,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py index 597142c6..b7896340 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py index b09de370..c582eb2a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py index 769663a0..642e929b 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py index 4ba7079b..94282bb5 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py @@ -251,17 +251,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py index 321e4e58..52aa64a0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py index 01ed36c9..db5f0b0e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py index df18af4a..123c20b7 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py @@ -316,17 +316,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py index c621c227..f3132c66 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py index 86aa2ff2..1cfdb036 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py index f557b27e..b2438673 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py index 750140da..fe5c9461 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py @@ -347,17 +347,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py index 44f9d79d..fa5c590e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py @@ -219,17 +219,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py index 0319f50c..a64b92d3 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py @@ -213,17 +213,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py index 05b9aacc..13de5135 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py index 557ddca2..8d1e5677 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py @@ -348,17 +348,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py index 7cde6e27..61d937d3 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py @@ -263,17 +263,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py index 8b51566e..c8acb999 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py @@ -227,17 +227,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py index 2b4b870f..6421953a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py index 5e207124..92612089 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py @@ -264,17 +264,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py index a9d27314..79f66c54 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py index 8fc7c12b..83401ae0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py index ce44d2d9..afd9f2a1 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py @@ -371,17 +371,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py index 30939e7b..578bae1d 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py @@ -218,17 +218,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py index 5d852e0b..eabdabac 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py index 0ce72dfe..946ff3cf 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py @@ -382,17 +382,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py index 3d5c6014..6be45db0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py index 57595c3b..a9df5f57 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py @@ -307,17 +307,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py index 9f3b00ea..9a6de4fd 100644 --- a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py index e25537e0..d694f4d6 100644 --- a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/task_input.py b/spark_fhir_schemas/r4/complex_types/task_input.py index 6897c7e7..c7163803 100644 --- a/spark_fhir_schemas/r4/complex_types/task_input.py +++ b/spark_fhir_schemas/r4/complex_types/task_input.py @@ -919,17 +919,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/task_output.py b/spark_fhir_schemas/r4/complex_types/task_output.py index a5adaba8..5fa9664a 100644 --- a/spark_fhir_schemas/r4/complex_types/task_output.py +++ b/spark_fhir_schemas/r4/complex_types/task_output.py @@ -917,17 +917,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/task_restriction.py b/spark_fhir_schemas/r4/complex_types/task_restriction.py index 99bbff69..738ee6fa 100644 --- a/spark_fhir_schemas/r4/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4/complex_types/task_restriction.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py index c18cef66..9bb8ed17 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py @@ -167,17 +167,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py index c5c3b60e..e782bda9 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py index 9a360a8a..7b1dc302 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py index 92a65186..4d54c6bf 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py index b95066fb..bb4d1b37 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py @@ -185,17 +185,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py index 748964c3..0fa801ec 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py @@ -183,17 +183,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py index 9cdf070e..7509b734 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py @@ -164,17 +164,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py index 3e8c9e2a..41fdecd9 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py index 929180c0..edb7d6a2 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py index ceae4c0a..62a99a50 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action.py b/spark_fhir_schemas/r4/complex_types/testreport_action.py index 9372a54c..8773f2d8 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action1.py b/spark_fhir_schemas/r4/complex_types/testreport_action1.py index b07ee359..6606f331 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action1.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action2.py b/spark_fhir_schemas/r4/complex_types/testreport_action2.py index 22346064..0bd1e4ce 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action2.py @@ -172,17 +172,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_assert.py b/spark_fhir_schemas/r4/complex_types/testreport_assert.py index b6d113e1..e3bdf22c 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_assert.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_operation.py b/spark_fhir_schemas/r4/complex_types/testreport_operation.py index fc3018c0..59d2aa04 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_operation.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_participant.py b/spark_fhir_schemas/r4/complex_types/testreport_participant.py index 53645dc8..79a04153 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_participant.py @@ -180,17 +180,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_setup.py b/spark_fhir_schemas/r4/complex_types/testreport_setup.py index 2c9a98ac..26c3aa87 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_setup.py @@ -174,17 +174,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py index ce49f429..04067638 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testreport_test.py b/spark_fhir_schemas/r4/complex_types/testreport_test.py index 9c144b2c..f2f73941 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_test.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action.py b/spark_fhir_schemas/r4/complex_types/testscript_action.py index d51bb1d1..f273fd13 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action1.py b/spark_fhir_schemas/r4/complex_types/testscript_action1.py index 290ba545..288d52d2 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action1.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action2.py b/spark_fhir_schemas/r4/complex_types/testscript_action2.py index 7afe6f69..dbb65ccb 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action2.py @@ -174,17 +174,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_assert.py b/spark_fhir_schemas/r4/complex_types/testscript_assert.py index 88a20da2..2dd9a5a0 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_assert.py @@ -342,17 +342,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_capability.py b/spark_fhir_schemas/r4/complex_types/testscript_capability.py index 828c826c..af7368e9 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_capability.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_destination.py b/spark_fhir_schemas/r4/complex_types/testscript_destination.py index 4a28207f..b9da9055 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_destination.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py index 92793810..bc8aa90c 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_link.py b/spark_fhir_schemas/r4/complex_types/testscript_link.py index d7e58a5b..b9c7d7f6 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_link.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py index e1fdd8a6..a26f49c7 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_operation.py b/spark_fhir_schemas/r4/complex_types/testscript_operation.py index b5f92e82..fcd88337 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_operation.py @@ -429,17 +429,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_origin.py b/spark_fhir_schemas/r4/complex_types/testscript_origin.py index 7ac7478f..f7ae9a37 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_origin.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py index 88910273..70119004 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py @@ -161,17 +161,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_setup.py b/spark_fhir_schemas/r4/complex_types/testscript_setup.py index a5c50284..6fe32354 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_setup.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py index 0b7e2ea1..5ff6caf7 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_test.py b/spark_fhir_schemas/r4/complex_types/testscript_test.py index 4f268d08..b75be68f 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_test.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/testscript_variable.py b/spark_fhir_schemas/r4/complex_types/testscript_variable.py index aa1bd2e7..eeb7e616 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_variable.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/timing.py b/spark_fhir_schemas/r4/complex_types/timing.py index bfcf9c55..755d0ed8 100644 --- a/spark_fhir_schemas/r4/complex_types/timing.py +++ b/spark_fhir_schemas/r4/complex_types/timing.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/timing_repeat.py b/spark_fhir_schemas/r4/complex_types/timing_repeat.py index b2825a87..df1fd1d3 100644 --- a/spark_fhir_schemas/r4/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/timing_repeat.py @@ -498,17 +498,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py index ae163480..d90b1ad8 100644 --- a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/usagecontext.py b/spark_fhir_schemas/r4/complex_types/usagecontext.py index deda295f..c126ceaa 100644 --- a/spark_fhir_schemas/r4/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4/complex_types/usagecontext.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_compose.py b/spark_fhir_schemas/r4/complex_types/valueset_compose.py index d961c099..a0b698b6 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_compose.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_concept.py b/spark_fhir_schemas/r4/complex_types/valueset_concept.py index b287af0c..d4882d55 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_concept.py @@ -213,17 +213,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_contains.py b/spark_fhir_schemas/r4/complex_types/valueset_contains.py index 9c1c93db..6bd8c44c 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_contains.py @@ -295,17 +295,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_designation.py b/spark_fhir_schemas/r4/complex_types/valueset_designation.py index 277f0cea..1eb8cfb2 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_designation.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py index 2bb9ba3a..e64d2465 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py @@ -310,17 +310,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_filter.py b/spark_fhir_schemas/r4/complex_types/valueset_filter.py index 4eb108a5..5e600efa 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_filter.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_include.py b/spark_fhir_schemas/r4/complex_types/valueset_include.py index b9e6151e..76a6767c 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_include.py @@ -267,17 +267,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py index b6566f09..35a9b14d 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py index 9749bad4..c7750286 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py @@ -286,17 +286,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py index 77a85ba6..34ae3098 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py index b1fd94c8..5e8e031a 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py index 842e368e..775003e2 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py @@ -404,17 +404,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py index 05e8d5cc..76dd50f2 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/generate_schema.py b/spark_fhir_schemas/r4/generate_schema.py index 5fffe3d6..22edc632 100644 --- a/spark_fhir_schemas/r4/generate_schema.py +++ b/spark_fhir_schemas/r4/generate_schema.py @@ -1,5 +1,6 @@ import json import os +from dataclasses import dataclass from pathlib import Path import shutil from typing import Any @@ -7,8 +8,6 @@ from typing import List from typing import Optional -from attr import dataclass - @dataclass class PropertyInfo: @@ -171,9 +170,11 @@ def main() -> int: ref_: Optional[str] = ( value["$ref"] if "$ref" in value and type_ != "array" - else value["items"]["$ref"] - if "items" in value and "$ref" in value["items"] - else None + else ( + value["items"]["$ref"] + if "items" in value and "$ref" in value["items"] + else None + ) ) # print(f"{key}:{value}") # type_ == None means string @@ -192,19 +193,25 @@ def main() -> int: [pi.UnderlyingDataType == reference_type for pi in properties_info] ), Description=description, - IsResourceType=reference_type.lower() in resources_dict - if reference_type - else False, - IsSimpleType=reference_type.lower() in simple_types - if reference_type - else (type_.lower() in simple_types if type_ else False), - IsComplexType=reference_type.lower() in complex_types - if reference_type - else False, - HideExtension=reference_type.lower() == "extension" - and resource_name in extensions_blocked_for_resources - if reference_type - else False, + IsResourceType=( + reference_type.lower() in resources_dict + if reference_type + else False + ), + IsSimpleType=( + reference_type.lower() in simple_types + if reference_type + else (type_.lower() in simple_types if type_ else False) + ), + IsComplexType=( + reference_type.lower() in complex_types if reference_type else False + ), + HideExtension=( + reference_type.lower() == "extension" + and resource_name in extensions_blocked_for_resources + if reference_type + else False + ), ) if resource_name.lower() == "extension": properties_info.append(property_info) diff --git a/spark_fhir_schemas/r4/resources/account.py b/spark_fhir_schemas/r4/resources/account.py index 924dc545..38f76c67 100644 --- a/spark_fhir_schemas/r4/resources/account.py +++ b/spark_fhir_schemas/r4/resources/account.py @@ -506,17 +506,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/activitydefinition.py b/spark_fhir_schemas/r4/resources/activitydefinition.py index 2f0d3d5e..7bcd3a73 100644 --- a/spark_fhir_schemas/r4/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4/resources/activitydefinition.py @@ -1396,17 +1396,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/adverseevent.py b/spark_fhir_schemas/r4/resources/adverseevent.py index 266106df..21ae9bba 100644 --- a/spark_fhir_schemas/r4/resources/adverseevent.py +++ b/spark_fhir_schemas/r4/resources/adverseevent.py @@ -744,17 +744,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/allergyintolerance.py b/spark_fhir_schemas/r4/resources/allergyintolerance.py index 58be607c..a5e8bc69 100644 --- a/spark_fhir_schemas/r4/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4/resources/allergyintolerance.py @@ -704,17 +704,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/appointment.py b/spark_fhir_schemas/r4/resources/appointment.py index 54fb5ce4..29cc3c5a 100644 --- a/spark_fhir_schemas/r4/resources/appointment.py +++ b/spark_fhir_schemas/r4/resources/appointment.py @@ -792,17 +792,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/appointmentresponse.py b/spark_fhir_schemas/r4/resources/appointmentresponse.py index c88c18f5..35ded324 100644 --- a/spark_fhir_schemas/r4/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4/resources/appointmentresponse.py @@ -477,17 +477,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/auditevent.py b/spark_fhir_schemas/r4/resources/auditevent.py index 4ab2faaf..b31080fe 100644 --- a/spark_fhir_schemas/r4/resources/auditevent.py +++ b/spark_fhir_schemas/r4/resources/auditevent.py @@ -504,17 +504,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/basic.py b/spark_fhir_schemas/r4/resources/basic.py index b9e3356e..132823a4 100644 --- a/spark_fhir_schemas/r4/resources/basic.py +++ b/spark_fhir_schemas/r4/resources/basic.py @@ -406,17 +406,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/binary.py b/spark_fhir_schemas/r4/resources/binary.py index 229cfc22..0e3a735c 100644 --- a/spark_fhir_schemas/r4/resources/binary.py +++ b/spark_fhir_schemas/r4/resources/binary.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py index e30f52b9..1ed7c9bf 100644 --- a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py @@ -539,17 +539,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/bodystructure.py b/spark_fhir_schemas/r4/resources/bodystructure.py index 4f8de080..1d63999c 100644 --- a/spark_fhir_schemas/r4/resources/bodystructure.py +++ b/spark_fhir_schemas/r4/resources/bodystructure.py @@ -456,17 +456,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/bundle.py b/spark_fhir_schemas/r4/resources/bundle.py index d3f2c645..6a8cfafb 100644 --- a/spark_fhir_schemas/r4/resources/bundle.py +++ b/spark_fhir_schemas/r4/resources/bundle.py @@ -309,17 +309,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/capabilitystatement.py b/spark_fhir_schemas/r4/resources/capabilitystatement.py index afe293e1..a6ee8b44 100644 --- a/spark_fhir_schemas/r4/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4/resources/capabilitystatement.py @@ -855,17 +855,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/careplan.py b/spark_fhir_schemas/r4/resources/careplan.py index bf6bd7fb..786db00b 100644 --- a/spark_fhir_schemas/r4/resources/careplan.py +++ b/spark_fhir_schemas/r4/resources/careplan.py @@ -809,17 +809,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/careteam.py b/spark_fhir_schemas/r4/resources/careteam.py index 5cc0b800..8b68ed0c 100644 --- a/spark_fhir_schemas/r4/resources/careteam.py +++ b/spark_fhir_schemas/r4/resources/careteam.py @@ -570,17 +570,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/catalogentry.py b/spark_fhir_schemas/r4/resources/catalogentry.py index 28e76692..eca7b575 100644 --- a/spark_fhir_schemas/r4/resources/catalogentry.py +++ b/spark_fhir_schemas/r4/resources/catalogentry.py @@ -566,17 +566,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/chargeitem.py b/spark_fhir_schemas/r4/resources/chargeitem.py index baae19ae..10afe1f7 100644 --- a/spark_fhir_schemas/r4/resources/chargeitem.py +++ b/spark_fhir_schemas/r4/resources/chargeitem.py @@ -896,17 +896,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py index 387f39b9..0508938e 100644 --- a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py @@ -790,17 +790,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/claim.py b/spark_fhir_schemas/r4/resources/claim.py index 4d55a671..f5845cc0 100644 --- a/spark_fhir_schemas/r4/resources/claim.py +++ b/spark_fhir_schemas/r4/resources/claim.py @@ -911,17 +911,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/claimresponse.py b/spark_fhir_schemas/r4/resources/claimresponse.py index 32f205eb..ea6ebaf4 100644 --- a/spark_fhir_schemas/r4/resources/claimresponse.py +++ b/spark_fhir_schemas/r4/resources/claimresponse.py @@ -893,17 +893,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/clinicalimpression.py b/spark_fhir_schemas/r4/resources/clinicalimpression.py index b1b47b2d..b99e03bb 100644 --- a/spark_fhir_schemas/r4/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4/resources/clinicalimpression.py @@ -754,17 +754,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/codesystem.py b/spark_fhir_schemas/r4/resources/codesystem.py index eb843809..6dc20d99 100644 --- a/spark_fhir_schemas/r4/resources/codesystem.py +++ b/spark_fhir_schemas/r4/resources/codesystem.py @@ -773,17 +773,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/communication.py b/spark_fhir_schemas/r4/resources/communication.py index 5580b881..31c2e65d 100644 --- a/spark_fhir_schemas/r4/resources/communication.py +++ b/spark_fhir_schemas/r4/resources/communication.py @@ -836,17 +836,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/communicationrequest.py b/spark_fhir_schemas/r4/resources/communicationrequest.py index 6b31b676..e16f66e9 100644 --- a/spark_fhir_schemas/r4/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4/resources/communicationrequest.py @@ -806,17 +806,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/compartmentdefinition.py b/spark_fhir_schemas/r4/resources/compartmentdefinition.py index 1d014342..862a3e63 100644 --- a/spark_fhir_schemas/r4/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4/resources/compartmentdefinition.py @@ -547,17 +547,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/composition.py b/spark_fhir_schemas/r4/resources/composition.py index 24e1facf..ed7856b6 100644 --- a/spark_fhir_schemas/r4/resources/composition.py +++ b/spark_fhir_schemas/r4/resources/composition.py @@ -643,17 +643,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/conceptmap.py b/spark_fhir_schemas/r4/resources/conceptmap.py index 117771e5..807d2178 100644 --- a/spark_fhir_schemas/r4/resources/conceptmap.py +++ b/spark_fhir_schemas/r4/resources/conceptmap.py @@ -641,17 +641,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/condition.py b/spark_fhir_schemas/r4/resources/condition.py index 46593e16..31949b94 100644 --- a/spark_fhir_schemas/r4/resources/condition.py +++ b/spark_fhir_schemas/r4/resources/condition.py @@ -828,17 +828,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/consent.py b/spark_fhir_schemas/r4/resources/consent.py index 9a7d548c..08c9370b 100644 --- a/spark_fhir_schemas/r4/resources/consent.py +++ b/spark_fhir_schemas/r4/resources/consent.py @@ -626,17 +626,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/contract.py b/spark_fhir_schemas/r4/resources/contract.py index a3a4d8ea..bda634d2 100644 --- a/spark_fhir_schemas/r4/resources/contract.py +++ b/spark_fhir_schemas/r4/resources/contract.py @@ -1089,17 +1089,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/coverage.py b/spark_fhir_schemas/r4/resources/coverage.py index 341307ac..3c2b9e06 100644 --- a/spark_fhir_schemas/r4/resources/coverage.py +++ b/spark_fhir_schemas/r4/resources/coverage.py @@ -635,17 +635,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py index 1886b8bc..07f420a7 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py @@ -631,17 +631,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py index 69456ed4..eb676533 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py @@ -590,17 +590,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/detectedissue.py b/spark_fhir_schemas/r4/resources/detectedissue.py index bbe92860..5f0c137c 100644 --- a/spark_fhir_schemas/r4/resources/detectedissue.py +++ b/spark_fhir_schemas/r4/resources/detectedissue.py @@ -560,17 +560,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/device.py b/spark_fhir_schemas/r4/resources/device.py index c44684f6..8ac82b51 100644 --- a/spark_fhir_schemas/r4/resources/device.py +++ b/spark_fhir_schemas/r4/resources/device.py @@ -785,17 +785,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/devicedefinition.py b/spark_fhir_schemas/r4/resources/devicedefinition.py index 923cb0a7..6d6f121b 100644 --- a/spark_fhir_schemas/r4/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4/resources/devicedefinition.py @@ -795,17 +795,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/devicemetric.py b/spark_fhir_schemas/r4/resources/devicemetric.py index dab620cd..8dec3c1d 100644 --- a/spark_fhir_schemas/r4/resources/devicemetric.py +++ b/spark_fhir_schemas/r4/resources/devicemetric.py @@ -516,17 +516,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/devicerequest.py b/spark_fhir_schemas/r4/resources/devicerequest.py index 10f12bf4..259a3e64 100644 --- a/spark_fhir_schemas/r4/resources/devicerequest.py +++ b/spark_fhir_schemas/r4/resources/devicerequest.py @@ -911,17 +911,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/deviceusestatement.py b/spark_fhir_schemas/r4/resources/deviceusestatement.py index ad1d0c40..29a3a04a 100644 --- a/spark_fhir_schemas/r4/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4/resources/deviceusestatement.py @@ -615,17 +615,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/diagnosticreport.py b/spark_fhir_schemas/r4/resources/diagnosticreport.py index 6d94699b..6c511760 100644 --- a/spark_fhir_schemas/r4/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4/resources/diagnosticreport.py @@ -725,17 +725,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/documentmanifest.py b/spark_fhir_schemas/r4/resources/documentmanifest.py index 6546b5e6..3269b158 100644 --- a/spark_fhir_schemas/r4/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4/resources/documentmanifest.py @@ -556,17 +556,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/documentreference.py b/spark_fhir_schemas/r4/resources/documentreference.py index 395e3cea..235f1c63 100644 --- a/spark_fhir_schemas/r4/resources/documentreference.py +++ b/spark_fhir_schemas/r4/resources/documentreference.py @@ -658,17 +658,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py index 53d23f37..97a19d78 100644 --- a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py @@ -1006,17 +1006,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/encounter.py b/spark_fhir_schemas/r4/resources/encounter.py index 045e5c28..00abb316 100644 --- a/spark_fhir_schemas/r4/resources/encounter.py +++ b/spark_fhir_schemas/r4/resources/encounter.py @@ -851,17 +851,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/endpoint.py b/spark_fhir_schemas/r4/resources/endpoint.py index 963b9535..c340318d 100644 --- a/spark_fhir_schemas/r4/resources/endpoint.py +++ b/spark_fhir_schemas/r4/resources/endpoint.py @@ -510,17 +510,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/enrollmentrequest.py b/spark_fhir_schemas/r4/resources/enrollmentrequest.py index dfbde7e3..db2f0e77 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4/resources/enrollmentrequest.py @@ -448,17 +448,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/enrollmentresponse.py b/spark_fhir_schemas/r4/resources/enrollmentresponse.py index 8a127689..48d60ef0 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4/resources/enrollmentresponse.py @@ -436,17 +436,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/episodeofcare.py b/spark_fhir_schemas/r4/resources/episodeofcare.py index e2c1f76c..0091c3a9 100644 --- a/spark_fhir_schemas/r4/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4/resources/episodeofcare.py @@ -571,17 +571,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/eventdefinition.py b/spark_fhir_schemas/r4/resources/eventdefinition.py index db06ab58..27f404f1 100644 --- a/spark_fhir_schemas/r4/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4/resources/eventdefinition.py @@ -865,17 +865,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/evidence.py b/spark_fhir_schemas/r4/resources/evidence.py index 6f1ee815..6c82a763 100644 --- a/spark_fhir_schemas/r4/resources/evidence.py +++ b/spark_fhir_schemas/r4/resources/evidence.py @@ -856,17 +856,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/evidencevariable.py b/spark_fhir_schemas/r4/resources/evidencevariable.py index 6dfb9405..071f841b 100644 --- a/spark_fhir_schemas/r4/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4/resources/evidencevariable.py @@ -824,17 +824,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/examplescenario.py b/spark_fhir_schemas/r4/resources/examplescenario.py index 97b4d84e..39de9cb7 100644 --- a/spark_fhir_schemas/r4/resources/examplescenario.py +++ b/spark_fhir_schemas/r4/resources/examplescenario.py @@ -670,17 +670,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/explanationofbenefit.py b/spark_fhir_schemas/r4/resources/explanationofbenefit.py index fb46a9ae..baf58876 100644 --- a/spark_fhir_schemas/r4/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4/resources/explanationofbenefit.py @@ -1257,17 +1257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/familymemberhistory.py b/spark_fhir_schemas/r4/resources/familymemberhistory.py index d18cb12a..5edca271 100644 --- a/spark_fhir_schemas/r4/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4/resources/familymemberhistory.py @@ -757,17 +757,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/flag.py b/spark_fhir_schemas/r4/resources/flag.py index 3ab54d27..c8284945 100644 --- a/spark_fhir_schemas/r4/resources/flag.py +++ b/spark_fhir_schemas/r4/resources/flag.py @@ -464,17 +464,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/goal.py b/spark_fhir_schemas/r4/resources/goal.py index 54310fb9..e9f6349a 100644 --- a/spark_fhir_schemas/r4/resources/goal.py +++ b/spark_fhir_schemas/r4/resources/goal.py @@ -626,17 +626,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/graphdefinition.py b/spark_fhir_schemas/r4/resources/graphdefinition.py index b9b48d5a..314379d7 100644 --- a/spark_fhir_schemas/r4/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4/resources/graphdefinition.py @@ -609,17 +609,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/group.py b/spark_fhir_schemas/r4/resources/group.py index b642c395..834f7361 100644 --- a/spark_fhir_schemas/r4/resources/group.py +++ b/spark_fhir_schemas/r4/resources/group.py @@ -473,17 +473,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/guidanceresponse.py b/spark_fhir_schemas/r4/resources/guidanceresponse.py index e52bf13a..5c244454 100644 --- a/spark_fhir_schemas/r4/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4/resources/guidanceresponse.py @@ -669,17 +669,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/healthcareservice.py b/spark_fhir_schemas/r4/resources/healthcareservice.py index 6505ef38..4f9999a7 100644 --- a/spark_fhir_schemas/r4/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4/resources/healthcareservice.py @@ -797,17 +797,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/imagingstudy.py b/spark_fhir_schemas/r4/resources/imagingstudy.py index 16364ddf..ebd1a159 100644 --- a/spark_fhir_schemas/r4/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4/resources/imagingstudy.py @@ -747,17 +747,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/immunization.py b/spark_fhir_schemas/r4/resources/immunization.py index a37b93a9..43840879 100644 --- a/spark_fhir_schemas/r4/resources/immunization.py +++ b/spark_fhir_schemas/r4/resources/immunization.py @@ -864,17 +864,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/immunizationevaluation.py b/spark_fhir_schemas/r4/resources/immunizationevaluation.py index a9e1d98c..1e3d7e9b 100644 --- a/spark_fhir_schemas/r4/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4/resources/immunizationevaluation.py @@ -536,17 +536,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py index 6d94d528..d5bc37cd 100644 --- a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py @@ -415,17 +415,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/implementationguide.py b/spark_fhir_schemas/r4/resources/implementationguide.py index 029bd55a..8cdec6de 100644 --- a/spark_fhir_schemas/r4/resources/implementationguide.py +++ b/spark_fhir_schemas/r4/resources/implementationguide.py @@ -700,17 +700,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/insuranceplan.py b/spark_fhir_schemas/r4/resources/insuranceplan.py index fe5eb61a..d1d1d043 100644 --- a/spark_fhir_schemas/r4/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4/resources/insuranceplan.py @@ -578,17 +578,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/invoice.py b/spark_fhir_schemas/r4/resources/invoice.py index 135e2921..1210686b 100644 --- a/spark_fhir_schemas/r4/resources/invoice.py +++ b/spark_fhir_schemas/r4/resources/invoice.py @@ -634,17 +634,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/library.py b/spark_fhir_schemas/r4/resources/library.py index e36eaa5f..7380770e 100644 --- a/spark_fhir_schemas/r4/resources/library.py +++ b/spark_fhir_schemas/r4/resources/library.py @@ -940,17 +940,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/linkage.py b/spark_fhir_schemas/r4/resources/linkage.py index 693cedd9..bb5f0dd0 100644 --- a/spark_fhir_schemas/r4/resources/linkage.py +++ b/spark_fhir_schemas/r4/resources/linkage.py @@ -365,17 +365,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/list.py b/spark_fhir_schemas/r4/resources/list.py index a81a5356..428de4bc 100644 --- a/spark_fhir_schemas/r4/resources/list.py +++ b/spark_fhir_schemas/r4/resources/list.py @@ -536,17 +536,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/location.py b/spark_fhir_schemas/r4/resources/location.py index 10b15c8c..760b0247 100644 --- a/spark_fhir_schemas/r4/resources/location.py +++ b/spark_fhir_schemas/r4/resources/location.py @@ -595,17 +595,21 @@ class of locations. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/measure.py b/spark_fhir_schemas/r4/resources/measure.py index 21093b73..840a254f 100644 --- a/spark_fhir_schemas/r4/resources/measure.py +++ b/spark_fhir_schemas/r4/resources/measure.py @@ -1132,17 +1132,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/measurereport.py b/spark_fhir_schemas/r4/resources/measurereport.py index 11210ef6..a51045b6 100644 --- a/spark_fhir_schemas/r4/resources/measurereport.py +++ b/spark_fhir_schemas/r4/resources/measurereport.py @@ -532,17 +532,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/media.py b/spark_fhir_schemas/r4/resources/media.py index d15db630..e8af89a5 100644 --- a/spark_fhir_schemas/r4/resources/media.py +++ b/spark_fhir_schemas/r4/resources/media.py @@ -784,17 +784,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medication.py b/spark_fhir_schemas/r4/resources/medication.py index 7fd07031..a43b6ee7 100644 --- a/spark_fhir_schemas/r4/resources/medication.py +++ b/spark_fhir_schemas/r4/resources/medication.py @@ -495,17 +495,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicationadministration.py b/spark_fhir_schemas/r4/resources/medicationadministration.py index 4cc3a8a0..8d0d6af8 100644 --- a/spark_fhir_schemas/r4/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4/resources/medicationadministration.py @@ -811,17 +811,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicationdispense.py b/spark_fhir_schemas/r4/resources/medicationdispense.py index 98e0c418..371142f4 100644 --- a/spark_fhir_schemas/r4/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4/resources/medicationdispense.py @@ -914,17 +914,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicationknowledge.py b/spark_fhir_schemas/r4/resources/medicationknowledge.py index d0b9f975..b8413374 100644 --- a/spark_fhir_schemas/r4/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4/resources/medicationknowledge.py @@ -830,17 +830,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicationrequest.py b/spark_fhir_schemas/r4/resources/medicationrequest.py index 8c2d302b..a1fe60ce 100644 --- a/spark_fhir_schemas/r4/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4/resources/medicationrequest.py @@ -1100,17 +1100,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicationstatement.py b/spark_fhir_schemas/r4/resources/medicationstatement.py index 9009e90e..f6cf5f23 100644 --- a/spark_fhir_schemas/r4/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4/resources/medicationstatement.py @@ -787,17 +787,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproduct.py b/spark_fhir_schemas/r4/resources/medicinalproduct.py index c26ffa88..b0b62995 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproduct.py +++ b/spark_fhir_schemas/r4/resources/medicinalproduct.py @@ -749,17 +749,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py index 55468ceb..16a5138d 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py @@ -659,17 +659,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py index defb1003..9734c47c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py @@ -468,17 +468,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductindication.py b/spark_fhir_schemas/r4/resources/medicinalproductindication.py index 73cb483b..d8f16da7 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductindication.py @@ -504,17 +504,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py index 6819f5f3..85a1cf12 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py @@ -433,17 +433,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py index 2001adff..7f928ec5 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py @@ -444,17 +444,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py index ec7708dd..942dbe5b 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py @@ -464,17 +464,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py index 19391544..ceac97a3 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py @@ -497,17 +497,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py index 10520e31..f796387c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py @@ -467,17 +467,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py index edf44b42..23d7a690 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py @@ -415,17 +415,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/messagedefinition.py b/spark_fhir_schemas/r4/resources/messagedefinition.py index 142ac069..da4650a2 100644 --- a/spark_fhir_schemas/r4/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4/resources/messagedefinition.py @@ -774,17 +774,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/messageheader.py b/spark_fhir_schemas/r4/resources/messageheader.py index 48e9e955..c1434878 100644 --- a/spark_fhir_schemas/r4/resources/messageheader.py +++ b/spark_fhir_schemas/r4/resources/messageheader.py @@ -582,17 +582,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/molecularsequence.py b/spark_fhir_schemas/r4/resources/molecularsequence.py index 36c5b962..d4a0552f 100644 --- a/spark_fhir_schemas/r4/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4/resources/molecularsequence.py @@ -648,17 +648,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/namingsystem.py b/spark_fhir_schemas/r4/resources/namingsystem.py index 4f7b4c7e..bbcf50cc 100644 --- a/spark_fhir_schemas/r4/resources/namingsystem.py +++ b/spark_fhir_schemas/r4/resources/namingsystem.py @@ -527,17 +527,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/nutritionorder.py b/spark_fhir_schemas/r4/resources/nutritionorder.py index 3fa95049..15398ef4 100644 --- a/spark_fhir_schemas/r4/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4/resources/nutritionorder.py @@ -730,17 +730,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/observation.py b/spark_fhir_schemas/r4/resources/observation.py index b3640f0b..dbf9cde0 100644 --- a/spark_fhir_schemas/r4/resources/observation.py +++ b/spark_fhir_schemas/r4/resources/observation.py @@ -1081,17 +1081,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/observationdefinition.py b/spark_fhir_schemas/r4/resources/observationdefinition.py index 7e7123cf..18c67a63 100644 --- a/spark_fhir_schemas/r4/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4/resources/observationdefinition.py @@ -558,17 +558,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/operationdefinition.py b/spark_fhir_schemas/r4/resources/operationdefinition.py index 6956bd36..b30ffb78 100644 --- a/spark_fhir_schemas/r4/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4/resources/operationdefinition.py @@ -764,17 +764,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/operationoutcome.py b/spark_fhir_schemas/r4/resources/operationoutcome.py index a54e43a6..404a88fd 100644 --- a/spark_fhir_schemas/r4/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4/resources/operationoutcome.py @@ -328,17 +328,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/organization.py b/spark_fhir_schemas/r4/resources/organization.py index 5c2ad802..f33950fa 100644 --- a/spark_fhir_schemas/r4/resources/organization.py +++ b/spark_fhir_schemas/r4/resources/organization.py @@ -494,17 +494,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/organizationaffiliation.py b/spark_fhir_schemas/r4/resources/organizationaffiliation.py index 355ab5f9..23059fa3 100644 --- a/spark_fhir_schemas/r4/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4/resources/organizationaffiliation.py @@ -569,17 +569,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/parameters.py b/spark_fhir_schemas/r4/resources/parameters.py index efd9913a..1908f3ae 100644 --- a/spark_fhir_schemas/r4/resources/parameters.py +++ b/spark_fhir_schemas/r4/resources/parameters.py @@ -193,17 +193,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/patient.py b/spark_fhir_schemas/r4/resources/patient.py index c917e51b..91f149f2 100644 --- a/spark_fhir_schemas/r4/resources/patient.py +++ b/spark_fhir_schemas/r4/resources/patient.py @@ -618,17 +618,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/paymentnotice.py b/spark_fhir_schemas/r4/resources/paymentnotice.py index 39e76ba6..746fc0a3 100644 --- a/spark_fhir_schemas/r4/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4/resources/paymentnotice.py @@ -545,17 +545,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/paymentreconciliation.py b/spark_fhir_schemas/r4/resources/paymentreconciliation.py index 3a0c413d..4ad0f057 100644 --- a/spark_fhir_schemas/r4/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4/resources/paymentreconciliation.py @@ -588,17 +588,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/person.py b/spark_fhir_schemas/r4/resources/person.py index 2ad95352..f64cb936 100644 --- a/spark_fhir_schemas/r4/resources/person.py +++ b/spark_fhir_schemas/r4/resources/person.py @@ -479,17 +479,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/plandefinition.py b/spark_fhir_schemas/r4/resources/plandefinition.py index 55a915e7..dd99f254 100644 --- a/spark_fhir_schemas/r4/resources/plandefinition.py +++ b/spark_fhir_schemas/r4/resources/plandefinition.py @@ -951,17 +951,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/practitioner.py b/spark_fhir_schemas/r4/resources/practitioner.py index 3b4e3855..200159c2 100644 --- a/spark_fhir_schemas/r4/resources/practitioner.py +++ b/spark_fhir_schemas/r4/resources/practitioner.py @@ -504,17 +504,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/practitionerrole.py b/spark_fhir_schemas/r4/resources/practitionerrole.py index c66c65d0..25fb4775 100644 --- a/spark_fhir_schemas/r4/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4/resources/practitionerrole.py @@ -605,17 +605,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/procedure.py b/spark_fhir_schemas/r4/resources/procedure.py index a198bf71..9a74ca02 100644 --- a/spark_fhir_schemas/r4/resources/procedure.py +++ b/spark_fhir_schemas/r4/resources/procedure.py @@ -1032,17 +1032,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/provenance.py b/spark_fhir_schemas/r4/resources/provenance.py index 9b87de5b..5738cc0a 100644 --- a/spark_fhir_schemas/r4/resources/provenance.py +++ b/spark_fhir_schemas/r4/resources/provenance.py @@ -567,17 +567,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/questionnaire.py b/spark_fhir_schemas/r4/resources/questionnaire.py index e5e8d1d4..f7544eda 100644 --- a/spark_fhir_schemas/r4/resources/questionnaire.py +++ b/spark_fhir_schemas/r4/resources/questionnaire.py @@ -731,17 +731,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/questionnaireresponse.py b/spark_fhir_schemas/r4/resources/questionnaireresponse.py index 2e28b0de..983c64ce 100644 --- a/spark_fhir_schemas/r4/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4/resources/questionnaireresponse.py @@ -548,17 +548,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/relatedperson.py b/spark_fhir_schemas/r4/resources/relatedperson.py index 7d40bedb..ec7ec1fe 100644 --- a/spark_fhir_schemas/r4/resources/relatedperson.py +++ b/spark_fhir_schemas/r4/resources/relatedperson.py @@ -536,17 +536,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/requestgroup.py b/spark_fhir_schemas/r4/resources/requestgroup.py index d171a1e2..cf1767a6 100644 --- a/spark_fhir_schemas/r4/resources/requestgroup.py +++ b/spark_fhir_schemas/r4/resources/requestgroup.py @@ -710,17 +710,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/researchdefinition.py b/spark_fhir_schemas/r4/resources/researchdefinition.py index c3f9f374..7f5f7217 100644 --- a/spark_fhir_schemas/r4/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchdefinition.py @@ -977,17 +977,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/researchelementdefinition.py b/spark_fhir_schemas/r4/resources/researchelementdefinition.py index f3941c3c..0e9b9c6a 100644 --- a/spark_fhir_schemas/r4/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchelementdefinition.py @@ -924,17 +924,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/researchstudy.py b/spark_fhir_schemas/r4/resources/researchstudy.py index 832dfba6..901df348 100644 --- a/spark_fhir_schemas/r4/resources/researchstudy.py +++ b/spark_fhir_schemas/r4/resources/researchstudy.py @@ -847,17 +847,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/researchsubject.py b/spark_fhir_schemas/r4/resources/researchsubject.py index d6f36e6a..b73353bb 100644 --- a/spark_fhir_schemas/r4/resources/researchsubject.py +++ b/spark_fhir_schemas/r4/resources/researchsubject.py @@ -424,17 +424,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/riskassessment.py b/spark_fhir_schemas/r4/resources/riskassessment.py index 938784f9..ae35c52b 100644 --- a/spark_fhir_schemas/r4/resources/riskassessment.py +++ b/spark_fhir_schemas/r4/resources/riskassessment.py @@ -668,17 +668,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py index ffa07ce4..d2a74487 100644 --- a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py @@ -955,17 +955,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/schedule.py b/spark_fhir_schemas/r4/resources/schedule.py index e08ca72d..4d69c645 100644 --- a/spark_fhir_schemas/r4/resources/schedule.py +++ b/spark_fhir_schemas/r4/resources/schedule.py @@ -468,17 +468,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/searchparameter.py b/spark_fhir_schemas/r4/resources/searchparameter.py index d758c7e7..c0acc5e5 100644 --- a/spark_fhir_schemas/r4/resources/searchparameter.py +++ b/spark_fhir_schemas/r4/resources/searchparameter.py @@ -711,17 +711,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/servicerequest.py b/spark_fhir_schemas/r4/resources/servicerequest.py index d2050579..d3e159d4 100644 --- a/spark_fhir_schemas/r4/resources/servicerequest.py +++ b/spark_fhir_schemas/r4/resources/servicerequest.py @@ -1142,17 +1142,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/slot.py b/spark_fhir_schemas/r4/resources/slot.py index b2afe6df..9f8a1641 100644 --- a/spark_fhir_schemas/r4/resources/slot.py +++ b/spark_fhir_schemas/r4/resources/slot.py @@ -509,17 +509,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/specimen.py b/spark_fhir_schemas/r4/resources/specimen.py index 67119036..d036ab54 100644 --- a/spark_fhir_schemas/r4/resources/specimen.py +++ b/spark_fhir_schemas/r4/resources/specimen.py @@ -587,17 +587,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/specimendefinition.py b/spark_fhir_schemas/r4/resources/specimendefinition.py index ee7db8c9..4ab262ba 100644 --- a/spark_fhir_schemas/r4/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4/resources/specimendefinition.py @@ -418,17 +418,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/structuredefinition.py b/spark_fhir_schemas/r4/resources/structuredefinition.py index b51de1d5..e242c9fd 100644 --- a/spark_fhir_schemas/r4/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4/resources/structuredefinition.py @@ -816,17 +816,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/structuremap.py b/spark_fhir_schemas/r4/resources/structuremap.py index e3de82b7..1c8632db 100644 --- a/spark_fhir_schemas/r4/resources/structuremap.py +++ b/spark_fhir_schemas/r4/resources/structuremap.py @@ -671,17 +671,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/subscription.py b/spark_fhir_schemas/r4/resources/subscription.py index 39338f45..81e7c22d 100644 --- a/spark_fhir_schemas/r4/resources/subscription.py +++ b/spark_fhir_schemas/r4/resources/subscription.py @@ -402,17 +402,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substance.py b/spark_fhir_schemas/r4/resources/substance.py index ea5002bd..dec5c029 100644 --- a/spark_fhir_schemas/r4/resources/substance.py +++ b/spark_fhir_schemas/r4/resources/substance.py @@ -431,17 +431,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substancenucleicacid.py b/spark_fhir_schemas/r4/resources/substancenucleicacid.py index 8f4eafc3..83de5535 100644 --- a/spark_fhir_schemas/r4/resources/substancenucleicacid.py +++ b/spark_fhir_schemas/r4/resources/substancenucleicacid.py @@ -418,17 +418,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substancepolymer.py b/spark_fhir_schemas/r4/resources/substancepolymer.py index 424f2f57..f32a8667 100644 --- a/spark_fhir_schemas/r4/resources/substancepolymer.py +++ b/spark_fhir_schemas/r4/resources/substancepolymer.py @@ -420,17 +420,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substanceprotein.py b/spark_fhir_schemas/r4/resources/substanceprotein.py index 8ba90399..363e15a0 100644 --- a/spark_fhir_schemas/r4/resources/substanceprotein.py +++ b/spark_fhir_schemas/r4/resources/substanceprotein.py @@ -420,17 +420,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py index 7b751d8a..86d9ab20 100644 --- a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py +++ b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py @@ -408,17 +408,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substancesourcematerial.py b/spark_fhir_schemas/r4/resources/substancesourcematerial.py index 15fae0be..0bd0cc34 100644 --- a/spark_fhir_schemas/r4/resources/substancesourcematerial.py +++ b/spark_fhir_schemas/r4/resources/substancesourcematerial.py @@ -608,17 +608,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/substancespecification.py b/spark_fhir_schemas/r4/resources/substancespecification.py index 6cc96ec7..c5527f51 100644 --- a/spark_fhir_schemas/r4/resources/substancespecification.py +++ b/spark_fhir_schemas/r4/resources/substancespecification.py @@ -697,17 +697,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/supplydelivery.py b/spark_fhir_schemas/r4/resources/supplydelivery.py index 994752bd..269736d2 100644 --- a/spark_fhir_schemas/r4/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4/resources/supplydelivery.py @@ -560,17 +560,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/supplyrequest.py b/spark_fhir_schemas/r4/resources/supplyrequest.py index 76084493..cb94a78f 100644 --- a/spark_fhir_schemas/r4/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4/resources/supplyrequest.py @@ -678,17 +678,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/task.py b/spark_fhir_schemas/r4/resources/task.py index 089c9199..506f7f96 100644 --- a/spark_fhir_schemas/r4/resources/task.py +++ b/spark_fhir_schemas/r4/resources/task.py @@ -942,17 +942,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/terminologycapabilities.py b/spark_fhir_schemas/r4/resources/terminologycapabilities.py index a0354fd9..e5b64a38 100644 --- a/spark_fhir_schemas/r4/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4/resources/terminologycapabilities.py @@ -792,17 +792,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/testreport.py b/spark_fhir_schemas/r4/resources/testreport.py index 60d5368e..5ac503cf 100644 --- a/spark_fhir_schemas/r4/resources/testreport.py +++ b/spark_fhir_schemas/r4/resources/testreport.py @@ -507,17 +507,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/testscript.py b/spark_fhir_schemas/r4/resources/testscript.py index 2bc3853e..b0f7a61d 100644 --- a/spark_fhir_schemas/r4/resources/testscript.py +++ b/spark_fhir_schemas/r4/resources/testscript.py @@ -815,17 +815,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/valueset.py b/spark_fhir_schemas/r4/resources/valueset.py index 79c283a3..46ebefc0 100644 --- a/spark_fhir_schemas/r4/resources/valueset.py +++ b/spark_fhir_schemas/r4/resources/valueset.py @@ -656,17 +656,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/verificationresult.py b/spark_fhir_schemas/r4/resources/verificationresult.py index 29454c1b..01a98642 100644 --- a/spark_fhir_schemas/r4/resources/verificationresult.py +++ b/spark_fhir_schemas/r4/resources/verificationresult.py @@ -589,17 +589,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4/resources/visionprescription.py b/spark_fhir_schemas/r4/resources/visionprescription.py index d5608add..bc6e110f 100644 --- a/spark_fhir_schemas/r4/resources/visionprescription.py +++ b/spark_fhir_schemas/r4/resources/visionprescription.py @@ -479,17 +479,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/account_coverage.py b/spark_fhir_schemas/r4b/complex_types/account_coverage.py index 052bd8fc..f3cd6794 100644 --- a/spark_fhir_schemas/r4b/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4b/complex_types/account_coverage.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/account_guarantor.py b/spark_fhir_schemas/r4b/complex_types/account_guarantor.py index 7a098203..df35b7e2 100644 --- a/spark_fhir_schemas/r4b/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4b/complex_types/account_guarantor.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4b/complex_types/activitydefinition_dynamicvalue.py index bef99d23..712af911 100644 --- a/spark_fhir_schemas/r4b/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4b/complex_types/activitydefinition_dynamicvalue.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4b/complex_types/activitydefinition_participant.py index 12786815..ec54e926 100644 --- a/spark_fhir_schemas/r4b/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/activitydefinition_participant.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/address.py b/spark_fhir_schemas/r4b/complex_types/address.py index f4bad7ea..b08b1c0c 100644 --- a/spark_fhir_schemas/r4b/complex_types/address.py +++ b/spark_fhir_schemas/r4b/complex_types/address.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_property.py b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_property.py index 3fdbccee..b6dbf138 100644 --- a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_property.py +++ b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_property.py @@ -279,17 +279,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_routeofadministration.py b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_routeofadministration.py index bebf1181..df44d8a2 100644 --- a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_routeofadministration.py +++ b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_routeofadministration.py @@ -317,17 +317,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_targetspecies.py b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_targetspecies.py index b2247ac1..0cf742f2 100644 --- a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_targetspecies.py +++ b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_targetspecies.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_withdrawalperiod.py b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_withdrawalperiod.py index c596e0e2..e912d1c7 100644 --- a/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_withdrawalperiod.py +++ b/spark_fhir_schemas/r4b/complex_types/administrableproductdefinition_withdrawalperiod.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4b/complex_types/adverseevent_causality.py index aab3c123..d3b97fa6 100644 --- a/spark_fhir_schemas/r4b/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4b/complex_types/adverseevent_causality.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4b/complex_types/adverseevent_suspectentity.py index bd3af2ab..2ac42970 100644 --- a/spark_fhir_schemas/r4b/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4b/complex_types/adverseevent_suspectentity.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/age.py b/spark_fhir_schemas/r4b/complex_types/age.py index 33c80f41..23a33aa3 100644 --- a/spark_fhir_schemas/r4b/complex_types/age.py +++ b/spark_fhir_schemas/r4b/complex_types/age.py @@ -177,17 +177,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4b/complex_types/allergyintolerance_reaction.py index d880cce6..7dc79d87 100644 --- a/spark_fhir_schemas/r4b/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4b/complex_types/allergyintolerance_reaction.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/annotation.py b/spark_fhir_schemas/r4b/complex_types/annotation.py index bd163187..6e7f408f 100644 --- a/spark_fhir_schemas/r4b/complex_types/annotation.py +++ b/spark_fhir_schemas/r4b/complex_types/annotation.py @@ -170,17 +170,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/appointment_participant.py b/spark_fhir_schemas/r4b/complex_types/appointment_participant.py index 4f67310f..d1447dba 100644 --- a/spark_fhir_schemas/r4b/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/appointment_participant.py @@ -269,17 +269,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/attachment.py b/spark_fhir_schemas/r4b/complex_types/attachment.py index b482732d..f52699b6 100644 --- a/spark_fhir_schemas/r4b/complex_types/attachment.py +++ b/spark_fhir_schemas/r4b/complex_types/attachment.py @@ -258,17 +258,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4b/complex_types/auditevent_agent.py index 6374dc77..32171a5c 100644 --- a/spark_fhir_schemas/r4b/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4b/complex_types/auditevent_agent.py @@ -371,17 +371,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4b/complex_types/auditevent_detail.py index 78468e95..416de884 100644 --- a/spark_fhir_schemas/r4b/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/auditevent_detail.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4b/complex_types/auditevent_entity.py index 787cbbd6..a1dfe0f3 100644 --- a/spark_fhir_schemas/r4b/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4b/complex_types/auditevent_entity.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/auditevent_network.py b/spark_fhir_schemas/r4b/complex_types/auditevent_network.py index 9187dc07..3ff219ce 100644 --- a/spark_fhir_schemas/r4b/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4b/complex_types/auditevent_network.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/auditevent_source.py b/spark_fhir_schemas/r4b/complex_types/auditevent_source.py index 269df319..02175d2d 100644 --- a/spark_fhir_schemas/r4b/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4b/complex_types/auditevent_source.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_collection.py index d3404122..b64fb915 100644 --- a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_collection.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_manipulation.py index 09142448..f0c62640 100644 --- a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_manipulation.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_processing.py index 1a19a9ae..3b388d4b 100644 --- a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_processing.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_storage.py index bdda24ae..aba031cf 100644 --- a/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4b/complex_types/biologicallyderivedproduct_storage.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/bundle_entry.py b/spark_fhir_schemas/r4b/complex_types/bundle_entry.py index 39dc560a..f3521509 100644 --- a/spark_fhir_schemas/r4b/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4b/complex_types/bundle_entry.py @@ -307,17 +307,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/bundle_link.py b/spark_fhir_schemas/r4b/complex_types/bundle_link.py index 3ad61c17..d695c4ae 100644 --- a/spark_fhir_schemas/r4b/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4b/complex_types/bundle_link.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/bundle_request.py b/spark_fhir_schemas/r4b/complex_types/bundle_request.py index 1e77947b..750cbb14 100644 --- a/spark_fhir_schemas/r4b/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4b/complex_types/bundle_request.py @@ -240,17 +240,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/bundle_response.py b/spark_fhir_schemas/r4b/complex_types/bundle_response.py index 89e2feac..efc21063 100644 --- a/spark_fhir_schemas/r4b/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4b/complex_types/bundle_response.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/bundle_search.py b/spark_fhir_schemas/r4b/complex_types/bundle_search.py index a37d8538..b4f5f3fd 100644 --- a/spark_fhir_schemas/r4b/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4b/complex_types/bundle_search.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_document.py index 59af5e5d..6c09b505 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_document.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_endpoint.py index fcb93742..e7aab928 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_endpoint.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_implementation.py index 07c82bdf..5ae39664 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_implementation.py @@ -212,17 +212,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction.py index b683f555..57a5f619 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction1.py index acbbdc1b..d899152b 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_interaction1.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_messaging.py index 7088a84f..fd72009f 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_messaging.py @@ -260,17 +260,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_operation.py index f77521b0..efced789 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_operation.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_resource.py index 30f5ddad..4fe6c2e9 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_resource.py @@ -475,17 +475,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_rest.py index 3ab259cf..f3249a83 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_rest.py @@ -365,17 +365,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_searchparam.py index 5b2e7c66..85297736 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_searchparam.py @@ -239,17 +239,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_security.py index 6a749f86..e5c75cb8 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_security.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_software.py index c7eaf7c5..5a386e51 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_software.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_supportedmessage.py index 3499fae6..738f93a7 100644 --- a/spark_fhir_schemas/r4b/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4b/complex_types/capabilitystatement_supportedmessage.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/careplan_activity.py b/spark_fhir_schemas/r4b/complex_types/careplan_activity.py index 51167553..640ef532 100644 --- a/spark_fhir_schemas/r4b/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4b/complex_types/careplan_activity.py @@ -283,17 +283,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/careplan_detail.py b/spark_fhir_schemas/r4b/complex_types/careplan_detail.py index e6ef75aa..730872b4 100644 --- a/spark_fhir_schemas/r4b/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/careplan_detail.py @@ -578,17 +578,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/careteam_participant.py b/spark_fhir_schemas/r4b/complex_types/careteam_participant.py index 6257b9ec..8bded18b 100644 --- a/spark_fhir_schemas/r4b/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/careteam_participant.py @@ -248,17 +248,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4b/complex_types/catalogentry_relatedentry.py index 2dc17a4b..10c3f607 100644 --- a/spark_fhir_schemas/r4b/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4b/complex_types/catalogentry_relatedentry.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4b/complex_types/chargeitem_performer.py index a60f3ed9..350469c2 100644 --- a/spark_fhir_schemas/r4b/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/chargeitem_performer.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_applicability.py index 8199acf6..2ffad1af 100644 --- a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_applicability.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_pricecomponent.py index 44c03af8..85d96357 100644 --- a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_pricecomponent.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_propertygroup.py index d4174f5e..ae8f1b5a 100644 --- a/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4b/complex_types/chargeitemdefinition_propertygroup.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_abstract.py b/spark_fhir_schemas/r4b/complex_types/citation_abstract.py index bb545930..63a29846 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_abstract.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_abstract.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_affiliationinfo.py b/spark_fhir_schemas/r4b/complex_types/citation_affiliationinfo.py index 4011381a..26e63f42 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_affiliationinfo.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_affiliationinfo.py @@ -190,17 +190,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_citedartifact.py b/spark_fhir_schemas/r4b/complex_types/citation_citedartifact.py index 4ae14a5b..df828972 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_citedartifact.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_citedartifact.py @@ -527,17 +527,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_classification.py b/spark_fhir_schemas/r4b/complex_types/citation_classification.py index 95cfee45..d00bbbd1 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_classification.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_classification.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_classification1.py b/spark_fhir_schemas/r4b/complex_types/citation_classification1.py index 3e1fda6d..82e329cc 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_classification1.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_classification1.py @@ -227,17 +227,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_contributioninstance.py b/spark_fhir_schemas/r4b/complex_types/citation_contributioninstance.py index 5d2dfe8a..570b79b0 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_contributioninstance.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_contributioninstance.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_contributorship.py b/spark_fhir_schemas/r4b/complex_types/citation_contributorship.py index 4cc98a9d..b67c3f28 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_contributorship.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_contributorship.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_dateofpublication.py b/spark_fhir_schemas/r4b/complex_types/citation_dateofpublication.py index 6b2e88ea..8a6c0f5d 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_dateofpublication.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_dateofpublication.py @@ -192,17 +192,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_entry.py b/spark_fhir_schemas/r4b/complex_types/citation_entry.py index 438df043..8714a1db 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_entry.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_entry.py @@ -384,17 +384,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_part.py b/spark_fhir_schemas/r4b/complex_types/citation_part.py index a20c4f30..2ae7700d 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_part.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_part.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_periodicrelease.py b/spark_fhir_schemas/r4b/complex_types/citation_periodicrelease.py index 6c6dfe5e..a52b0a9d 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_periodicrelease.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_periodicrelease.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_publicationform.py b/spark_fhir_schemas/r4b/complex_types/citation_publicationform.py index 04fa1b09..a4af70a5 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_publicationform.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_publicationform.py @@ -314,17 +314,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_publishedin.py b/spark_fhir_schemas/r4b/complex_types/citation_publishedin.py index 8d88d4eb..53fcb85c 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_publishedin.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_publishedin.py @@ -236,17 +236,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_relatesto.py b/spark_fhir_schemas/r4b/complex_types/citation_relatesto.py index 30fa969a..4f52fc19 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_relatesto.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_relatesto.py @@ -269,17 +269,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_relatesto1.py b/spark_fhir_schemas/r4b/complex_types/citation_relatesto1.py index 87b9ee17..58b2b7af 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_relatesto1.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_relatesto1.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_statusdate.py b/spark_fhir_schemas/r4b/complex_types/citation_statusdate.py index 60a8f8ad..0dbd0dff 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_statusdate.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_statusdate.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_statusdate1.py b/spark_fhir_schemas/r4b/complex_types/citation_statusdate1.py index 2cb1712c..43601983 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_statusdate1.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_statusdate1.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_summary.py b/spark_fhir_schemas/r4b/complex_types/citation_summary.py index a11d5b3c..e6837352 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_summary.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_summary.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_summary1.py b/spark_fhir_schemas/r4b/complex_types/citation_summary1.py index ac63d779..f9b7784b 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_summary1.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_summary1.py @@ -243,17 +243,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_title.py b/spark_fhir_schemas/r4b/complex_types/citation_title.py index d4f49bf8..832e86a0 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_title.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_title.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_version.py b/spark_fhir_schemas/r4b/complex_types/citation_version.py index f212e3ae..4871797f 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_version.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_version.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_weblocation.py b/spark_fhir_schemas/r4b/complex_types/citation_weblocation.py index 17844aac..8f10184a 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_weblocation.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_weblocation.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/citation_whoclassified.py b/spark_fhir_schemas/r4b/complex_types/citation_whoclassified.py index e9465fbd..9c3ed6d5 100644 --- a/spark_fhir_schemas/r4b/complex_types/citation_whoclassified.py +++ b/spark_fhir_schemas/r4b/complex_types/citation_whoclassified.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_accident.py b/spark_fhir_schemas/r4b/complex_types/claim_accident.py index a17a97e6..0de4b501 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_accident.py @@ -235,17 +235,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_careteam.py b/spark_fhir_schemas/r4b/complex_types/claim_careteam.py index 9050faad..219adfb6 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_careteam.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_detail.py b/spark_fhir_schemas/r4b/complex_types/claim_detail.py index b545b7a8..e00feace 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_detail.py @@ -432,17 +432,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4b/complex_types/claim_diagnosis.py index 4a87ca54..a3d6f22a 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_diagnosis.py @@ -288,17 +288,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_insurance.py b/spark_fhir_schemas/r4b/complex_types/claim_insurance.py index f792d4d2..b8c61711 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_insurance.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_item.py b/spark_fhir_schemas/r4b/complex_types/claim_item.py index b7f63705..e83919d5 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_item.py @@ -681,17 +681,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_payee.py b/spark_fhir_schemas/r4b/complex_types/claim_payee.py index c138bb13..17a670f3 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_payee.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_procedure.py b/spark_fhir_schemas/r4b/complex_types/claim_procedure.py index f25ea890..7021a978 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_procedure.py @@ -287,17 +287,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_related.py b/spark_fhir_schemas/r4b/complex_types/claim_related.py index 9fe0658b..df46b101 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_related.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4b/complex_types/claim_subdetail.py index 2014b832..97ca4dda 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_subdetail.py @@ -405,17 +405,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4b/complex_types/claim_supportinginfo.py index 39e043fc..349c17f9 100644 --- a/spark_fhir_schemas/r4b/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4b/complex_types/claim_supportinginfo.py @@ -361,17 +361,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_additem.py index 36380ad5..05431106 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_additem.py @@ -626,17 +626,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_adjudication.py index aad762bd..0f245a71 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_adjudication.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_detail.py index ebde5639..b7589194 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_detail.py @@ -248,17 +248,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_detail1.py index 1a1cde47..8b9bfacc 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_detail1.py @@ -372,17 +372,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_error.py index cdbf6ec0..b4e61244 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_error.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_insurance.py index 705914b6..185ecc59 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_insurance.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_item.py index c964688e..8f7b13f2 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_item.py @@ -252,17 +252,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_payment.py index 7688480b..d97179b6 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_payment.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_processnote.py index 3a3cba8a..cae4b340 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_processnote.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail.py index fa2c4aad..9a56d473 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail1.py index 1703f2b6..1c48ea78 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_subdetail1.py @@ -347,17 +347,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4b/complex_types/claimresponse_total.py index 6a71e476..8f7cf611 100644 --- a/spark_fhir_schemas/r4b/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4b/complex_types/claimresponse_total.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4b/complex_types/clinicalimpression_finding.py index 9fc8b50a..f29917ef 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalimpression_finding.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4b/complex_types/clinicalimpression_investigation.py index 33fa7a5a..361a5728 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalimpression_investigation.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_contraindication.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_contraindication.py index 5715e2b6..e89a10f1 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_contraindication.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_contraindication.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_indication.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_indication.py index ff0f6f87..7e331e14 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_indication.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_indication.py @@ -330,17 +330,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interactant.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interactant.py index 4c7de44f..3a340369 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interactant.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interactant.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interaction.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interaction.py index 18983b19..65323d13 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interaction.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_interaction.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_othertherapy.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_othertherapy.py index 2292a34f..a264f9ff 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_othertherapy.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_othertherapy.py @@ -206,17 +206,21 @@ class of products) as part of an indication or contraindication. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_undesirableeffect.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_undesirableeffect.py index 377f4224..f40c94c0 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_undesirableeffect.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_undesirableeffect.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_warning.py b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_warning.py index bc594257..fd020838 100644 --- a/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_warning.py +++ b/spark_fhir_schemas/r4b/complex_types/clinicalusedefinition_warning.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codeableconcept.py b/spark_fhir_schemas/r4b/complex_types/codeableconcept.py index d7605e0f..eb0281ee 100644 --- a/spark_fhir_schemas/r4b/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4b/complex_types/codeableconcept.py @@ -136,17 +136,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codeablereference.py b/spark_fhir_schemas/r4b/complex_types/codeablereference.py index c0817908..e10d5326 100644 --- a/spark_fhir_schemas/r4b/complex_types/codeablereference.py +++ b/spark_fhir_schemas/r4b/complex_types/codeablereference.py @@ -153,17 +153,21 @@ class to the degree of precision found in the terminology. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4b/complex_types/codesystem_concept.py index b8b035e9..05042c3f 100644 --- a/spark_fhir_schemas/r4b/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4b/complex_types/codesystem_concept.py @@ -270,17 +270,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4b/complex_types/codesystem_designation.py index 5e666029..6764d718 100644 --- a/spark_fhir_schemas/r4b/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4b/complex_types/codesystem_designation.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4b/complex_types/codesystem_filter.py index 8183939a..d94add83 100644 --- a/spark_fhir_schemas/r4b/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4b/complex_types/codesystem_filter.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codesystem_property.py b/spark_fhir_schemas/r4b/complex_types/codesystem_property.py index fac8f988..6eac89ca 100644 --- a/spark_fhir_schemas/r4b/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4b/complex_types/codesystem_property.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4b/complex_types/codesystem_property1.py index dba279d2..ff97c3e0 100644 --- a/spark_fhir_schemas/r4b/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4b/complex_types/codesystem_property1.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coding.py b/spark_fhir_schemas/r4b/complex_types/coding.py index 8adfa7e6..6855f748 100644 --- a/spark_fhir_schemas/r4b/complex_types/coding.py +++ b/spark_fhir_schemas/r4b/complex_types/coding.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/communication_payload.py b/spark_fhir_schemas/r4b/complex_types/communication_payload.py index 2f3e7152..e74b0a40 100644 --- a/spark_fhir_schemas/r4b/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4b/complex_types/communication_payload.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4b/complex_types/communicationrequest_payload.py index c5a15baf..d2a369c6 100644 --- a/spark_fhir_schemas/r4b/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4b/complex_types/communicationrequest_payload.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4b/complex_types/compartmentdefinition_resource.py index d9a91075..daa463b7 100644 --- a/spark_fhir_schemas/r4b/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4b/complex_types/compartmentdefinition_resource.py @@ -185,17 +185,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/composition_attester.py b/spark_fhir_schemas/r4b/complex_types/composition_attester.py index 89524d5f..bd430663 100644 --- a/spark_fhir_schemas/r4b/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4b/complex_types/composition_attester.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/composition_event.py b/spark_fhir_schemas/r4b/complex_types/composition_event.py index bd96e901..692e7f53 100644 --- a/spark_fhir_schemas/r4b/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4b/complex_types/composition_event.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4b/complex_types/composition_relatesto.py index 518570dd..df3caad0 100644 --- a/spark_fhir_schemas/r4b/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4b/complex_types/composition_relatesto.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/composition_section.py b/spark_fhir_schemas/r4b/complex_types/composition_section.py index 4fd9bf95..f9cdaa2e 100644 --- a/spark_fhir_schemas/r4b/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4b/complex_types/composition_section.py @@ -399,17 +399,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4b/complex_types/conceptmap_dependson.py index 3e32c68b..3084d691 100644 --- a/spark_fhir_schemas/r4b/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4b/complex_types/conceptmap_dependson.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4b/complex_types/conceptmap_element.py index d1bad7e7..4365ab7f 100644 --- a/spark_fhir_schemas/r4b/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4b/complex_types/conceptmap_element.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4b/complex_types/conceptmap_group.py index 6c199b9b..d64f1bb5 100644 --- a/spark_fhir_schemas/r4b/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4b/complex_types/conceptmap_group.py @@ -264,17 +264,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4b/complex_types/conceptmap_target.py index c7f421a6..f2ebfd45 100644 --- a/spark_fhir_schemas/r4b/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4b/complex_types/conceptmap_target.py @@ -269,17 +269,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4b/complex_types/conceptmap_unmapped.py index 8436d11c..332d9b8e 100644 --- a/spark_fhir_schemas/r4b/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4b/complex_types/conceptmap_unmapped.py @@ -239,17 +239,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/condition_evidence.py b/spark_fhir_schemas/r4b/complex_types/condition_evidence.py index 4912a244..1631fd38 100644 --- a/spark_fhir_schemas/r4b/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4b/complex_types/condition_evidence.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/condition_stage.py b/spark_fhir_schemas/r4b/complex_types/condition_stage.py index 96411aea..b079419a 100644 --- a/spark_fhir_schemas/r4b/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4b/complex_types/condition_stage.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/consent_actor.py b/spark_fhir_schemas/r4b/complex_types/consent_actor.py index 806a2e67..41f6de95 100644 --- a/spark_fhir_schemas/r4b/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4b/complex_types/consent_actor.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/consent_data.py b/spark_fhir_schemas/r4b/complex_types/consent_data.py index 5bc143d9..09fd293f 100644 --- a/spark_fhir_schemas/r4b/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4b/complex_types/consent_data.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/consent_policy.py b/spark_fhir_schemas/r4b/complex_types/consent_policy.py index 2c7f1e16..8bece5da 100644 --- a/spark_fhir_schemas/r4b/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4b/complex_types/consent_policy.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/consent_provision.py b/spark_fhir_schemas/r4b/complex_types/consent_provision.py index 37658c4a..09c01ee3 100644 --- a/spark_fhir_schemas/r4b/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4b/complex_types/consent_provision.py @@ -413,17 +413,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/consent_verification.py b/spark_fhir_schemas/r4b/complex_types/consent_verification.py index a906d5bb..ecd779a3 100644 --- a/spark_fhir_schemas/r4b/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4b/complex_types/consent_verification.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contactdetail.py b/spark_fhir_schemas/r4b/complex_types/contactdetail.py index 8e6d8c02..0ab9ef6c 100644 --- a/spark_fhir_schemas/r4b/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4b/complex_types/contactdetail.py @@ -132,17 +132,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contactpoint.py b/spark_fhir_schemas/r4b/complex_types/contactpoint.py index e818f663..bc415d24 100644 --- a/spark_fhir_schemas/r4b/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4b/complex_types/contactpoint.py @@ -165,17 +165,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_action.py b/spark_fhir_schemas/r4b/complex_types/contract_action.py index c8fcd963..93963987 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_action.py @@ -538,17 +538,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_answer.py b/spark_fhir_schemas/r4b/complex_types/contract_answer.py index b0d410da..a364617d 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_answer.py @@ -350,17 +350,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_asset.py b/spark_fhir_schemas/r4b/complex_types/contract_asset.py index 8d62bffa..1d94c6cc 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_asset.py @@ -449,17 +449,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4b/complex_types/contract_contentdefinition.py index 158b58db..a412f204 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_contentdefinition.py @@ -298,17 +298,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_context.py b/spark_fhir_schemas/r4b/complex_types/contract_context.py index 8fc84b1b..8b11371b 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_context.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_friendly.py b/spark_fhir_schemas/r4b/complex_types/contract_friendly.py index 73adddd2..219a4a36 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_friendly.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_legal.py b/spark_fhir_schemas/r4b/complex_types/contract_legal.py index af7d1f4a..7300b64a 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_legal.py @@ -193,17 +193,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_offer.py b/spark_fhir_schemas/r4b/complex_types/contract_offer.py index 5dd496c8..2f5a0ff3 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_offer.py @@ -351,17 +351,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_party.py b/spark_fhir_schemas/r4b/complex_types/contract_party.py index f8c11aec..5183833f 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_party.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_rule.py b/spark_fhir_schemas/r4b/complex_types/contract_rule.py index 21ce036a..0bd86134 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_rule.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4b/complex_types/contract_securitylabel.py index 8d6155f9..be705ae8 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_securitylabel.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_signer.py b/spark_fhir_schemas/r4b/complex_types/contract_signer.py index 2e590b5c..5576e352 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_signer.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_subject.py b/spark_fhir_schemas/r4b/complex_types/contract_subject.py index 03e7c7b1..443e11d4 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_subject.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_term.py b/spark_fhir_schemas/r4b/complex_types/contract_term.py index e6ff01ea..34e9bd34 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_term.py @@ -432,17 +432,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4b/complex_types/contract_valueditem.py index bb1847ff..8b4b78a6 100644 --- a/spark_fhir_schemas/r4b/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4b/complex_types/contract_valueditem.py @@ -457,17 +457,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/contributor.py b/spark_fhir_schemas/r4b/complex_types/contributor.py index 012be8bd..cc757dab 100644 --- a/spark_fhir_schemas/r4b/complex_types/contributor.py +++ b/spark_fhir_schemas/r4b/complex_types/contributor.py @@ -138,17 +138,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/count.py b/spark_fhir_schemas/r4b/complex_types/count.py index ce4f6c3f..1088d0b6 100644 --- a/spark_fhir_schemas/r4b/complex_types/count.py +++ b/spark_fhir_schemas/r4b/complex_types/count.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverage_class.py b/spark_fhir_schemas/r4b/complex_types/coverage_class.py index 8e32f7a8..ddbf23e2 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4b/complex_types/coverage_class.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4b/complex_types/coverage_costtobeneficiary.py index 36e9e4e3..80e5195a 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4b/complex_types/coverage_costtobeneficiary.py @@ -245,17 +245,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverage_exception.py b/spark_fhir_schemas/r4b/complex_types/coverage_exception.py index 5dfe80dd..9619eceb 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4b/complex_types/coverage_exception.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_diagnosis.py index 844665a7..654e4066 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_diagnosis.py @@ -210,17 +210,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_insurance.py index 310ac470..e487e4cb 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_insurance.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_item.py index c8c98f96..f7fe1642 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_item.py @@ -386,17 +386,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_supportinginfo.py index d3333a6e..2c33718f 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -219,17 +219,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_benefit.py index 1d4e4e80..194bbec8 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_benefit.py @@ -243,17 +243,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_error.py index 8990cf10..72542a6c 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_error.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_insurance.py index 147ea5aa..9bdd2076 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_insurance.py @@ -242,17 +242,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_item.py index 279fe985..bb49ccdc 100644 --- a/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4b/complex_types/coverageeligibilityresponse_item.py @@ -407,17 +407,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/datarequirement.py b/spark_fhir_schemas/r4b/complex_types/datarequirement.py index c504bc7c..2ade522f 100644 --- a/spark_fhir_schemas/r4b/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4b/complex_types/datarequirement.py @@ -329,17 +329,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4b/complex_types/datarequirement_codefilter.py index 18ffacb3..cc4e9c5b 100644 --- a/spark_fhir_schemas/r4b/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4b/complex_types/datarequirement_codefilter.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4b/complex_types/datarequirement_datefilter.py index 6bcd0530..6082e801 100644 --- a/spark_fhir_schemas/r4b/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4b/complex_types/datarequirement_datefilter.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4b/complex_types/datarequirement_sort.py index e1e7f812..93464300 100644 --- a/spark_fhir_schemas/r4b/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4b/complex_types/datarequirement_sort.py @@ -121,17 +121,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4b/complex_types/detectedissue_evidence.py index 4cebcc1f..e3c283b7 100644 --- a/spark_fhir_schemas/r4b/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4b/complex_types/detectedissue_evidence.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4b/complex_types/detectedissue_mitigation.py index 6d26374c..1d40ad5e 100644 --- a/spark_fhir_schemas/r4b/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4b/complex_types/detectedissue_mitigation.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/device_devicename.py b/spark_fhir_schemas/r4b/complex_types/device_devicename.py index e49f0598..0329e631 100644 --- a/spark_fhir_schemas/r4b/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4b/complex_types/device_devicename.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/device_property.py b/spark_fhir_schemas/r4b/complex_types/device_property.py index a71a6b5a..179dcb68 100644 --- a/spark_fhir_schemas/r4b/complex_types/device_property.py +++ b/spark_fhir_schemas/r4b/complex_types/device_property.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/device_specialization.py b/spark_fhir_schemas/r4b/complex_types/device_specialization.py index 84e92197..ed7a7007 100644 --- a/spark_fhir_schemas/r4b/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4b/complex_types/device_specialization.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4b/complex_types/device_udicarrier.py index 74c02ac6..ba904b66 100644 --- a/spark_fhir_schemas/r4b/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4b/complex_types/device_udicarrier.py @@ -282,17 +282,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/device_version.py b/spark_fhir_schemas/r4b/complex_types/device_version.py index 8e22d5e3..edb5bebd 100644 --- a/spark_fhir_schemas/r4b/complex_types/device_version.py +++ b/spark_fhir_schemas/r4b/complex_types/device_version.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_capability.py index 76aad3af..9392ea65 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_capability.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_devicename.py index 4c9397f1..64a9132e 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_devicename.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_material.py index 61143539..c5ad6140 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_material.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_property.py index 8a41c2a5..b2bc0d09 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_property.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_specialization.py index d2f7ea45..53a9aced 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_specialization.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4b/complex_types/devicedefinition_udideviceidentifier.py index 0b529226..b30be7ac 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4b/complex_types/devicedefinition_udideviceidentifier.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4b/complex_types/devicemetric_calibration.py index 50a4baeb..75a8cc7a 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4b/complex_types/devicemetric_calibration.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4b/complex_types/devicerequest_parameter.py index 85c26127..26002f35 100644 --- a/spark_fhir_schemas/r4b/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/devicerequest_parameter.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4b/complex_types/diagnosticreport_media.py index 122fccf4..1c66fdfb 100644 --- a/spark_fhir_schemas/r4b/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4b/complex_types/diagnosticreport_media.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/distance.py b/spark_fhir_schemas/r4b/complex_types/distance.py index 66cf6cc1..8a3d3727 100644 --- a/spark_fhir_schemas/r4b/complex_types/distance.py +++ b/spark_fhir_schemas/r4b/complex_types/distance.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4b/complex_types/documentmanifest_related.py index 8b62c2bf..fd563e63 100644 --- a/spark_fhir_schemas/r4b/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4b/complex_types/documentmanifest_related.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/documentreference_content.py b/spark_fhir_schemas/r4b/complex_types/documentreference_content.py index c2f4b423..88f87554 100644 --- a/spark_fhir_schemas/r4b/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4b/complex_types/documentreference_content.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/documentreference_context.py b/spark_fhir_schemas/r4b/complex_types/documentreference_context.py index 27b04f75..91084516 100644 --- a/spark_fhir_schemas/r4b/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4b/complex_types/documentreference_context.py @@ -324,17 +324,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4b/complex_types/documentreference_relatesto.py index 87690c76..023b0b09 100644 --- a/spark_fhir_schemas/r4b/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4b/complex_types/documentreference_relatesto.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/dosage.py b/spark_fhir_schemas/r4b/complex_types/dosage.py index d578292e..21ef3eb4 100644 --- a/spark_fhir_schemas/r4b/complex_types/dosage.py +++ b/spark_fhir_schemas/r4b/complex_types/dosage.py @@ -415,17 +415,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4b/complex_types/dosage_doseandrate.py index 0eec5128..b723f5af 100644 --- a/spark_fhir_schemas/r4b/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4b/complex_types/dosage_doseandrate.py @@ -275,17 +275,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/duration.py b/spark_fhir_schemas/r4b/complex_types/duration.py index 10ce87fa..2a754569 100644 --- a/spark_fhir_schemas/r4b/complex_types/duration.py +++ b/spark_fhir_schemas/r4b/complex_types/duration.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/element.py b/spark_fhir_schemas/r4b/complex_types/element.py index 5d252d47..e15daa33 100644 --- a/spark_fhir_schemas/r4b/complex_types/element.py +++ b/spark_fhir_schemas/r4b/complex_types/element.py @@ -100,17 +100,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition.py index b203c3f6..ca428a13 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition.py @@ -5199,17 +5199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_base.py index a1a88e08..b17c7414 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_base.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_binding.py index aa765226..7d1e43e7 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_binding.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_constraint.py index 3aa0e1e6..8d736f8e 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_constraint.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_discriminator.py index 7a36b061..321761ed 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_discriminator.py @@ -166,17 +166,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_example.py index 2f92fe04..32158b9b 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_example.py @@ -1032,17 +1032,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_mapping.py index 31da641e..52ad8d85 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_mapping.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_slicing.py index 54603453..d380e4a2 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_slicing.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4b/complex_types/elementdefinition_type.py index 7fb850fa..98f6324b 100644 --- a/spark_fhir_schemas/r4b/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4b/complex_types/elementdefinition_type.py @@ -266,17 +266,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4b/complex_types/encounter_classhistory.py index c0587bf4..bf6dfb8d 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_classhistory.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4b/complex_types/encounter_diagnosis.py index 9c0466fc..aa51e565 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_diagnosis.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4b/complex_types/encounter_hospitalization.py index 340502de..9f546115 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_hospitalization.py @@ -346,17 +346,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_location.py b/spark_fhir_schemas/r4b/complex_types/encounter_location.py index 3f80cc9b..9445999f 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_location.py @@ -243,17 +243,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_participant.py b/spark_fhir_schemas/r4b/complex_types/encounter_participant.py index 95a8c391..dd8f16b0 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_participant.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4b/complex_types/encounter_statushistory.py index f2676e55..f5a7a4a9 100644 --- a/spark_fhir_schemas/r4b/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4b/complex_types/encounter_statushistory.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4b/complex_types/episodeofcare_diagnosis.py index 908da2a5..cc7ef2ca 100644 --- a/spark_fhir_schemas/r4b/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4b/complex_types/episodeofcare_diagnosis.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4b/complex_types/episodeofcare_statushistory.py index fdef9131..38b0731e 100644 --- a/spark_fhir_schemas/r4b/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4b/complex_types/episodeofcare_statushistory.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_attributeestimate.py b/spark_fhir_schemas/r4b/complex_types/evidence_attributeestimate.py index f0c8dc09..e086e635 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_attributeestimate.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_attributeestimate.py @@ -296,17 +296,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_certainty.py b/spark_fhir_schemas/r4b/complex_types/evidence_certainty.py index 1b4c1f18..2425f356 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_certainty.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_certainty.py @@ -251,17 +251,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_modelcharacteristic.py b/spark_fhir_schemas/r4b/complex_types/evidence_modelcharacteristic.py index d0aeb248..13c6f803 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_modelcharacteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_modelcharacteristic.py @@ -254,17 +254,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_samplesize.py b/spark_fhir_schemas/r4b/complex_types/evidence_samplesize.py index fbc4c972..c6ea344a 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_samplesize.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_samplesize.py @@ -245,17 +245,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_statistic.py b/spark_fhir_schemas/r4b/complex_types/evidence_statistic.py index 6acc3efa..87313431 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_statistic.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_statistic.py @@ -368,17 +368,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_variable.py b/spark_fhir_schemas/r4b/complex_types/evidence_variable.py index ed319934..1e132fb4 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_variable.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_variable.py @@ -268,17 +268,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidence_variabledefinition.py b/spark_fhir_schemas/r4b/complex_types/evidence_variabledefinition.py index d38775b3..6ebf6ec6 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidence_variabledefinition.py +++ b/spark_fhir_schemas/r4b/complex_types/evidence_variabledefinition.py @@ -287,17 +287,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencereport_characteristic.py b/spark_fhir_schemas/r4b/complex_types/evidencereport_characteristic.py index d0e9e070..be7ae5dd 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencereport_characteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencereport_characteristic.py @@ -298,17 +298,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencereport_relatesto.py b/spark_fhir_schemas/r4b/complex_types/evidencereport_relatesto.py index 7c8f4323..22dc16bc 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencereport_relatesto.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencereport_relatesto.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencereport_section.py b/spark_fhir_schemas/r4b/complex_types/evidencereport_section.py index 16f870fc..9d9218fa 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencereport_section.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencereport_section.py @@ -420,17 +420,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencereport_subject.py b/spark_fhir_schemas/r4b/complex_types/evidencereport_subject.py index 70ee60c4..d1625b72 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencereport_subject.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencereport_subject.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencevariable_category.py b/spark_fhir_schemas/r4b/complex_types/evidencevariable_category.py index f71786f1..a7276aaa 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencevariable_category.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencevariable_category.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4b/complex_types/evidencevariable_characteristic.py index 72159763..53cb3511 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencevariable_characteristic.py @@ -350,17 +350,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/evidencevariable_timefromstart.py b/spark_fhir_schemas/r4b/complex_types/evidencevariable_timefromstart.py index 1cb4c730..9afaa28d 100644 --- a/spark_fhir_schemas/r4b/complex_types/evidencevariable_timefromstart.py +++ b/spark_fhir_schemas/r4b/complex_types/evidencevariable_timefromstart.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_actor.py index 5133932e..86dd3874 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_actor.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_alternative.py index e1167a4f..70b9d3bd 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_alternative.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_containedinstance.py index 8dcfc3ca..2415cc52 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_containedinstance.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_instance.py index 4f81c434..731cfbf6 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_instance.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_operation.py index 60caca69..66e5740e 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_operation.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_process.py index bce3d006..6fb191c5 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_process.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_step.py index 7f1b2a08..91415a6c 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_step.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4b/complex_types/examplescenario_version.py index 66c9bd3d..cd07b766 100644 --- a/spark_fhir_schemas/r4b/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4b/complex_types/examplescenario_version.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_accident.py index d08aef2a..c2cb81e3 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_accident.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_additem.py index 23ae701f..8cd2075b 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_additem.py @@ -629,17 +629,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_adjudication.py index 551e4314..9c3ab4fb 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_adjudication.py @@ -255,17 +255,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_benefitbalance.py index 4492a9d2..af5d394b 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_benefitbalance.py @@ -293,17 +293,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_careteam.py index 1db728f3..7801ce12 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_careteam.py @@ -256,17 +256,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail.py index b32abc11..44ebecf9 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail.py @@ -483,17 +483,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail1.py index 0a43d3ef..40be8712 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_detail1.py @@ -375,17 +375,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_diagnosis.py index efd30144..0d4052aa 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_diagnosis.py @@ -291,17 +291,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_financial.py index f61018bb..5a36e14f 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_financial.py @@ -239,17 +239,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_insurance.py index 2577ee60..fcd85d15 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_insurance.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_item.py index d1301e08..f5fc48a1 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_item.py @@ -736,17 +736,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payee.py index d3a14966..043de465 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payee.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payment.py index 01ddcd89..c72d7d8a 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_payment.py @@ -274,17 +274,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_procedure.py index 6ae8242c..f93abc2c 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_procedure.py @@ -290,17 +290,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_processnote.py index 896af588..1f82dd83 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_processnote.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_related.py index 2fdfd2c5..d3ed160b 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_related.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail.py index 54751910..10385df4 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail.py @@ -459,17 +459,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail1.py index cd7bb1ad..14387b1d 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_subdetail1.py @@ -350,17 +350,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_supportinginfo.py index db957680..8caf8f95 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_supportinginfo.py @@ -365,17 +365,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_total.py index ce0d11ed..34fac73f 100644 --- a/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4b/complex_types/explanationofbenefit_total.py @@ -207,17 +207,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/expression.py b/spark_fhir_schemas/r4b/complex_types/expression.py index 0ee0d5ff..51d1ed77 100644 --- a/spark_fhir_schemas/r4b/complex_types/expression.py +++ b/spark_fhir_schemas/r4b/complex_types/expression.py @@ -163,17 +163,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/extension.py b/spark_fhir_schemas/r4b/complex_types/extension.py index e6a90ebc..64093ee8 100644 --- a/spark_fhir_schemas/r4b/complex_types/extension.py +++ b/spark_fhir_schemas/r4b/complex_types/extension.py @@ -998,17 +998,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4b/complex_types/familymemberhistory_condition.py index 147bb665..ee4e3c35 100644 --- a/spark_fhir_schemas/r4b/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4b/complex_types/familymemberhistory_condition.py @@ -322,17 +322,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/goal_target.py b/spark_fhir_schemas/r4b/complex_types/goal_target.py index 44593e82..dca37e3a 100644 --- a/spark_fhir_schemas/r4b/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4b/complex_types/goal_target.py @@ -379,17 +379,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4b/complex_types/graphdefinition_compartment.py index 075d1884..f31f8446 100644 --- a/spark_fhir_schemas/r4b/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4b/complex_types/graphdefinition_compartment.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4b/complex_types/graphdefinition_link.py index cbaef707..0cb5e9f6 100644 --- a/spark_fhir_schemas/r4b/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4b/complex_types/graphdefinition_link.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4b/complex_types/graphdefinition_target.py index 0db8d5bd..e3ac0002 100644 --- a/spark_fhir_schemas/r4b/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4b/complex_types/graphdefinition_target.py @@ -251,17 +251,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/group_characteristic.py b/spark_fhir_schemas/r4b/complex_types/group_characteristic.py index 42584e6c..fab5d7ce 100644 --- a/spark_fhir_schemas/r4b/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/group_characteristic.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/group_member.py b/spark_fhir_schemas/r4b/complex_types/group_member.py index 05447de5..34399973 100644 --- a/spark_fhir_schemas/r4b/complex_types/group_member.py +++ b/spark_fhir_schemas/r4b/complex_types/group_member.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4b/complex_types/healthcareservice_availabletime.py index 92dbd5de..1e24311b 100644 --- a/spark_fhir_schemas/r4b/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4b/complex_types/healthcareservice_availabletime.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4b/complex_types/healthcareservice_eligibility.py index 803666b2..6e0e5062 100644 --- a/spark_fhir_schemas/r4b/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4b/complex_types/healthcareservice_eligibility.py @@ -196,17 +196,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4b/complex_types/healthcareservice_notavailable.py index 48ba8952..c7bb3f0c 100644 --- a/spark_fhir_schemas/r4b/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4b/complex_types/healthcareservice_notavailable.py @@ -179,17 +179,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/humanname.py b/spark_fhir_schemas/r4b/complex_types/humanname.py index 637b5b22..07c677ad 100644 --- a/spark_fhir_schemas/r4b/complex_types/humanname.py +++ b/spark_fhir_schemas/r4b/complex_types/humanname.py @@ -154,17 +154,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/identifier.py b/spark_fhir_schemas/r4b/complex_types/identifier.py index 1c9a8614..83848237 100644 --- a/spark_fhir_schemas/r4b/complex_types/identifier.py +++ b/spark_fhir_schemas/r4b/complex_types/identifier.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4b/complex_types/imagingstudy_instance.py index 5a4dc8a5..0a725969 100644 --- a/spark_fhir_schemas/r4b/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4b/complex_types/imagingstudy_instance.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4b/complex_types/imagingstudy_performer.py index 7a7f89b2..b85d5f22 100644 --- a/spark_fhir_schemas/r4b/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/imagingstudy_performer.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4b/complex_types/imagingstudy_series.py index 5c239d25..f2af6883 100644 --- a/spark_fhir_schemas/r4b/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4b/complex_types/imagingstudy_series.py @@ -428,17 +428,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunization_education.py b/spark_fhir_schemas/r4b/complex_types/immunization_education.py index e27abeaf..1e99a9c2 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4b/complex_types/immunization_education.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunization_performer.py b/spark_fhir_schemas/r4b/complex_types/immunization_performer.py index 6a12b3fb..b57d3093 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/immunization_performer.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4b/complex_types/immunization_protocolapplied.py index dea67256..dfca8074 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4b/complex_types/immunization_protocolapplied.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4b/complex_types/immunization_reaction.py index 9996eafb..59f6fb25 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4b/complex_types/immunization_reaction.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_datecriterion.py index 47d8f3ae..91c06b44 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_datecriterion.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_recommendation.py index 6bd98506..e95631f1 100644 --- a/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4b/complex_types/immunizationrecommendation_recommendation.py @@ -384,17 +384,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_definition.py index fe95ce31..0a58de75 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_definition.py @@ -289,17 +289,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_dependson.py index 590e6474..391ca878 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_dependson.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_global.py index 61bf3963..fe74e7cf 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_global.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_grouping.py index 95c4739a..575a6d44 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_grouping.py @@ -168,17 +168,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_manifest.py index 05328e84..07a0d1c0 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_manifest.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_page.py index 27db8dbc..341f6d42 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_page.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_page1.py index c5b2f487..b7050073 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_page1.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_parameter.py index 3e32403a..16c075cd 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_parameter.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_resource.py index 85ab4bcc..f4797d18 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_resource.py @@ -262,17 +262,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_resource1.py index 1a425cff..e1867aa0 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_resource1.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4b/complex_types/implementationguide_template.py index 9a91014f..713ce409 100644 --- a/spark_fhir_schemas/r4b/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4b/complex_types/implementationguide_template.py @@ -187,17 +187,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ingredient_manufacturer.py b/spark_fhir_schemas/r4b/complex_types/ingredient_manufacturer.py index fd1f177b..58aed90e 100644 --- a/spark_fhir_schemas/r4b/complex_types/ingredient_manufacturer.py +++ b/spark_fhir_schemas/r4b/complex_types/ingredient_manufacturer.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ingredient_referencestrength.py b/spark_fhir_schemas/r4b/complex_types/ingredient_referencestrength.py index 230d6863..402d2d4e 100644 --- a/spark_fhir_schemas/r4b/complex_types/ingredient_referencestrength.py +++ b/spark_fhir_schemas/r4b/complex_types/ingredient_referencestrength.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ingredient_strength.py b/spark_fhir_schemas/r4b/complex_types/ingredient_strength.py index e602df08..2a11a37f 100644 --- a/spark_fhir_schemas/r4b/complex_types/ingredient_strength.py +++ b/spark_fhir_schemas/r4b/complex_types/ingredient_strength.py @@ -331,17 +331,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ingredient_substance.py b/spark_fhir_schemas/r4b/complex_types/ingredient_substance.py index 2fb6589f..30e42549 100644 --- a/spark_fhir_schemas/r4b/complex_types/ingredient_substance.py +++ b/spark_fhir_schemas/r4b/complex_types/ingredient_substance.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit.py index 0c63f161..795b7539 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit1.py index 9b38178f..0ced39de 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_benefit1.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_contact.py index 11d6f872..2f39b034 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_contact.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_cost.py index 83bc75fa..9a636b8e 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_cost.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_coverage.py index a1fa913f..3c3f388f 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_coverage.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_generalcost.py index c4adf361..1de643c7 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_generalcost.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_limit.py index 984ba4c0..c54143bb 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_limit.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_plan.py index 9f143495..54a95f58 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_plan.py @@ -292,17 +292,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4b/complex_types/insuranceplan_specificcost.py index 2e0ef4b1..c2867152 100644 --- a/spark_fhir_schemas/r4b/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4b/complex_types/insuranceplan_specificcost.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4b/complex_types/invoice_lineitem.py index 1c8c16d9..f27b5d25 100644 --- a/spark_fhir_schemas/r4b/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4b/complex_types/invoice_lineitem.py @@ -259,17 +259,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/invoice_participant.py b/spark_fhir_schemas/r4b/complex_types/invoice_participant.py index 22e3c765..bbd59a43 100644 --- a/spark_fhir_schemas/r4b/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/invoice_participant.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4b/complex_types/invoice_pricecomponent.py index c675c6e4..ed89a23c 100644 --- a/spark_fhir_schemas/r4b/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4b/complex_types/invoice_pricecomponent.py @@ -243,17 +243,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/linkage_item.py b/spark_fhir_schemas/r4b/complex_types/linkage_item.py index b4f855d4..9272b0d2 100644 --- a/spark_fhir_schemas/r4b/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4b/complex_types/linkage_item.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/list_entry.py b/spark_fhir_schemas/r4b/complex_types/list_entry.py index 29814e01..6a1fa2a9 100644 --- a/spark_fhir_schemas/r4b/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4b/complex_types/list_entry.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4b/complex_types/location_hoursofoperation.py index 943e0535..0f5914c2 100644 --- a/spark_fhir_schemas/r4b/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4b/complex_types/location_hoursofoperation.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/location_position.py b/spark_fhir_schemas/r4b/complex_types/location_position.py index c7513401..8bb0339c 100644 --- a/spark_fhir_schemas/r4b/complex_types/location_position.py +++ b/spark_fhir_schemas/r4b/complex_types/location_position.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/manufactureditemdefinition_property.py b/spark_fhir_schemas/r4b/complex_types/manufactureditemdefinition_property.py index 54508a15..365ef929 100644 --- a/spark_fhir_schemas/r4b/complex_types/manufactureditemdefinition_property.py +++ b/spark_fhir_schemas/r4b/complex_types/manufactureditemdefinition_property.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/marketingstatus.py b/spark_fhir_schemas/r4b/complex_types/marketingstatus.py index 8887451f..62d74cc5 100644 --- a/spark_fhir_schemas/r4b/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4b/complex_types/marketingstatus.py @@ -286,17 +286,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measure_component.py b/spark_fhir_schemas/r4b/complex_types/measure_component.py index 0eb01d6d..1765f540 100644 --- a/spark_fhir_schemas/r4b/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4b/complex_types/measure_component.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measure_group.py b/spark_fhir_schemas/r4b/complex_types/measure_group.py index 7ec0ca18..d6d175e1 100644 --- a/spark_fhir_schemas/r4b/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4b/complex_types/measure_group.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measure_population.py b/spark_fhir_schemas/r4b/complex_types/measure_population.py index 1a396193..0f567771 100644 --- a/spark_fhir_schemas/r4b/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4b/complex_types/measure_population.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4b/complex_types/measure_stratifier.py index 441d037f..1c8f926b 100644 --- a/spark_fhir_schemas/r4b/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4b/complex_types/measure_stratifier.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4b/complex_types/measure_supplementaldata.py index 799abe88..caf52ea8 100644 --- a/spark_fhir_schemas/r4b/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4b/complex_types/measure_supplementaldata.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_component.py b/spark_fhir_schemas/r4b/complex_types/measurereport_component.py index 6fc8c20c..ad327d65 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_component.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_group.py b/spark_fhir_schemas/r4b/complex_types/measurereport_group.py index ed4f598a..e366bac7 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_group.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_population.py b/spark_fhir_schemas/r4b/complex_types/measurereport_population.py index 7edcb061..6de6baf7 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_population.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4b/complex_types/measurereport_population1.py index 1fbc35a6..e00371c9 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_population1.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4b/complex_types/measurereport_stratifier.py index a30e5c63..9b99c8e4 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_stratifier.py @@ -209,17 +209,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4b/complex_types/measurereport_stratum.py index e4b2321f..53c9cd3e 100644 --- a/spark_fhir_schemas/r4b/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4b/complex_types/measurereport_stratum.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medication_batch.py b/spark_fhir_schemas/r4b/complex_types/medication_batch.py index 13c7444d..51f931a0 100644 --- a/spark_fhir_schemas/r4b/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4b/complex_types/medication_batch.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4b/complex_types/medication_ingredient.py index c09ad691..88e88a4b 100644 --- a/spark_fhir_schemas/r4b/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4b/complex_types/medication_ingredient.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4b/complex_types/medicationadministration_dosage.py index c69e04bc..9b6f94c4 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationadministration_dosage.py @@ -327,17 +327,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4b/complex_types/medicationadministration_performer.py index 4c21bbda..1369f882 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationadministration_performer.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4b/complex_types/medicationdispense_performer.py index 4a190c89..9a815771 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationdispense_performer.py @@ -208,17 +208,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4b/complex_types/medicationdispense_substitution.py index 09dea4bd..51b5836d 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationdispense_substitution.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_administrationguidelines.py index 3ec8098c..0411555c 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_administrationguidelines.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_cost.py index 5f4d91b7..606720ef 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_cost.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_dosage.py index 69c996be..fdcf9fd2 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_dosage.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_drugcharacteristic.py index 3492e5ca..f758f845 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_drugcharacteristic.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_ingredient.py index b44a911f..f857458d 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_ingredient.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_kinetics.py index 8b06ebd9..446e6d88 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_kinetics.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_maxdispense.py index f0f46028..d0bb8c1e 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_maxdispense.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_medicineclassification.py index d421143f..46f4e6ed 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_medicineclassification.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monitoringprogram.py index dc18a573..c524b437 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monitoringprogram.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monograph.py index ef3c135b..101f2794 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_monograph.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_packaging.py index 8009c4e3..430948ac 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_packaging.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_patientcharacteristics.py index 4e42abf9..cc995e9a 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_patientcharacteristics.py @@ -206,17 +206,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_regulatory.py index d64c365b..46a45cc7 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_regulatory.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_relatedmedicationknowledge.py index 97dac645..812d1527 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_schedule.py index 7e525a48..51688d89 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_schedule.py @@ -175,17 +175,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_substitution.py index bb8de72f..1c7784af 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationknowledge_substitution.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4b/complex_types/medicationrequest_dispenserequest.py index 1ad2ae04..cb47347d 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationrequest_dispenserequest.py @@ -328,17 +328,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4b/complex_types/medicationrequest_initialfill.py index 96bd125e..aba0fd10 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationrequest_initialfill.py @@ -202,17 +202,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4b/complex_types/medicationrequest_substitution.py index be419bde..9f2c7194 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4b/complex_types/medicationrequest_substitution.py @@ -220,17 +220,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_characteristic.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_characteristic.py index 042f31e5..bc1b6707 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_characteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_characteristic.py @@ -265,17 +265,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_contact.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_contact.py index e7ab9a13..76bb4357 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_contact.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_contact.py @@ -210,17 +210,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_countrylanguage.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_countrylanguage.py index 07a9d40f..95033327 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_countrylanguage.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_countrylanguage.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_crossreference.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_crossreference.py index da6fba8d..92b5757c 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_crossreference.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_crossreference.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_name.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_name.py index a6feb996..236b59b6 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_name.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_name.py @@ -239,17 +239,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_namepart.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_namepart.py index dcaa6d25..f82fc641 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_namepart.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_namepart.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_operation.py b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_operation.py index 407d1a15..2677aae2 100644 --- a/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_operation.py +++ b/spark_fhir_schemas/r4b/complex_types/medicinalproductdefinition_operation.py @@ -264,17 +264,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4b/complex_types/messagedefinition_allowedresponse.py index 1c6f12e8..0741cf63 100644 --- a/spark_fhir_schemas/r4b/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4b/complex_types/messagedefinition_allowedresponse.py @@ -204,17 +204,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4b/complex_types/messagedefinition_focus.py index 22ed077c..c20db991 100644 --- a/spark_fhir_schemas/r4b/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4b/complex_types/messagedefinition_focus.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4b/complex_types/messageheader_destination.py index 9f32ae4a..fd9ed55f 100644 --- a/spark_fhir_schemas/r4b/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4b/complex_types/messageheader_destination.py @@ -229,17 +229,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/messageheader_response.py b/spark_fhir_schemas/r4b/complex_types/messageheader_response.py index 67a9a440..a6a92dd5 100644 --- a/spark_fhir_schemas/r4b/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4b/complex_types/messageheader_response.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/messageheader_source.py b/spark_fhir_schemas/r4b/complex_types/messageheader_source.py index fedaa287..310fbc70 100644 --- a/spark_fhir_schemas/r4b/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4b/complex_types/messageheader_source.py @@ -217,17 +217,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/meta.py b/spark_fhir_schemas/r4b/complex_types/meta.py index cc926a5c..3923adf0 100644 --- a/spark_fhir_schemas/r4b/complex_types/meta.py +++ b/spark_fhir_schemas/r4b/complex_types/meta.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_inner.py index 2a30b04e..33dbe575 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_inner.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_outer.py index fc67c667..0b2fa606 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_outer.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_quality.py index b96a85ab..aaf15eaa 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_quality.py @@ -501,17 +501,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_referenceseq.py index dfecb5ad..e4312340 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_referenceseq.py @@ -338,17 +338,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_repository.py index d16b7a99..94e93385 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_repository.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_roc.py index 060de1b7..d150b7ee 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_roc.py @@ -315,17 +315,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_structurevariant.py index f9a9895d..791e3d2a 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_structurevariant.py @@ -257,17 +257,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4b/complex_types/molecularsequence_variant.py index 0a17d888..3d413f12 100644 --- a/spark_fhir_schemas/r4b/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4b/complex_types/molecularsequence_variant.py @@ -259,17 +259,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/money.py b/spark_fhir_schemas/r4b/complex_types/money.py index df8bfe59..d85e26a0 100644 --- a/spark_fhir_schemas/r4b/complex_types/money.py +++ b/spark_fhir_schemas/r4b/complex_types/money.py @@ -142,17 +142,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4b/complex_types/namingsystem_uniqueid.py index d7c82e82..e63361d7 100644 --- a/spark_fhir_schemas/r4b/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4b/complex_types/namingsystem_uniqueid.py @@ -222,17 +222,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/narrative.py b/spark_fhir_schemas/r4b/complex_types/narrative.py index 648e8aa5..6eef42bc 100644 --- a/spark_fhir_schemas/r4b/complex_types/narrative.py +++ b/spark_fhir_schemas/r4b/complex_types/narrative.py @@ -132,17 +132,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_administration.py index 775a0e69..21bbe319 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_administration.py @@ -245,17 +245,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_enteralformula.py index b4aceaf5..af6b48a8 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_enteralformula.py @@ -323,17 +323,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_nutrient.py index 9434e91a..ce8ec711 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_nutrient.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_oraldiet.py index 68b9e372..794cc76d 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_oraldiet.py @@ -291,17 +291,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_supplement.py index 67480052..34257772 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_supplement.py @@ -238,17 +238,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4b/complex_types/nutritionorder_texture.py index 69b59074..2ed81e12 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionorder_texture.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_ingredient.py b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_ingredient.py index 36554268..e76d7adb 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_ingredient.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_ingredient.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_instance.py b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_instance.py index a2a16b36..828adfe7 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_instance.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_instance.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_nutrient.py b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_nutrient.py index b788924a..bb4cfd83 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_nutrient.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_nutrient.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_productcharacteristic.py b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_productcharacteristic.py index f7ee4cbf..5ab18477 100644 --- a/spark_fhir_schemas/r4b/complex_types/nutritionproduct_productcharacteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/nutritionproduct_productcharacteristic.py @@ -260,17 +260,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/observation_component.py b/spark_fhir_schemas/r4b/complex_types/observation_component.py index 9dcdb17d..cd718a86 100644 --- a/spark_fhir_schemas/r4b/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4b/complex_types/observation_component.py @@ -425,17 +425,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4b/complex_types/observation_referencerange.py index 21138ad9..5681e06c 100644 --- a/spark_fhir_schemas/r4b/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4b/complex_types/observation_referencerange.py @@ -294,17 +294,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4b/complex_types/observationdefinition_qualifiedinterval.py index fa2d3d6d..809bd7d6 100644 --- a/spark_fhir_schemas/r4b/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4b/complex_types/observationdefinition_qualifiedinterval.py @@ -317,17 +317,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4b/complex_types/observationdefinition_quantitativedetails.py index dc8b6e3d..afc6756d 100644 --- a/spark_fhir_schemas/r4b/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4b/complex_types/observationdefinition_quantitativedetails.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4b/complex_types/operationdefinition_binding.py index 6b70fca5..d28e8bff 100644 --- a/spark_fhir_schemas/r4b/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4b/complex_types/operationdefinition_binding.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4b/complex_types/operationdefinition_overload.py index 63e6d943..0f9770b1 100644 --- a/spark_fhir_schemas/r4b/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4b/complex_types/operationdefinition_overload.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4b/complex_types/operationdefinition_parameter.py index 1b66a187..7f30b8e0 100644 --- a/spark_fhir_schemas/r4b/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/operationdefinition_parameter.py @@ -381,17 +381,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4b/complex_types/operationdefinition_referencedfrom.py index 7b60243a..163e43a8 100644 --- a/spark_fhir_schemas/r4b/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4b/complex_types/operationdefinition_referencedfrom.py @@ -170,17 +170,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4b/complex_types/operationoutcome_issue.py index 4a898d7d..f6cdd89f 100644 --- a/spark_fhir_schemas/r4b/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4b/complex_types/operationoutcome_issue.py @@ -251,17 +251,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/organization_contact.py b/spark_fhir_schemas/r4b/complex_types/organization_contact.py index 9be20873..c51a37fe 100644 --- a/spark_fhir_schemas/r4b/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4b/complex_types/organization_contact.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_containeditem.py b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_containeditem.py index c24b1f9e..b8a06cf8 100644 --- a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_containeditem.py +++ b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_containeditem.py @@ -210,17 +210,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_legalstatusofsupply.py b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_legalstatusofsupply.py index cc6a56d5..7e604040 100644 --- a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_legalstatusofsupply.py +++ b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_legalstatusofsupply.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_package.py b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_package.py index 77793208..62e090f9 100644 --- a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_package.py +++ b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_package.py @@ -399,17 +399,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_property.py b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_property.py index a488c773..b4dfc3ec 100644 --- a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_property.py +++ b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_property.py @@ -255,17 +255,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_shelflifestorage.py b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_shelflifestorage.py index 39119f93..6b91490c 100644 --- a/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_shelflifestorage.py +++ b/spark_fhir_schemas/r4b/complex_types/packagedproductdefinition_shelflifestorage.py @@ -250,17 +250,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4b/complex_types/parameterdefinition.py index be145ceb..a9bfc28d 100644 --- a/spark_fhir_schemas/r4b/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4b/complex_types/parameterdefinition.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4b/complex_types/parameters_parameter.py index c3debb5d..f30e2080 100644 --- a/spark_fhir_schemas/r4b/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/parameters_parameter.py @@ -952,17 +952,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/patient_communication.py b/spark_fhir_schemas/r4b/complex_types/patient_communication.py index e18aa6dc..f9187b7b 100644 --- a/spark_fhir_schemas/r4b/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4b/complex_types/patient_communication.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/patient_contact.py b/spark_fhir_schemas/r4b/complex_types/patient_contact.py index 1f97de4c..6a81c64b 100644 --- a/spark_fhir_schemas/r4b/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4b/complex_types/patient_contact.py @@ -310,17 +310,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/patient_link.py b/spark_fhir_schemas/r4b/complex_types/patient_link.py index 2597c2f8..e97e965b 100644 --- a/spark_fhir_schemas/r4b/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4b/complex_types/patient_link.py @@ -193,17 +193,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_detail.py index d9554a7c..97b2bb89 100644 --- a/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_detail.py @@ -353,17 +353,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_processnote.py index 3bb26031..0e273a7b 100644 --- a/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4b/complex_types/paymentreconciliation_processnote.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/period.py b/spark_fhir_schemas/r4b/complex_types/period.py index 418ffbf0..31f71a3d 100644 --- a/spark_fhir_schemas/r4b/complex_types/period.py +++ b/spark_fhir_schemas/r4b/complex_types/period.py @@ -147,17 +147,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/person_link.py b/spark_fhir_schemas/r4b/complex_types/person_link.py index b5e9920c..0b1ff399 100644 --- a/spark_fhir_schemas/r4b/complex_types/person_link.py +++ b/spark_fhir_schemas/r4b/complex_types/person_link.py @@ -191,17 +191,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_action.py index 8eb8b342..50700c84 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_action.py @@ -879,17 +879,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_condition.py index 83b38ae8..edbe9385 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_condition.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_dynamicvalue.py index aad381de..68610deb 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_dynamicvalue.py @@ -198,17 +198,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_goal.py index 208a0b72..117fe77a 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_goal.py @@ -326,17 +326,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_participant.py index 57dfc9cc..75ed623f 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_participant.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_relatedaction.py index baf2e2f1..8fc8d48b 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_relatedaction.py @@ -248,17 +248,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4b/complex_types/plandefinition_target.py index 6a131c61..d06053c2 100644 --- a/spark_fhir_schemas/r4b/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4b/complex_types/plandefinition_target.py @@ -305,17 +305,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/population.py b/spark_fhir_schemas/r4b/complex_types/population.py index 1a5d9902..5757ebcf 100644 --- a/spark_fhir_schemas/r4b/complex_types/population.py +++ b/spark_fhir_schemas/r4b/complex_types/population.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4b/complex_types/practitioner_qualification.py index de950431..5e084d96 100644 --- a/spark_fhir_schemas/r4b/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4b/complex_types/practitioner_qualification.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4b/complex_types/practitionerrole_availabletime.py index 9e87fbc7..b5bf3294 100644 --- a/spark_fhir_schemas/r4b/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4b/complex_types/practitionerrole_availabletime.py @@ -235,17 +235,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4b/complex_types/practitionerrole_notavailable.py index 0c21f194..1733df98 100644 --- a/spark_fhir_schemas/r4b/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4b/complex_types/practitionerrole_notavailable.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4b/complex_types/procedure_focaldevice.py index 81fd52bc..1af3e6f1 100644 --- a/spark_fhir_schemas/r4b/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4b/complex_types/procedure_focaldevice.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/procedure_performer.py b/spark_fhir_schemas/r4b/complex_types/procedure_performer.py index e8f0edbb..8d064667 100644 --- a/spark_fhir_schemas/r4b/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4b/complex_types/procedure_performer.py @@ -221,17 +221,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4b/complex_types/prodcharacteristic.py index a2abc60f..62665e08 100644 --- a/spark_fhir_schemas/r4b/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/prodcharacteristic.py @@ -374,17 +374,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/productshelflife.py b/spark_fhir_schemas/r4b/complex_types/productshelflife.py index 8a8f6fc6..41b310da 100644 --- a/spark_fhir_schemas/r4b/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4b/complex_types/productshelflife.py @@ -258,17 +258,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/provenance_agent.py b/spark_fhir_schemas/r4b/complex_types/provenance_agent.py index a5170021..69938cc3 100644 --- a/spark_fhir_schemas/r4b/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4b/complex_types/provenance_agent.py @@ -253,17 +253,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/provenance_entity.py b/spark_fhir_schemas/r4b/complex_types/provenance_entity.py index a755c6d8..d2a7e99b 100644 --- a/spark_fhir_schemas/r4b/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4b/complex_types/provenance_entity.py @@ -240,17 +240,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/quantity.py b/spark_fhir_schemas/r4b/complex_types/quantity.py index c4f3c46d..d01fed02 100644 --- a/spark_fhir_schemas/r4b/complex_types/quantity.py +++ b/spark_fhir_schemas/r4b/complex_types/quantity.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4b/complex_types/questionnaire_answeroption.py index 6d5717e2..83832f12 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaire_answeroption.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4b/complex_types/questionnaire_enablewhen.py index 3c37d1a1..ec88a95d 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaire_enablewhen.py @@ -304,17 +304,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4b/complex_types/questionnaire_initial.py index ab71a15c..57c40755 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaire_initial.py @@ -282,17 +282,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4b/complex_types/questionnaire_item.py index ccec6cb7..6d26aef5 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaire_item.py @@ -472,17 +472,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_answer.py index 575e9430..72fae00b 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_answer.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_item.py index 0d11ed39..5aa234f5 100644 --- a/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4b/complex_types/questionnaireresponse_item.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/range.py b/spark_fhir_schemas/r4b/complex_types/range.py index 92d8e0c5..14ee125a 100644 --- a/spark_fhir_schemas/r4b/complex_types/range.py +++ b/spark_fhir_schemas/r4b/complex_types/range.py @@ -141,17 +141,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ratio.py b/spark_fhir_schemas/r4b/complex_types/ratio.py index 9c486b55..2c665e1e 100644 --- a/spark_fhir_schemas/r4b/complex_types/ratio.py +++ b/spark_fhir_schemas/r4b/complex_types/ratio.py @@ -143,17 +143,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/ratiorange.py b/spark_fhir_schemas/r4b/complex_types/ratiorange.py index d4db72da..e33f373f 100644 --- a/spark_fhir_schemas/r4b/complex_types/ratiorange.py +++ b/spark_fhir_schemas/r4b/complex_types/ratiorange.py @@ -162,17 +162,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/reference.py b/spark_fhir_schemas/r4b/complex_types/reference.py index 0b66f254..caf00ded 100644 --- a/spark_fhir_schemas/r4b/complex_types/reference.py +++ b/spark_fhir_schemas/r4b/complex_types/reference.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/regulatedauthorization_case.py b/spark_fhir_schemas/r4b/complex_types/regulatedauthorization_case.py index 9c813ce1..57e9ab5a 100644 --- a/spark_fhir_schemas/r4b/complex_types/regulatedauthorization_case.py +++ b/spark_fhir_schemas/r4b/complex_types/regulatedauthorization_case.py @@ -283,17 +283,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/relatedartifact.py b/spark_fhir_schemas/r4b/complex_types/relatedartifact.py index 5e138568..4d879229 100644 --- a/spark_fhir_schemas/r4b/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4b/complex_types/relatedartifact.py @@ -211,17 +211,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4b/complex_types/relatedperson_communication.py index 798511eb..712d1ff7 100644 --- a/spark_fhir_schemas/r4b/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4b/complex_types/relatedperson_communication.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4b/complex_types/requestgroup_action.py index b8a2122a..63c6e636 100644 --- a/spark_fhir_schemas/r4b/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4b/complex_types/requestgroup_action.py @@ -609,17 +609,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4b/complex_types/requestgroup_condition.py index 3b676cc8..0c518e0d 100644 --- a/spark_fhir_schemas/r4b/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4b/complex_types/requestgroup_condition.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4b/complex_types/requestgroup_relatedaction.py index 02a96d4c..c5f6af00 100644 --- a/spark_fhir_schemas/r4b/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4b/complex_types/requestgroup_relatedaction.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4b/complex_types/researchelementdefinition_characteristic.py index e0456ee2..33c480df 100644 --- a/spark_fhir_schemas/r4b/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4b/complex_types/researchelementdefinition_characteristic.py @@ -529,17 +529,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4b/complex_types/researchstudy_arm.py index d654aebe..3f195610 100644 --- a/spark_fhir_schemas/r4b/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4b/complex_types/researchstudy_arm.py @@ -194,17 +194,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4b/complex_types/researchstudy_objective.py index 1d68f280..db708c05 100644 --- a/spark_fhir_schemas/r4b/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4b/complex_types/researchstudy_objective.py @@ -188,17 +188,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4b/complex_types/riskassessment_prediction.py index 3b08bbed..4aa59c97 100644 --- a/spark_fhir_schemas/r4b/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4b/complex_types/riskassessment_prediction.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/sampleddata.py b/spark_fhir_schemas/r4b/complex_types/sampleddata.py index 9dfe5a45..0a3151a0 100644 --- a/spark_fhir_schemas/r4b/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4b/complex_types/sampleddata.py @@ -246,17 +246,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4b/complex_types/searchparameter_component.py index 2f1ce168..010beeea 100644 --- a/spark_fhir_schemas/r4b/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4b/complex_types/searchparameter_component.py @@ -180,17 +180,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/signature.py b/spark_fhir_schemas/r4b/complex_types/signature.py index 16187d02..72d1b6ea 100644 --- a/spark_fhir_schemas/r4b/complex_types/signature.py +++ b/spark_fhir_schemas/r4b/complex_types/signature.py @@ -272,17 +272,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimen_collection.py b/spark_fhir_schemas/r4b/complex_types/specimen_collection.py index 4425dc6f..314483f7 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4b/complex_types/specimen_collection.py @@ -343,17 +343,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimen_container.py b/spark_fhir_schemas/r4b/complex_types/specimen_container.py index 2baf9023..f89af980 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4b/complex_types/specimen_container.py @@ -293,17 +293,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimen_processing.py b/spark_fhir_schemas/r4b/complex_types/specimen_processing.py index 1788a2d8..66aed769 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4b/complex_types/specimen_processing.py @@ -241,17 +241,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4b/complex_types/specimendefinition_additive.py index 0a15e9f4..f344688d 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4b/complex_types/specimendefinition_additive.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4b/complex_types/specimendefinition_container.py index d61db8f6..33f1d2d6 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4b/complex_types/specimendefinition_container.py @@ -297,17 +297,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4b/complex_types/specimendefinition_handling.py index 5e87567b..841099ed 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4b/complex_types/specimendefinition_handling.py @@ -228,17 +228,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4b/complex_types/specimendefinition_typetested.py index 72732d12..7dc5d51a 100644 --- a/spark_fhir_schemas/r4b/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4b/complex_types/specimendefinition_typetested.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4b/complex_types/structuredefinition_context.py index 8082b423..80674c1b 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4b/complex_types/structuredefinition_context.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4b/complex_types/structuredefinition_differential.py index 2c9215bd..c83d21f6 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4b/complex_types/structuredefinition_differential.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4b/complex_types/structuredefinition_mapping.py index 4dd09ff6..231860b7 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4b/complex_types/structuredefinition_mapping.py @@ -211,17 +211,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4b/complex_types/structuredefinition_snapshot.py index b148f625..ac91eda9 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4b/complex_types/structuredefinition_snapshot.py @@ -181,17 +181,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4b/complex_types/structuremap_dependent.py index 898866d7..1ab3ce97 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_dependent.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_group.py b/spark_fhir_schemas/r4b/complex_types/structuremap_group.py index 9ba20710..b727bb18 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_group.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_input.py b/spark_fhir_schemas/r4b/complex_types/structuremap_input.py index 5a777445..75e4a46f 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_input.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4b/complex_types/structuremap_parameter.py index 10ac28f1..dbbb5589 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_parameter.py @@ -182,17 +182,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4b/complex_types/structuremap_rule.py index b63dfe9c..7bec2076 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_rule.py @@ -273,17 +273,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_source.py b/spark_fhir_schemas/r4b/complex_types/structuremap_source.py index a14e34ee..65e2c174 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_source.py @@ -1022,17 +1022,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4b/complex_types/structuremap_structure.py index f6345fac..13ae5fa2 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_structure.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/structuremap_target.py b/spark_fhir_schemas/r4b/complex_types/structuremap_target.py index f36f814a..2802d29c 100644 --- a/spark_fhir_schemas/r4b/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4b/complex_types/structuremap_target.py @@ -306,17 +306,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscription_channel.py b/spark_fhir_schemas/r4b/complex_types/subscription_channel.py index 7563fc4d..0ca3a270 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4b/complex_types/subscription_channel.py @@ -231,17 +231,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptionstatus_notificationevent.py b/spark_fhir_schemas/r4b/complex_types/subscriptionstatus_notificationevent.py index 10dcf3a4..b6f94641 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptionstatus_notificationevent.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptionstatus_notificationevent.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_canfilterby.py b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_canfilterby.py index 659e8328..c3d2d024 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_canfilterby.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_canfilterby.py @@ -263,17 +263,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_eventtrigger.py b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_eventtrigger.py index 2a25e2ac..ed89a90f 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_eventtrigger.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_eventtrigger.py @@ -237,17 +237,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_notificationshape.py b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_notificationshape.py index 521f56bb..0a15b4e2 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_notificationshape.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_notificationshape.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_querycriteria.py b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_querycriteria.py index 987a5cd2..0523a3dc 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_querycriteria.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_querycriteria.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_resourcetrigger.py b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_resourcetrigger.py index 19393aa8..8fc876ac 100644 --- a/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_resourcetrigger.py +++ b/spark_fhir_schemas/r4b/complex_types/subscriptiontopic_resourcetrigger.py @@ -270,17 +270,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4b/complex_types/substance_ingredient.py index 3e73607c..39513363 100644 --- a/spark_fhir_schemas/r4b/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4b/complex_types/substance_ingredient.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substance_instance.py b/spark_fhir_schemas/r4b/complex_types/substance_instance.py index 9b410602..417d6720 100644 --- a/spark_fhir_schemas/r4b/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4b/complex_types/substance_instance.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_code.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_code.py index d77ec5e5..e2bc7682 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_code.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_code.py @@ -265,17 +265,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_moiety.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_moiety.py index 987b6df5..05bc53bd 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_moiety.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_moiety.py @@ -298,17 +298,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_molecularweight.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_molecularweight.py index 4065f139..593f9505 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_molecularweight.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_molecularweight.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_name.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_name.py index 6438e943..bca41275 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_name.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_name.py @@ -371,17 +371,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_official.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_official.py index e9eda1a2..29857514 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_official.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_official.py @@ -218,17 +218,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_property.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_property.py index a3be1052..50f21abb 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_property.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_property.py @@ -255,17 +255,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_relationship.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_relationship.py index 5660df9c..c2c7d623 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_relationship.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_relationship.py @@ -357,17 +357,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_representation.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_representation.py index 907b4d27..335315d1 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_representation.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_representation.py @@ -232,17 +232,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_sourcematerial.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_sourcematerial.py index 2652a3c0..857624e3 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_sourcematerial.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_sourcematerial.py @@ -267,17 +267,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/substancedefinition_structure.py b/spark_fhir_schemas/r4b/complex_types/substancedefinition_structure.py index e807f2f6..71c3011b 100644 --- a/spark_fhir_schemas/r4b/complex_types/substancedefinition_structure.py +++ b/spark_fhir_schemas/r4b/complex_types/substancedefinition_structure.py @@ -304,17 +304,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4b/complex_types/supplydelivery_supplieditem.py index 4b5a8b90..e912607e 100644 --- a/spark_fhir_schemas/r4b/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4b/complex_types/supplydelivery_supplieditem.py @@ -224,17 +224,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4b/complex_types/supplyrequest_parameter.py index 2f1b40c5..f876d891 100644 --- a/spark_fhir_schemas/r4b/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/supplyrequest_parameter.py @@ -249,17 +249,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/task_input.py b/spark_fhir_schemas/r4b/complex_types/task_input.py index 894a1e2d..551932dc 100644 --- a/spark_fhir_schemas/r4b/complex_types/task_input.py +++ b/spark_fhir_schemas/r4b/complex_types/task_input.py @@ -919,17 +919,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/task_output.py b/spark_fhir_schemas/r4b/complex_types/task_output.py index d64487f3..ecc44e34 100644 --- a/spark_fhir_schemas/r4b/complex_types/task_output.py +++ b/spark_fhir_schemas/r4b/complex_types/task_output.py @@ -917,17 +917,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/task_restriction.py b/spark_fhir_schemas/r4b/complex_types/task_restriction.py index e01001cb..d43983e0 100644 --- a/spark_fhir_schemas/r4b/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4b/complex_types/task_restriction.py @@ -216,17 +216,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_closure.py index 48729cad..aa429cb9 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_closure.py @@ -167,17 +167,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_codesystem.py index 376d340c..5b1b4372 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_codesystem.py @@ -215,17 +215,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_expansion.py index 594b9487..4e127937 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_expansion.py @@ -223,17 +223,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_filter.py index 9b7eb465..1e1d291d 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_filter.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_implementation.py index 0ca4e2bb..d07bcbe2 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_implementation.py @@ -185,17 +185,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_parameter.py index 1df69ba5..c5e81ff9 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_parameter.py @@ -183,17 +183,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_software.py index fc5ba7ad..72666a8b 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_software.py @@ -164,17 +164,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_translation.py index 7fa6f7d5..3f615403 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_translation.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_validatecode.py index e24c3a72..3b2fa809 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_validatecode.py @@ -169,17 +169,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_version.py index 464cf9c1..4135b668 100644 --- a/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4b/complex_types/terminologycapabilities_version.py @@ -247,17 +247,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_action.py b/spark_fhir_schemas/r4b/complex_types/testreport_action.py index dafbcaad..c4164cfb 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_action.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_action1.py b/spark_fhir_schemas/r4b/complex_types/testreport_action1.py index ab95b299..c4b1c230 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_action1.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_action2.py b/spark_fhir_schemas/r4b/complex_types/testreport_action2.py index 3dd14e31..955e14ac 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_action2.py @@ -172,17 +172,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_assert.py b/spark_fhir_schemas/r4b/complex_types/testreport_assert.py index 3f06b51e..8eb58664 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_assert.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_operation.py b/spark_fhir_schemas/r4b/complex_types/testreport_operation.py index 41eb6464..bbd171e8 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_operation.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_participant.py b/spark_fhir_schemas/r4b/complex_types/testreport_participant.py index 2749ba4d..90a43e72 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_participant.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_setup.py b/spark_fhir_schemas/r4b/complex_types/testreport_setup.py index 3d7bc504..beba2191 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_setup.py @@ -174,17 +174,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4b/complex_types/testreport_teardown.py index dafd1e25..9b5ec444 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_teardown.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testreport_test.py b/spark_fhir_schemas/r4b/complex_types/testreport_test.py index 1a764031..107b17b5 100644 --- a/spark_fhir_schemas/r4b/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4b/complex_types/testreport_test.py @@ -184,17 +184,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_action.py b/spark_fhir_schemas/r4b/complex_types/testscript_action.py index d7f977cd..649386b1 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_action.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_action1.py b/spark_fhir_schemas/r4b/complex_types/testscript_action1.py index 72c7e6ed..9315c45e 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_action1.py @@ -199,17 +199,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_action2.py b/spark_fhir_schemas/r4b/complex_types/testscript_action2.py index 8bed2112..78403529 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_action2.py @@ -174,17 +174,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_assert.py b/spark_fhir_schemas/r4b/complex_types/testscript_assert.py index 14edba80..2970ceb0 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_assert.py @@ -406,17 +406,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_capability.py b/spark_fhir_schemas/r4b/complex_types/testscript_capability.py index e147e0fc..e3af148f 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_capability.py @@ -271,17 +271,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_destination.py b/spark_fhir_schemas/r4b/complex_types/testscript_destination.py index 08034df1..b6763621 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_destination.py @@ -197,17 +197,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4b/complex_types/testscript_fixture.py index 79eb18ed..fde74e1c 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_fixture.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_link.py b/spark_fhir_schemas/r4b/complex_types/testscript_link.py index 3f9ebb0d..ce37418d 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_link.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4b/complex_types/testscript_metadata.py index 6cb70bd2..c606ecb2 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_metadata.py @@ -205,17 +205,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_operation.py b/spark_fhir_schemas/r4b/complex_types/testscript_operation.py index 6bfbfb58..761ed796 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_operation.py @@ -445,17 +445,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_origin.py b/spark_fhir_schemas/r4b/complex_types/testscript_origin.py index 229f897d..73775340 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_origin.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4b/complex_types/testscript_requestheader.py index e1665be8..3da4cefc 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_requestheader.py @@ -161,17 +161,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_setup.py b/spark_fhir_schemas/r4b/complex_types/testscript_setup.py index fe0a3097..6d538b9b 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_setup.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4b/complex_types/testscript_teardown.py index acc10a46..4b31e738 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_teardown.py @@ -178,17 +178,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_test.py b/spark_fhir_schemas/r4b/complex_types/testscript_test.py index 362de5dc..44b59eec 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_test.py @@ -186,17 +186,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/testscript_variable.py b/spark_fhir_schemas/r4b/complex_types/testscript_variable.py index 84ce6c38..4a6eace5 100644 --- a/spark_fhir_schemas/r4b/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4b/complex_types/testscript_variable.py @@ -214,17 +214,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/timing.py b/spark_fhir_schemas/r4b/complex_types/timing.py index 567f38f1..93a3fd66 100644 --- a/spark_fhir_schemas/r4b/complex_types/timing.py +++ b/spark_fhir_schemas/r4b/complex_types/timing.py @@ -233,17 +233,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/timing_repeat.py b/spark_fhir_schemas/r4b/complex_types/timing_repeat.py index 41334d9e..51d70f47 100644 --- a/spark_fhir_schemas/r4b/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4b/complex_types/timing_repeat.py @@ -498,17 +498,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4b/complex_types/triggerdefinition.py index 87e15f98..a416d1a9 100644 --- a/spark_fhir_schemas/r4b/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4b/complex_types/triggerdefinition.py @@ -225,17 +225,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/usagecontext.py b/spark_fhir_schemas/r4b/complex_types/usagecontext.py index d4a71e39..1ba133ce 100644 --- a/spark_fhir_schemas/r4b/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4b/complex_types/usagecontext.py @@ -226,17 +226,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_compose.py b/spark_fhir_schemas/r4b/complex_types/valueset_compose.py index e43ca19e..a44776bf 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_compose.py @@ -234,17 +234,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_concept.py b/spark_fhir_schemas/r4b/complex_types/valueset_concept.py index 6b66bb3b..0123f6ce 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_concept.py @@ -213,17 +213,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_contains.py b/spark_fhir_schemas/r4b/complex_types/valueset_contains.py index 67eef1ed..36a024dc 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_contains.py @@ -295,17 +295,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_designation.py b/spark_fhir_schemas/r4b/complex_types/valueset_designation.py index d2fb4fa1..b4e60832 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_designation.py @@ -203,17 +203,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4b/complex_types/valueset_expansion.py index 54c57ab3..91ef4d31 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_expansion.py @@ -310,17 +310,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_filter.py b/spark_fhir_schemas/r4b/complex_types/valueset_filter.py index a8862e44..1c2cbc8d 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_filter.py @@ -210,17 +210,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_include.py b/spark_fhir_schemas/r4b/complex_types/valueset_include.py index 7e68c111..2b1e91cf 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_include.py @@ -267,17 +267,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4b/complex_types/valueset_parameter.py index 2506e551..f9e61a6e 100644 --- a/spark_fhir_schemas/r4b/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4b/complex_types/valueset_parameter.py @@ -201,17 +201,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4b/complex_types/verificationresult_attestation.py index 34cc2985..e8c91d95 100644 --- a/spark_fhir_schemas/r4b/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4b/complex_types/verificationresult_attestation.py @@ -286,17 +286,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4b/complex_types/verificationresult_primarysource.py index f00ba51a..5d5e6191 100644 --- a/spark_fhir_schemas/r4b/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4b/complex_types/verificationresult_primarysource.py @@ -313,17 +313,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4b/complex_types/verificationresult_validator.py index cc25f4fb..1c90166d 100644 --- a/spark_fhir_schemas/r4b/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4b/complex_types/verificationresult_validator.py @@ -200,17 +200,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4b/complex_types/visionprescription_lensspecification.py index 647dc6e4..1c0e022e 100644 --- a/spark_fhir_schemas/r4b/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4b/complex_types/visionprescription_lensspecification.py @@ -421,17 +421,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4b/complex_types/visionprescription_prism.py index 39f8af38..0ab6104e 100644 --- a/spark_fhir_schemas/r4b/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4b/complex_types/visionprescription_prism.py @@ -195,17 +195,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/generate_schema.py b/spark_fhir_schemas/r4b/generate_schema.py index 5fffe3d6..22edc632 100644 --- a/spark_fhir_schemas/r4b/generate_schema.py +++ b/spark_fhir_schemas/r4b/generate_schema.py @@ -1,5 +1,6 @@ import json import os +from dataclasses import dataclass from pathlib import Path import shutil from typing import Any @@ -7,8 +8,6 @@ from typing import List from typing import Optional -from attr import dataclass - @dataclass class PropertyInfo: @@ -171,9 +170,11 @@ def main() -> int: ref_: Optional[str] = ( value["$ref"] if "$ref" in value and type_ != "array" - else value["items"]["$ref"] - if "items" in value and "$ref" in value["items"] - else None + else ( + value["items"]["$ref"] + if "items" in value and "$ref" in value["items"] + else None + ) ) # print(f"{key}:{value}") # type_ == None means string @@ -192,19 +193,25 @@ def main() -> int: [pi.UnderlyingDataType == reference_type for pi in properties_info] ), Description=description, - IsResourceType=reference_type.lower() in resources_dict - if reference_type - else False, - IsSimpleType=reference_type.lower() in simple_types - if reference_type - else (type_.lower() in simple_types if type_ else False), - IsComplexType=reference_type.lower() in complex_types - if reference_type - else False, - HideExtension=reference_type.lower() == "extension" - and resource_name in extensions_blocked_for_resources - if reference_type - else False, + IsResourceType=( + reference_type.lower() in resources_dict + if reference_type + else False + ), + IsSimpleType=( + reference_type.lower() in simple_types + if reference_type + else (type_.lower() in simple_types if type_ else False) + ), + IsComplexType=( + reference_type.lower() in complex_types if reference_type else False + ), + HideExtension=( + reference_type.lower() == "extension" + and resource_name in extensions_blocked_for_resources + if reference_type + else False + ), ) if resource_name.lower() == "extension": properties_info.append(property_info) diff --git a/spark_fhir_schemas/r4b/resources/account.py b/spark_fhir_schemas/r4b/resources/account.py index 4a1cfd17..d837d6e2 100644 --- a/spark_fhir_schemas/r4b/resources/account.py +++ b/spark_fhir_schemas/r4b/resources/account.py @@ -505,17 +505,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/activitydefinition.py b/spark_fhir_schemas/r4b/resources/activitydefinition.py index 3f312fb5..6d93cc31 100644 --- a/spark_fhir_schemas/r4b/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4b/resources/activitydefinition.py @@ -1425,17 +1425,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/administrableproductdefinition.py b/spark_fhir_schemas/r4b/resources/administrableproductdefinition.py index b0d8da7e..bc64af89 100644 --- a/spark_fhir_schemas/r4b/resources/administrableproductdefinition.py +++ b/spark_fhir_schemas/r4b/resources/administrableproductdefinition.py @@ -576,17 +576,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/adverseevent.py b/spark_fhir_schemas/r4b/resources/adverseevent.py index 4e309138..aadedf30 100644 --- a/spark_fhir_schemas/r4b/resources/adverseevent.py +++ b/spark_fhir_schemas/r4b/resources/adverseevent.py @@ -743,17 +743,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/allergyintolerance.py b/spark_fhir_schemas/r4b/resources/allergyintolerance.py index f749cfad..b3cea68b 100644 --- a/spark_fhir_schemas/r4b/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4b/resources/allergyintolerance.py @@ -738,17 +738,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/appointment.py b/spark_fhir_schemas/r4b/resources/appointment.py index 152dab2d..14cd7382 100644 --- a/spark_fhir_schemas/r4b/resources/appointment.py +++ b/spark_fhir_schemas/r4b/resources/appointment.py @@ -791,17 +791,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/appointmentresponse.py b/spark_fhir_schemas/r4b/resources/appointmentresponse.py index ce4be52a..80aebf7a 100644 --- a/spark_fhir_schemas/r4b/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4b/resources/appointmentresponse.py @@ -460,17 +460,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/auditevent.py b/spark_fhir_schemas/r4b/resources/auditevent.py index 4a29dadf..7d32cd4d 100644 --- a/spark_fhir_schemas/r4b/resources/auditevent.py +++ b/spark_fhir_schemas/r4b/resources/auditevent.py @@ -519,17 +519,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/basic.py b/spark_fhir_schemas/r4b/resources/basic.py index b54dd6f5..5b949b04 100644 --- a/spark_fhir_schemas/r4b/resources/basic.py +++ b/spark_fhir_schemas/r4b/resources/basic.py @@ -389,17 +389,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/binary.py b/spark_fhir_schemas/r4b/resources/binary.py index a408a936..aef9c26e 100644 --- a/spark_fhir_schemas/r4b/resources/binary.py +++ b/spark_fhir_schemas/r4b/resources/binary.py @@ -230,17 +230,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4b/resources/biologicallyderivedproduct.py index 0189fa7b..446ecff8 100644 --- a/spark_fhir_schemas/r4b/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4b/resources/biologicallyderivedproduct.py @@ -554,17 +554,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/bodystructure.py b/spark_fhir_schemas/r4b/resources/bodystructure.py index a1cf9b15..83926031 100644 --- a/spark_fhir_schemas/r4b/resources/bodystructure.py +++ b/spark_fhir_schemas/r4b/resources/bodystructure.py @@ -439,17 +439,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/bundle.py b/spark_fhir_schemas/r4b/resources/bundle.py index 83e4e5a7..f36fad49 100644 --- a/spark_fhir_schemas/r4b/resources/bundle.py +++ b/spark_fhir_schemas/r4b/resources/bundle.py @@ -308,17 +308,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/capabilitystatement.py b/spark_fhir_schemas/r4b/resources/capabilitystatement.py index ba1b1cbb..e1bb35b2 100644 --- a/spark_fhir_schemas/r4b/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4b/resources/capabilitystatement.py @@ -886,17 +886,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/careplan.py b/spark_fhir_schemas/r4b/resources/careplan.py index 71c861ad..3e529bed 100644 --- a/spark_fhir_schemas/r4b/resources/careplan.py +++ b/spark_fhir_schemas/r4b/resources/careplan.py @@ -792,17 +792,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/careteam.py b/spark_fhir_schemas/r4b/resources/careteam.py index 1902d7fa..bb184b2e 100644 --- a/spark_fhir_schemas/r4b/resources/careteam.py +++ b/spark_fhir_schemas/r4b/resources/careteam.py @@ -569,17 +569,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/catalogentry.py b/spark_fhir_schemas/r4b/resources/catalogentry.py index f03ef023..ab51faa9 100644 --- a/spark_fhir_schemas/r4b/resources/catalogentry.py +++ b/spark_fhir_schemas/r4b/resources/catalogentry.py @@ -565,17 +565,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/chargeitem.py b/spark_fhir_schemas/r4b/resources/chargeitem.py index 32ff73cc..0b6637c4 100644 --- a/spark_fhir_schemas/r4b/resources/chargeitem.py +++ b/spark_fhir_schemas/r4b/resources/chargeitem.py @@ -895,17 +895,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4b/resources/chargeitemdefinition.py index 4b7d4aea..be90c19c 100644 --- a/spark_fhir_schemas/r4b/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4b/resources/chargeitemdefinition.py @@ -789,17 +789,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/citation.py b/spark_fhir_schemas/r4b/resources/citation.py index 2d829542..7d45e128 100644 --- a/spark_fhir_schemas/r4b/resources/citation.py +++ b/spark_fhir_schemas/r4b/resources/citation.py @@ -881,17 +881,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/claim.py b/spark_fhir_schemas/r4b/resources/claim.py index ce963d2e..03582875 100644 --- a/spark_fhir_schemas/r4b/resources/claim.py +++ b/spark_fhir_schemas/r4b/resources/claim.py @@ -910,17 +910,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/claimresponse.py b/spark_fhir_schemas/r4b/resources/claimresponse.py index 40ced368..9f6a1277 100644 --- a/spark_fhir_schemas/r4b/resources/claimresponse.py +++ b/spark_fhir_schemas/r4b/resources/claimresponse.py @@ -876,17 +876,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/clinicalimpression.py b/spark_fhir_schemas/r4b/resources/clinicalimpression.py index 91da9b34..92baf4ed 100644 --- a/spark_fhir_schemas/r4b/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4b/resources/clinicalimpression.py @@ -737,17 +737,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/clinicalusedefinition.py b/spark_fhir_schemas/r4b/resources/clinicalusedefinition.py index 2d68b37c..cfb50d6d 100644 --- a/spark_fhir_schemas/r4b/resources/clinicalusedefinition.py +++ b/spark_fhir_schemas/r4b/resources/clinicalusedefinition.py @@ -548,17 +548,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/codesystem.py b/spark_fhir_schemas/r4b/resources/codesystem.py index 2d87f103..69d89bb0 100644 --- a/spark_fhir_schemas/r4b/resources/codesystem.py +++ b/spark_fhir_schemas/r4b/resources/codesystem.py @@ -804,17 +804,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/communication.py b/spark_fhir_schemas/r4b/resources/communication.py index a0d13c4d..50246dbf 100644 --- a/spark_fhir_schemas/r4b/resources/communication.py +++ b/spark_fhir_schemas/r4b/resources/communication.py @@ -819,17 +819,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/communicationrequest.py b/spark_fhir_schemas/r4b/resources/communicationrequest.py index 201f898a..7fcb3106 100644 --- a/spark_fhir_schemas/r4b/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4b/resources/communicationrequest.py @@ -789,17 +789,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/compartmentdefinition.py b/spark_fhir_schemas/r4b/resources/compartmentdefinition.py index 59d0d0a0..c6d494a7 100644 --- a/spark_fhir_schemas/r4b/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4b/resources/compartmentdefinition.py @@ -562,17 +562,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/composition.py b/spark_fhir_schemas/r4b/resources/composition.py index e00cc56b..78df2692 100644 --- a/spark_fhir_schemas/r4b/resources/composition.py +++ b/spark_fhir_schemas/r4b/resources/composition.py @@ -642,17 +642,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/conceptmap.py b/spark_fhir_schemas/r4b/resources/conceptmap.py index f1ea63f4..2bfcb759 100644 --- a/spark_fhir_schemas/r4b/resources/conceptmap.py +++ b/spark_fhir_schemas/r4b/resources/conceptmap.py @@ -640,17 +640,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/condition.py b/spark_fhir_schemas/r4b/resources/condition.py index a0d15d26..c0fdadfd 100644 --- a/spark_fhir_schemas/r4b/resources/condition.py +++ b/spark_fhir_schemas/r4b/resources/condition.py @@ -811,17 +811,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/consent.py b/spark_fhir_schemas/r4b/resources/consent.py index 42d537db..9966c74b 100644 --- a/spark_fhir_schemas/r4b/resources/consent.py +++ b/spark_fhir_schemas/r4b/resources/consent.py @@ -625,17 +625,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/contract.py b/spark_fhir_schemas/r4b/resources/contract.py index 0420437c..364e41fa 100644 --- a/spark_fhir_schemas/r4b/resources/contract.py +++ b/spark_fhir_schemas/r4b/resources/contract.py @@ -1072,17 +1072,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/coverage.py b/spark_fhir_schemas/r4b/resources/coverage.py index e79eba6a..3222e5fa 100644 --- a/spark_fhir_schemas/r4b/resources/coverage.py +++ b/spark_fhir_schemas/r4b/resources/coverage.py @@ -618,17 +618,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4b/resources/coverageeligibilityrequest.py index 608b195a..43e9db31 100644 --- a/spark_fhir_schemas/r4b/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4b/resources/coverageeligibilityrequest.py @@ -633,17 +633,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4b/resources/coverageeligibilityresponse.py index e4e3d356..e855d1e8 100644 --- a/spark_fhir_schemas/r4b/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4b/resources/coverageeligibilityresponse.py @@ -608,17 +608,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/detectedissue.py b/spark_fhir_schemas/r4b/resources/detectedissue.py index 78efa9e9..b943ca01 100644 --- a/spark_fhir_schemas/r4b/resources/detectedissue.py +++ b/spark_fhir_schemas/r4b/resources/detectedissue.py @@ -559,17 +559,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/device.py b/spark_fhir_schemas/r4b/resources/device.py index 8ff8fd52..36531abf 100644 --- a/spark_fhir_schemas/r4b/resources/device.py +++ b/spark_fhir_schemas/r4b/resources/device.py @@ -784,17 +784,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/devicedefinition.py b/spark_fhir_schemas/r4b/resources/devicedefinition.py index 01c2be1b..913e2ff0 100644 --- a/spark_fhir_schemas/r4b/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4b/resources/devicedefinition.py @@ -778,17 +778,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/devicemetric.py b/spark_fhir_schemas/r4b/resources/devicemetric.py index 2f1558ef..75e9e1e0 100644 --- a/spark_fhir_schemas/r4b/resources/devicemetric.py +++ b/spark_fhir_schemas/r4b/resources/devicemetric.py @@ -547,17 +547,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/devicerequest.py b/spark_fhir_schemas/r4b/resources/devicerequest.py index 6af439fd..f9e3c78a 100644 --- a/spark_fhir_schemas/r4b/resources/devicerequest.py +++ b/spark_fhir_schemas/r4b/resources/devicerequest.py @@ -894,17 +894,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/deviceusestatement.py b/spark_fhir_schemas/r4b/resources/deviceusestatement.py index da37dd1d..4f64c583 100644 --- a/spark_fhir_schemas/r4b/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4b/resources/deviceusestatement.py @@ -614,17 +614,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/diagnosticreport.py b/spark_fhir_schemas/r4b/resources/diagnosticreport.py index 726b631a..7f379543 100644 --- a/spark_fhir_schemas/r4b/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4b/resources/diagnosticreport.py @@ -724,17 +724,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/documentmanifest.py b/spark_fhir_schemas/r4b/resources/documentmanifest.py index 932a0c44..da75155a 100644 --- a/spark_fhir_schemas/r4b/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4b/resources/documentmanifest.py @@ -555,17 +555,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/documentreference.py b/spark_fhir_schemas/r4b/resources/documentreference.py index 40d8717c..b1d1faa7 100644 --- a/spark_fhir_schemas/r4b/resources/documentreference.py +++ b/spark_fhir_schemas/r4b/resources/documentreference.py @@ -657,17 +657,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/encounter.py b/spark_fhir_schemas/r4b/resources/encounter.py index b892e5e5..019f9606 100644 --- a/spark_fhir_schemas/r4b/resources/encounter.py +++ b/spark_fhir_schemas/r4b/resources/encounter.py @@ -850,17 +850,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/endpoint.py b/spark_fhir_schemas/r4b/resources/endpoint.py index 0708aa4b..a260668b 100644 --- a/spark_fhir_schemas/r4b/resources/endpoint.py +++ b/spark_fhir_schemas/r4b/resources/endpoint.py @@ -509,17 +509,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/enrollmentrequest.py b/spark_fhir_schemas/r4b/resources/enrollmentrequest.py index 7689a6ef..5a03c117 100644 --- a/spark_fhir_schemas/r4b/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4b/resources/enrollmentrequest.py @@ -431,17 +431,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/enrollmentresponse.py b/spark_fhir_schemas/r4b/resources/enrollmentresponse.py index 5dea373b..4138266f 100644 --- a/spark_fhir_schemas/r4b/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4b/resources/enrollmentresponse.py @@ -435,17 +435,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/episodeofcare.py b/spark_fhir_schemas/r4b/resources/episodeofcare.py index 1fe63a87..5fa197db 100644 --- a/spark_fhir_schemas/r4b/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4b/resources/episodeofcare.py @@ -570,17 +570,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/eventdefinition.py b/spark_fhir_schemas/r4b/resources/eventdefinition.py index 7670cbbf..b6880966 100644 --- a/spark_fhir_schemas/r4b/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4b/resources/eventdefinition.py @@ -864,17 +864,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/evidence.py b/spark_fhir_schemas/r4b/resources/evidence.py index cdac2481..59e22bec 100644 --- a/spark_fhir_schemas/r4b/resources/evidence.py +++ b/spark_fhir_schemas/r4b/resources/evidence.py @@ -823,17 +823,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/evidencereport.py b/spark_fhir_schemas/r4b/resources/evidencereport.py index 4ed64d80..2050e832 100644 --- a/spark_fhir_schemas/r4b/resources/evidencereport.py +++ b/spark_fhir_schemas/r4b/resources/evidencereport.py @@ -722,17 +722,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/evidencevariable.py b/spark_fhir_schemas/r4b/resources/evidencevariable.py index 2f1052f8..a31bb78c 100644 --- a/spark_fhir_schemas/r4b/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4b/resources/evidencevariable.py @@ -780,17 +780,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/examplescenario.py b/spark_fhir_schemas/r4b/resources/examplescenario.py index ac6fc453..946611de 100644 --- a/spark_fhir_schemas/r4b/resources/examplescenario.py +++ b/spark_fhir_schemas/r4b/resources/examplescenario.py @@ -669,17 +669,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/explanationofbenefit.py b/spark_fhir_schemas/r4b/resources/explanationofbenefit.py index a40ab596..00f3d472 100644 --- a/spark_fhir_schemas/r4b/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4b/resources/explanationofbenefit.py @@ -1256,17 +1256,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/familymemberhistory.py b/spark_fhir_schemas/r4b/resources/familymemberhistory.py index fa1c8c38..e07aaf6e 100644 --- a/spark_fhir_schemas/r4b/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4b/resources/familymemberhistory.py @@ -756,17 +756,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/flag.py b/spark_fhir_schemas/r4b/resources/flag.py index ddbc6bc6..71fd6d1e 100644 --- a/spark_fhir_schemas/r4b/resources/flag.py +++ b/spark_fhir_schemas/r4b/resources/flag.py @@ -463,17 +463,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/goal.py b/spark_fhir_schemas/r4b/resources/goal.py index 557e0313..b04d6e11 100644 --- a/spark_fhir_schemas/r4b/resources/goal.py +++ b/spark_fhir_schemas/r4b/resources/goal.py @@ -625,17 +625,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/graphdefinition.py b/spark_fhir_schemas/r4b/resources/graphdefinition.py index eae6dc86..3badd4d4 100644 --- a/spark_fhir_schemas/r4b/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4b/resources/graphdefinition.py @@ -608,17 +608,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/group.py b/spark_fhir_schemas/r4b/resources/group.py index 940e0e10..270b1647 100644 --- a/spark_fhir_schemas/r4b/resources/group.py +++ b/spark_fhir_schemas/r4b/resources/group.py @@ -472,17 +472,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/guidanceresponse.py b/spark_fhir_schemas/r4b/resources/guidanceresponse.py index 3a62dc97..1f8294ff 100644 --- a/spark_fhir_schemas/r4b/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4b/resources/guidanceresponse.py @@ -668,17 +668,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/healthcareservice.py b/spark_fhir_schemas/r4b/resources/healthcareservice.py index fdb1f383..af214fd1 100644 --- a/spark_fhir_schemas/r4b/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4b/resources/healthcareservice.py @@ -780,17 +780,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/imagingstudy.py b/spark_fhir_schemas/r4b/resources/imagingstudy.py index db5572f4..4dfa52c0 100644 --- a/spark_fhir_schemas/r4b/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4b/resources/imagingstudy.py @@ -746,17 +746,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/immunization.py b/spark_fhir_schemas/r4b/resources/immunization.py index eaef0914..7fa7510b 100644 --- a/spark_fhir_schemas/r4b/resources/immunization.py +++ b/spark_fhir_schemas/r4b/resources/immunization.py @@ -847,17 +847,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/immunizationevaluation.py b/spark_fhir_schemas/r4b/resources/immunizationevaluation.py index edde8262..945b06dc 100644 --- a/spark_fhir_schemas/r4b/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4b/resources/immunizationevaluation.py @@ -519,17 +519,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4b/resources/immunizationrecommendation.py index f90d6b11..fc0f5c6b 100644 --- a/spark_fhir_schemas/r4b/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4b/resources/immunizationrecommendation.py @@ -398,17 +398,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/implementationguide.py b/spark_fhir_schemas/r4b/resources/implementationguide.py index befc177e..e406cac5 100644 --- a/spark_fhir_schemas/r4b/resources/implementationguide.py +++ b/spark_fhir_schemas/r4b/resources/implementationguide.py @@ -735,17 +735,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/ingredient.py b/spark_fhir_schemas/r4b/resources/ingredient.py index 185a0223..b975e037 100644 --- a/spark_fhir_schemas/r4b/resources/ingredient.py +++ b/spark_fhir_schemas/r4b/resources/ingredient.py @@ -474,17 +474,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/insuranceplan.py b/spark_fhir_schemas/r4b/resources/insuranceplan.py index 34ad9142..f1d1d4cc 100644 --- a/spark_fhir_schemas/r4b/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4b/resources/insuranceplan.py @@ -577,17 +577,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/invoice.py b/spark_fhir_schemas/r4b/resources/invoice.py index 39a0d754..37f5913e 100644 --- a/spark_fhir_schemas/r4b/resources/invoice.py +++ b/spark_fhir_schemas/r4b/resources/invoice.py @@ -633,17 +633,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/library.py b/spark_fhir_schemas/r4b/resources/library.py index c2a76a91..2b022162 100644 --- a/spark_fhir_schemas/r4b/resources/library.py +++ b/spark_fhir_schemas/r4b/resources/library.py @@ -939,17 +939,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/linkage.py b/spark_fhir_schemas/r4b/resources/linkage.py index cd923e85..c8c8d4d5 100644 --- a/spark_fhir_schemas/r4b/resources/linkage.py +++ b/spark_fhir_schemas/r4b/resources/linkage.py @@ -348,17 +348,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/list.py b/spark_fhir_schemas/r4b/resources/list.py index 421a8cf2..9345f8e8 100644 --- a/spark_fhir_schemas/r4b/resources/list.py +++ b/spark_fhir_schemas/r4b/resources/list.py @@ -551,17 +551,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/location.py b/spark_fhir_schemas/r4b/resources/location.py index 16a34407..73ca67b7 100644 --- a/spark_fhir_schemas/r4b/resources/location.py +++ b/spark_fhir_schemas/r4b/resources/location.py @@ -610,17 +610,21 @@ class of locations. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/manufactureditemdefinition.py b/spark_fhir_schemas/r4b/resources/manufactureditemdefinition.py index 5d020548..ff31e68f 100644 --- a/spark_fhir_schemas/r4b/resources/manufactureditemdefinition.py +++ b/spark_fhir_schemas/r4b/resources/manufactureditemdefinition.py @@ -454,17 +454,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/measure.py b/spark_fhir_schemas/r4b/resources/measure.py index 79dbad5c..b10a5258 100644 --- a/spark_fhir_schemas/r4b/resources/measure.py +++ b/spark_fhir_schemas/r4b/resources/measure.py @@ -1131,17 +1131,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/measurereport.py b/spark_fhir_schemas/r4b/resources/measurereport.py index 015d1eec..ec7ca5e4 100644 --- a/spark_fhir_schemas/r4b/resources/measurereport.py +++ b/spark_fhir_schemas/r4b/resources/measurereport.py @@ -547,17 +547,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/media.py b/spark_fhir_schemas/r4b/resources/media.py index 427f7c73..4249d2e4 100644 --- a/spark_fhir_schemas/r4b/resources/media.py +++ b/spark_fhir_schemas/r4b/resources/media.py @@ -767,17 +767,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medication.py b/spark_fhir_schemas/r4b/resources/medication.py index ca20bd76..5061b946 100644 --- a/spark_fhir_schemas/r4b/resources/medication.py +++ b/spark_fhir_schemas/r4b/resources/medication.py @@ -478,17 +478,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicationadministration.py b/spark_fhir_schemas/r4b/resources/medicationadministration.py index 6e9240cb..db973172 100644 --- a/spark_fhir_schemas/r4b/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4b/resources/medicationadministration.py @@ -794,17 +794,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicationdispense.py b/spark_fhir_schemas/r4b/resources/medicationdispense.py index 16180d61..f16ab385 100644 --- a/spark_fhir_schemas/r4b/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4b/resources/medicationdispense.py @@ -897,17 +897,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicationknowledge.py b/spark_fhir_schemas/r4b/resources/medicationknowledge.py index 38112e13..8b377124 100644 --- a/spark_fhir_schemas/r4b/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4b/resources/medicationknowledge.py @@ -813,17 +813,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicationrequest.py b/spark_fhir_schemas/r4b/resources/medicationrequest.py index 166f1734..b192cb8f 100644 --- a/spark_fhir_schemas/r4b/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4b/resources/medicationrequest.py @@ -1083,17 +1083,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicationstatement.py b/spark_fhir_schemas/r4b/resources/medicationstatement.py index c783f9ec..0ad6ad0b 100644 --- a/spark_fhir_schemas/r4b/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4b/resources/medicationstatement.py @@ -770,17 +770,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/medicinalproductdefinition.py b/spark_fhir_schemas/r4b/resources/medicinalproductdefinition.py index 9c809736..2d9c2609 100644 --- a/spark_fhir_schemas/r4b/resources/medicinalproductdefinition.py +++ b/spark_fhir_schemas/r4b/resources/medicinalproductdefinition.py @@ -991,17 +991,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/messagedefinition.py b/spark_fhir_schemas/r4b/resources/messagedefinition.py index 90929d99..4486f30b 100644 --- a/spark_fhir_schemas/r4b/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4b/resources/messagedefinition.py @@ -807,17 +807,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/messageheader.py b/spark_fhir_schemas/r4b/resources/messageheader.py index 160830f0..06f61aae 100644 --- a/spark_fhir_schemas/r4b/resources/messageheader.py +++ b/spark_fhir_schemas/r4b/resources/messageheader.py @@ -565,17 +565,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/molecularsequence.py b/spark_fhir_schemas/r4b/resources/molecularsequence.py index 2d0fd018..1a58973a 100644 --- a/spark_fhir_schemas/r4b/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4b/resources/molecularsequence.py @@ -647,17 +647,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/namingsystem.py b/spark_fhir_schemas/r4b/resources/namingsystem.py index 1ecc8dca..0c2b991e 100644 --- a/spark_fhir_schemas/r4b/resources/namingsystem.py +++ b/spark_fhir_schemas/r4b/resources/namingsystem.py @@ -542,17 +542,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/nutritionorder.py b/spark_fhir_schemas/r4b/resources/nutritionorder.py index 336947de..b0e5e540 100644 --- a/spark_fhir_schemas/r4b/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4b/resources/nutritionorder.py @@ -713,17 +713,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/nutritionproduct.py b/spark_fhir_schemas/r4b/resources/nutritionproduct.py index afd9e69d..649b6238 100644 --- a/spark_fhir_schemas/r4b/resources/nutritionproduct.py +++ b/spark_fhir_schemas/r4b/resources/nutritionproduct.py @@ -526,17 +526,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/observation.py b/spark_fhir_schemas/r4b/resources/observation.py index c860b234..5174a2c1 100644 --- a/spark_fhir_schemas/r4b/resources/observation.py +++ b/spark_fhir_schemas/r4b/resources/observation.py @@ -1080,17 +1080,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/observationdefinition.py b/spark_fhir_schemas/r4b/resources/observationdefinition.py index f2ee610f..678d4a86 100644 --- a/spark_fhir_schemas/r4b/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4b/resources/observationdefinition.py @@ -560,17 +560,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/operationdefinition.py b/spark_fhir_schemas/r4b/resources/operationdefinition.py index 5dfda458..7262f6cd 100644 --- a/spark_fhir_schemas/r4b/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4b/resources/operationdefinition.py @@ -779,17 +779,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/operationoutcome.py b/spark_fhir_schemas/r4b/resources/operationoutcome.py index 65be49a5..4d30a329 100644 --- a/spark_fhir_schemas/r4b/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4b/resources/operationoutcome.py @@ -311,17 +311,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/organization.py b/spark_fhir_schemas/r4b/resources/organization.py index 00c8cd94..277be1ab 100644 --- a/spark_fhir_schemas/r4b/resources/organization.py +++ b/spark_fhir_schemas/r4b/resources/organization.py @@ -477,17 +477,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/organizationaffiliation.py b/spark_fhir_schemas/r4b/resources/organizationaffiliation.py index 3d9d8fbb..f65369f8 100644 --- a/spark_fhir_schemas/r4b/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4b/resources/organizationaffiliation.py @@ -552,17 +552,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/packagedproductdefinition.py b/spark_fhir_schemas/r4b/resources/packagedproductdefinition.py index 2d715348..280e0c28 100644 --- a/spark_fhir_schemas/r4b/resources/packagedproductdefinition.py +++ b/spark_fhir_schemas/r4b/resources/packagedproductdefinition.py @@ -622,17 +622,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/parameters.py b/spark_fhir_schemas/r4b/resources/parameters.py index d0eb7abb..66cdde86 100644 --- a/spark_fhir_schemas/r4b/resources/parameters.py +++ b/spark_fhir_schemas/r4b/resources/parameters.py @@ -176,17 +176,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/patient.py b/spark_fhir_schemas/r4b/resources/patient.py index 7a5314d6..1c9a4a21 100644 --- a/spark_fhir_schemas/r4b/resources/patient.py +++ b/spark_fhir_schemas/r4b/resources/patient.py @@ -617,17 +617,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/paymentnotice.py b/spark_fhir_schemas/r4b/resources/paymentnotice.py index bff89332..249b248c 100644 --- a/spark_fhir_schemas/r4b/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4b/resources/paymentnotice.py @@ -528,17 +528,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/paymentreconciliation.py b/spark_fhir_schemas/r4b/resources/paymentreconciliation.py index 8a4cd717..fa5d9788 100644 --- a/spark_fhir_schemas/r4b/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4b/resources/paymentreconciliation.py @@ -587,17 +587,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/person.py b/spark_fhir_schemas/r4b/resources/person.py index 955320bf..d3e26891 100644 --- a/spark_fhir_schemas/r4b/resources/person.py +++ b/spark_fhir_schemas/r4b/resources/person.py @@ -478,17 +478,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/plandefinition.py b/spark_fhir_schemas/r4b/resources/plandefinition.py index 587bc986..bb231530 100644 --- a/spark_fhir_schemas/r4b/resources/plandefinition.py +++ b/spark_fhir_schemas/r4b/resources/plandefinition.py @@ -992,17 +992,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/practitioner.py b/spark_fhir_schemas/r4b/resources/practitioner.py index c18f2f76..0cd20ab0 100644 --- a/spark_fhir_schemas/r4b/resources/practitioner.py +++ b/spark_fhir_schemas/r4b/resources/practitioner.py @@ -503,17 +503,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/practitionerrole.py b/spark_fhir_schemas/r4b/resources/practitionerrole.py index 2f2a4a47..b69d3b7e 100644 --- a/spark_fhir_schemas/r4b/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4b/resources/practitionerrole.py @@ -588,17 +588,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/procedure.py b/spark_fhir_schemas/r4b/resources/procedure.py index 6cd4d76b..e4253fae 100644 --- a/spark_fhir_schemas/r4b/resources/procedure.py +++ b/spark_fhir_schemas/r4b/resources/procedure.py @@ -1015,17 +1015,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/provenance.py b/spark_fhir_schemas/r4b/resources/provenance.py index 7dfbc668..9fe90c2a 100644 --- a/spark_fhir_schemas/r4b/resources/provenance.py +++ b/spark_fhir_schemas/r4b/resources/provenance.py @@ -550,17 +550,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/questionnaire.py b/spark_fhir_schemas/r4b/resources/questionnaire.py index a130ba50..954ebf03 100644 --- a/spark_fhir_schemas/r4b/resources/questionnaire.py +++ b/spark_fhir_schemas/r4b/resources/questionnaire.py @@ -730,17 +730,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/questionnaireresponse.py b/spark_fhir_schemas/r4b/resources/questionnaireresponse.py index 3961dbf5..63684f93 100644 --- a/spark_fhir_schemas/r4b/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4b/resources/questionnaireresponse.py @@ -547,17 +547,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/regulatedauthorization.py b/spark_fhir_schemas/r4b/resources/regulatedauthorization.py index 33f7c86d..00329c4a 100644 --- a/spark_fhir_schemas/r4b/resources/regulatedauthorization.py +++ b/spark_fhir_schemas/r4b/resources/regulatedauthorization.py @@ -626,17 +626,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/relatedperson.py b/spark_fhir_schemas/r4b/resources/relatedperson.py index b006d036..aaf8cb99 100644 --- a/spark_fhir_schemas/r4b/resources/relatedperson.py +++ b/spark_fhir_schemas/r4b/resources/relatedperson.py @@ -535,17 +535,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/requestgroup.py b/spark_fhir_schemas/r4b/resources/requestgroup.py index 6fa75c46..ee6cde20 100644 --- a/spark_fhir_schemas/r4b/resources/requestgroup.py +++ b/spark_fhir_schemas/r4b/resources/requestgroup.py @@ -693,17 +693,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/researchdefinition.py b/spark_fhir_schemas/r4b/resources/researchdefinition.py index ede2bf5e..98a6f633 100644 --- a/spark_fhir_schemas/r4b/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4b/resources/researchdefinition.py @@ -976,17 +976,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/researchelementdefinition.py b/spark_fhir_schemas/r4b/resources/researchelementdefinition.py index 0b4e160f..fe369618 100644 --- a/spark_fhir_schemas/r4b/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4b/resources/researchelementdefinition.py @@ -955,17 +955,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/researchstudy.py b/spark_fhir_schemas/r4b/resources/researchstudy.py index 885b29d0..0ce74e5f 100644 --- a/spark_fhir_schemas/r4b/resources/researchstudy.py +++ b/spark_fhir_schemas/r4b/resources/researchstudy.py @@ -846,17 +846,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/researchsubject.py b/spark_fhir_schemas/r4b/resources/researchsubject.py index 15d62a60..81fde4c2 100644 --- a/spark_fhir_schemas/r4b/resources/researchsubject.py +++ b/spark_fhir_schemas/r4b/resources/researchsubject.py @@ -423,17 +423,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/riskassessment.py b/spark_fhir_schemas/r4b/resources/riskassessment.py index 15d063c2..bd97b5b0 100644 --- a/spark_fhir_schemas/r4b/resources/riskassessment.py +++ b/spark_fhir_schemas/r4b/resources/riskassessment.py @@ -651,17 +651,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/schedule.py b/spark_fhir_schemas/r4b/resources/schedule.py index fdfcae1e..8ab48997 100644 --- a/spark_fhir_schemas/r4b/resources/schedule.py +++ b/spark_fhir_schemas/r4b/resources/schedule.py @@ -451,17 +451,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/searchparameter.py b/spark_fhir_schemas/r4b/resources/searchparameter.py index d78f3127..587fbab3 100644 --- a/spark_fhir_schemas/r4b/resources/searchparameter.py +++ b/spark_fhir_schemas/r4b/resources/searchparameter.py @@ -780,17 +780,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/servicerequest.py b/spark_fhir_schemas/r4b/resources/servicerequest.py index 58fc5807..85cde8c1 100644 --- a/spark_fhir_schemas/r4b/resources/servicerequest.py +++ b/spark_fhir_schemas/r4b/resources/servicerequest.py @@ -1125,17 +1125,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/slot.py b/spark_fhir_schemas/r4b/resources/slot.py index c4f221f3..ad3ec581 100644 --- a/spark_fhir_schemas/r4b/resources/slot.py +++ b/spark_fhir_schemas/r4b/resources/slot.py @@ -508,17 +508,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/specimen.py b/spark_fhir_schemas/r4b/resources/specimen.py index ef6e5dc4..bf7799f4 100644 --- a/spark_fhir_schemas/r4b/resources/specimen.py +++ b/spark_fhir_schemas/r4b/resources/specimen.py @@ -586,17 +586,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/specimendefinition.py b/spark_fhir_schemas/r4b/resources/specimendefinition.py index 6b94f103..b57ac467 100644 --- a/spark_fhir_schemas/r4b/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4b/resources/specimendefinition.py @@ -401,17 +401,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/structuredefinition.py b/spark_fhir_schemas/r4b/resources/structuredefinition.py index f153f237..45c02560 100644 --- a/spark_fhir_schemas/r4b/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4b/resources/structuredefinition.py @@ -863,17 +863,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/structuremap.py b/spark_fhir_schemas/r4b/resources/structuremap.py index b0b00c28..771a9d55 100644 --- a/spark_fhir_schemas/r4b/resources/structuremap.py +++ b/spark_fhir_schemas/r4b/resources/structuremap.py @@ -670,17 +670,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/subscription.py b/spark_fhir_schemas/r4b/resources/subscription.py index 6d427a40..86745f65 100644 --- a/spark_fhir_schemas/r4b/resources/subscription.py +++ b/spark_fhir_schemas/r4b/resources/subscription.py @@ -401,17 +401,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/subscriptionstatus.py b/spark_fhir_schemas/r4b/resources/subscriptionstatus.py index 0fb09138..58c02356 100644 --- a/spark_fhir_schemas/r4b/resources/subscriptionstatus.py +++ b/spark_fhir_schemas/r4b/resources/subscriptionstatus.py @@ -432,17 +432,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/subscriptiontopic.py b/spark_fhir_schemas/r4b/resources/subscriptiontopic.py index 1cbbbbd5..3b767b6e 100644 --- a/spark_fhir_schemas/r4b/resources/subscriptiontopic.py +++ b/spark_fhir_schemas/r4b/resources/subscriptiontopic.py @@ -752,17 +752,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/substance.py b/spark_fhir_schemas/r4b/resources/substance.py index b55b6600..c4e55c2b 100644 --- a/spark_fhir_schemas/r4b/resources/substance.py +++ b/spark_fhir_schemas/r4b/resources/substance.py @@ -430,17 +430,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/substancedefinition.py b/spark_fhir_schemas/r4b/resources/substancedefinition.py index 1047c214..08def9eb 100644 --- a/spark_fhir_schemas/r4b/resources/substancedefinition.py +++ b/spark_fhir_schemas/r4b/resources/substancedefinition.py @@ -721,17 +721,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/supplydelivery.py b/spark_fhir_schemas/r4b/resources/supplydelivery.py index 7a16db46..0a0d7db8 100644 --- a/spark_fhir_schemas/r4b/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4b/resources/supplydelivery.py @@ -559,17 +559,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/supplyrequest.py b/spark_fhir_schemas/r4b/resources/supplyrequest.py index 8ee4ba21..a2434bd0 100644 --- a/spark_fhir_schemas/r4b/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4b/resources/supplyrequest.py @@ -677,17 +677,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/task.py b/spark_fhir_schemas/r4b/resources/task.py index e8b82664..125112d9 100644 --- a/spark_fhir_schemas/r4b/resources/task.py +++ b/spark_fhir_schemas/r4b/resources/task.py @@ -957,17 +957,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/terminologycapabilities.py b/spark_fhir_schemas/r4b/resources/terminologycapabilities.py index e03bf555..95b1ffb5 100644 --- a/spark_fhir_schemas/r4b/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4b/resources/terminologycapabilities.py @@ -807,17 +807,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/testreport.py b/spark_fhir_schemas/r4b/resources/testreport.py index 491d9f50..7e84bce5 100644 --- a/spark_fhir_schemas/r4b/resources/testreport.py +++ b/spark_fhir_schemas/r4b/resources/testreport.py @@ -522,17 +522,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/testscript.py b/spark_fhir_schemas/r4b/resources/testscript.py index 07c0bf75..4ad887d5 100644 --- a/spark_fhir_schemas/r4b/resources/testscript.py +++ b/spark_fhir_schemas/r4b/resources/testscript.py @@ -814,17 +814,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/valueset.py b/spark_fhir_schemas/r4b/resources/valueset.py index 5d6f9f5b..8437c11f 100644 --- a/spark_fhir_schemas/r4b/resources/valueset.py +++ b/spark_fhir_schemas/r4b/resources/valueset.py @@ -655,17 +655,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/verificationresult.py b/spark_fhir_schemas/r4b/resources/verificationresult.py index 3a6f68b3..76a90b6c 100644 --- a/spark_fhir_schemas/r4b/resources/verificationresult.py +++ b/spark_fhir_schemas/r4b/resources/verificationresult.py @@ -572,17 +572,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/r4b/resources/visionprescription.py b/spark_fhir_schemas/r4b/resources/visionprescription.py index a51610f6..481fc86a 100644 --- a/spark_fhir_schemas/r4b/resources/visionprescription.py +++ b/spark_fhir_schemas/r4b/resources/visionprescription.py @@ -462,17 +462,21 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] if not include_modifierExtension: schema.fields = [ - c - if c.name != "modifierExtension" - else StructField("modifierExtension", StringType(), True) + ( + c + if c.name != "modifierExtension" + else StructField("modifierExtension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/account.py b/spark_fhir_schemas/stu3/complex_types/account.py index c60456a2..fa232c10 100644 --- a/spark_fhir_schemas/stu3/complex_types/account.py +++ b/spark_fhir_schemas/stu3/complex_types/account.py @@ -384,9 +384,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/account_coverage.py b/spark_fhir_schemas/stu3/complex_types/account_coverage.py index 947f7fc4..c903c6f6 100644 --- a/spark_fhir_schemas/stu3/complex_types/account_coverage.py +++ b/spark_fhir_schemas/stu3/complex_types/account_coverage.py @@ -132,9 +132,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/account_guarantor.py b/spark_fhir_schemas/stu3/complex_types/account_guarantor.py index e160ae30..e5bec2a1 100644 --- a/spark_fhir_schemas/stu3/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/stu3/complex_types/account_guarantor.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/activitydefinition.py b/spark_fhir_schemas/stu3/complex_types/activitydefinition.py index 19c201ac..96f9a834 100644 --- a/spark_fhir_schemas/stu3/complex_types/activitydefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/activitydefinition.py @@ -794,9 +794,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/stu3/complex_types/activitydefinition_dynamicvalue.py index ba6ebbc9..60d7d3b8 100644 --- a/spark_fhir_schemas/stu3/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/stu3/complex_types/activitydefinition_dynamicvalue.py @@ -116,9 +116,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/stu3/complex_types/activitydefinition_participant.py index 92f52bc6..03262254 100644 --- a/spark_fhir_schemas/stu3/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/activitydefinition_participant.py @@ -120,9 +120,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/address.py b/spark_fhir_schemas/stu3/complex_types/address.py index 2c10f896..f4f1ffc4 100644 --- a/spark_fhir_schemas/stu3/complex_types/address.py +++ b/spark_fhir_schemas/stu3/complex_types/address.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/adverseevent.py b/spark_fhir_schemas/stu3/complex_types/adverseevent.py index 8f2bd794..64c3f8d7 100644 --- a/spark_fhir_schemas/stu3/complex_types/adverseevent.py +++ b/spark_fhir_schemas/stu3/complex_types/adverseevent.py @@ -458,9 +458,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/stu3/complex_types/adverseevent_suspectentity.py index a536ee04..b20447d4 100644 --- a/spark_fhir_schemas/stu3/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/stu3/complex_types/adverseevent_suspectentity.py @@ -198,9 +198,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/age.py b/spark_fhir_schemas/stu3/complex_types/age.py index 630c5d41..7b3c7077 100644 --- a/spark_fhir_schemas/stu3/complex_types/age.py +++ b/spark_fhir_schemas/stu3/complex_types/age.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/allergyintolerance.py b/spark_fhir_schemas/stu3/complex_types/allergyintolerance.py index ea652a0d..c208e979 100644 --- a/spark_fhir_schemas/stu3/complex_types/allergyintolerance.py +++ b/spark_fhir_schemas/stu3/complex_types/allergyintolerance.py @@ -455,9 +455,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/stu3/complex_types/allergyintolerance_reaction.py index ca418760..30eb1a16 100644 --- a/spark_fhir_schemas/stu3/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/stu3/complex_types/allergyintolerance_reaction.py @@ -201,9 +201,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/annotation.py b/spark_fhir_schemas/stu3/complex_types/annotation.py index 18dbc651..300a3609 100644 --- a/spark_fhir_schemas/stu3/complex_types/annotation.py +++ b/spark_fhir_schemas/stu3/complex_types/annotation.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/appointment.py b/spark_fhir_schemas/stu3/complex_types/appointment.py index e8da259e..3bd1cb63 100644 --- a/spark_fhir_schemas/stu3/complex_types/appointment.py +++ b/spark_fhir_schemas/stu3/complex_types/appointment.py @@ -511,9 +511,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/appointment_participant.py b/spark_fhir_schemas/stu3/complex_types/appointment_participant.py index 230b7e39..494a0f3b 100644 --- a/spark_fhir_schemas/stu3/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/appointment_participant.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/appointmentresponse.py b/spark_fhir_schemas/stu3/complex_types/appointmentresponse.py index cc0da4db..6a3b9a6f 100644 --- a/spark_fhir_schemas/stu3/complex_types/appointmentresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/appointmentresponse.py @@ -292,9 +292,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/attachment.py b/spark_fhir_schemas/stu3/complex_types/attachment.py index bf0a6e82..80f0d62d 100644 --- a/spark_fhir_schemas/stu3/complex_types/attachment.py +++ b/spark_fhir_schemas/stu3/complex_types/attachment.py @@ -140,9 +140,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent.py b/spark_fhir_schemas/stu3/complex_types/auditevent.py index 41d054ac..ce52e996 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent.py @@ -328,9 +328,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent_agent.py b/spark_fhir_schemas/stu3/complex_types/auditevent_agent.py index 1cfc0d2c..73eb4b57 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent_agent.py @@ -272,9 +272,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent_detail.py b/spark_fhir_schemas/stu3/complex_types/auditevent_detail.py index 839e3aed..3f207c9c 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent_detail.py @@ -103,9 +103,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent_entity.py b/spark_fhir_schemas/stu3/complex_types/auditevent_entity.py index 79157e7d..e231814d 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent_entity.py @@ -240,9 +240,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent_network.py b/spark_fhir_schemas/stu3/complex_types/auditevent_network.py index bf86f4b9..5af6c028 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent_network.py @@ -107,9 +107,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/auditevent_source.py b/spark_fhir_schemas/stu3/complex_types/auditevent_source.py index 236e18ad..32769c56 100644 --- a/spark_fhir_schemas/stu3/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/stu3/complex_types/auditevent_source.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/backboneelement.py b/spark_fhir_schemas/stu3/complex_types/backboneelement.py index 628cf694..3a04b809 100644 --- a/spark_fhir_schemas/stu3/complex_types/backboneelement.py +++ b/spark_fhir_schemas/stu3/complex_types/backboneelement.py @@ -93,9 +93,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/basic.py b/spark_fhir_schemas/stu3/complex_types/basic.py index 010aef14..f3d0928a 100644 --- a/spark_fhir_schemas/stu3/complex_types/basic.py +++ b/spark_fhir_schemas/stu3/complex_types/basic.py @@ -267,9 +267,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/binary.py b/spark_fhir_schemas/stu3/complex_types/binary.py index ad24f60b..1b192b0e 100644 --- a/spark_fhir_schemas/stu3/complex_types/binary.py +++ b/spark_fhir_schemas/stu3/complex_types/binary.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bodysite.py b/spark_fhir_schemas/stu3/complex_types/bodysite.py index 5387142c..46764bb3 100644 --- a/spark_fhir_schemas/stu3/complex_types/bodysite.py +++ b/spark_fhir_schemas/stu3/complex_types/bodysite.py @@ -297,9 +297,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle.py b/spark_fhir_schemas/stu3/complex_types/bundle.py index 03d05049..951ba12c 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle.py @@ -225,9 +225,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle_entry.py b/spark_fhir_schemas/stu3/complex_types/bundle_entry.py index 85b6dd6f..2711b9f8 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle_entry.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle_link.py b/spark_fhir_schemas/stu3/complex_types/bundle_link.py index 05d2f02f..044e197c 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle_link.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle_link.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle_request.py b/spark_fhir_schemas/stu3/complex_types/bundle_request.py index 4eb91e9d..6551c979 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle_request.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle_request.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle_response.py b/spark_fhir_schemas/stu3/complex_types/bundle_response.py index 547d14cf..98ac4371 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle_response.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle_response.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/bundle_search.py b/spark_fhir_schemas/stu3/complex_types/bundle_search.py index 9f4a0463..ba335dab 100644 --- a/spark_fhir_schemas/stu3/complex_types/bundle_search.py +++ b/spark_fhir_schemas/stu3/complex_types/bundle_search.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement.py index afb129e1..08b6a7d2 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement.py @@ -552,9 +552,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_certificate.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_certificate.py index ab74da55..f094276f 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_certificate.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_certificate.py @@ -104,9 +104,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_document.py index 332f57f4..de094cae 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_document.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_endpoint.py index 0376bc54..efe068eb 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_endpoint.py @@ -122,9 +122,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_event.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_event.py index c80cd681..873a7827 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_event.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_event.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_implementation.py index 883d412a..ab2d2895 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_implementation.py @@ -110,9 +110,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction.py index 38493ec9..e4bd6062 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction1.py index b9495985..050c88ed 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_interaction1.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_messaging.py index a8f622d6..5b17f30e 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_messaging.py @@ -187,9 +187,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_operation.py index 47864bdb..2b4e5769 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_operation.py @@ -122,9 +122,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_resource.py index 587a3542..0392422d 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_resource.py @@ -241,9 +241,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_rest.py index b849f5ec..953675c0 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_rest.py @@ -235,9 +235,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_searchparam.py index 1e576160..7733dbda 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_searchparam.py @@ -120,9 +120,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_security.py index 0adc84f3..4659f130 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_security.py @@ -157,9 +157,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_software.py index 38552eb0..5c539892 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_software.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_supportedmessage.py index cfe33bcf..0fd2c1a9 100644 --- a/spark_fhir_schemas/stu3/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/stu3/complex_types/capabilitystatement_supportedmessage.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/careplan.py b/spark_fhir_schemas/stu3/complex_types/careplan.py index 505fadcd..5d87bbb7 100644 --- a/spark_fhir_schemas/stu3/complex_types/careplan.py +++ b/spark_fhir_schemas/stu3/complex_types/careplan.py @@ -537,9 +537,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/careplan_activity.py b/spark_fhir_schemas/stu3/complex_types/careplan_activity.py index e6ba13fa..eb797601 100644 --- a/spark_fhir_schemas/stu3/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/stu3/complex_types/careplan_activity.py @@ -210,9 +210,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/careplan_detail.py b/spark_fhir_schemas/stu3/complex_types/careplan_detail.py index 3861adb8..eb199196 100644 --- a/spark_fhir_schemas/stu3/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/careplan_detail.py @@ -405,9 +405,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/careteam.py b/spark_fhir_schemas/stu3/complex_types/careteam.py index 56d3b1ec..1a527d72 100644 --- a/spark_fhir_schemas/stu3/complex_types/careteam.py +++ b/spark_fhir_schemas/stu3/complex_types/careteam.py @@ -397,9 +397,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/careteam_participant.py b/spark_fhir_schemas/stu3/complex_types/careteam_participant.py index 9582493f..9219f38b 100644 --- a/spark_fhir_schemas/stu3/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/careteam_participant.py @@ -174,9 +174,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/chargeitem.py b/spark_fhir_schemas/stu3/complex_types/chargeitem.py index 69b8e501..59ed6ae8 100644 --- a/spark_fhir_schemas/stu3/complex_types/chargeitem.py +++ b/spark_fhir_schemas/stu3/complex_types/chargeitem.py @@ -578,9 +578,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/chargeitem_participant.py b/spark_fhir_schemas/stu3/complex_types/chargeitem_participant.py index 3eab8127..43a4b54a 100644 --- a/spark_fhir_schemas/stu3/complex_types/chargeitem_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/chargeitem_participant.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim.py b/spark_fhir_schemas/stu3/complex_types/claim.py index 879c828e..fd975df2 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim.py +++ b/spark_fhir_schemas/stu3/complex_types/claim.py @@ -743,9 +743,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_accident.py b/spark_fhir_schemas/stu3/complex_types/claim_accident.py index 555f8ae6..a9b61177 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_accident.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_accident.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_careteam.py b/spark_fhir_schemas/stu3/complex_types/claim_careteam.py index 20b98582..9a2bea8a 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_careteam.py @@ -168,9 +168,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_detail.py b/spark_fhir_schemas/stu3/complex_types/claim_detail.py index 59b14e9a..68d2ca28 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_detail.py @@ -324,9 +324,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_diagnosis.py b/spark_fhir_schemas/stu3/complex_types/claim_diagnosis.py index e515bc26..33add43a 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_diagnosis.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_information.py b/spark_fhir_schemas/stu3/complex_types/claim_information.py index f91ff958..7875d507 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_information.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_information.py @@ -257,9 +257,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_insurance.py b/spark_fhir_schemas/stu3/complex_types/claim_insurance.py index abd012ac..a31a1391 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_insurance.py @@ -158,9 +158,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_item.py b/spark_fhir_schemas/stu3/complex_types/claim_item.py index 42b8249e..de45f2e0 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_item.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_item.py @@ -478,9 +478,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_payee.py b/spark_fhir_schemas/stu3/complex_types/claim_payee.py index 2b9b19f0..c7997052 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_payee.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_payee.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_procedure.py b/spark_fhir_schemas/stu3/complex_types/claim_procedure.py index aae3ae08..7769ade9 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_procedure.py @@ -146,9 +146,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_related.py b/spark_fhir_schemas/stu3/complex_types/claim_related.py index ed14e6e7..0262b78a 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_related.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_related.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claim_subdetail.py b/spark_fhir_schemas/stu3/complex_types/claim_subdetail.py index 4f3421e1..d45dec9d 100644 --- a/spark_fhir_schemas/stu3/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/stu3/complex_types/claim_subdetail.py @@ -296,9 +296,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse.py b/spark_fhir_schemas/stu3/complex_types/claimresponse.py index 0087d85d..e7379bc5 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse.py @@ -580,9 +580,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_additem.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_additem.py index 0b578c68..1445eb92 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_additem.py @@ -249,9 +249,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_adjudication.py index 45778d72..aeaf63cc 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_adjudication.py @@ -161,9 +161,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_detail.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_detail.py index e364a4f8..a238f825 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_detail.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_detail1.py index 74c0c364..98f415eb 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_detail1.py @@ -223,9 +223,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_error.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_error.py index 6df3ba44..062dc2a5 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_error.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_insurance.py index 1b5010ac..08f8fc93 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_insurance.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_item.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_item.py index a35f591e..28787fba 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_item.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_payment.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_payment.py index b9e65997..152d555f 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_payment.py @@ -189,9 +189,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_processnote.py index 4ed5c2f8..52d6e20d 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_processnote.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/stu3/complex_types/claimresponse_subdetail.py index 33721785..8c1b818d 100644 --- a/spark_fhir_schemas/stu3/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/stu3/complex_types/claimresponse_subdetail.py @@ -130,9 +130,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/clinicalimpression.py b/spark_fhir_schemas/stu3/complex_types/clinicalimpression.py index cd017d3d..3348cdb9 100644 --- a/spark_fhir_schemas/stu3/complex_types/clinicalimpression.py +++ b/spark_fhir_schemas/stu3/complex_types/clinicalimpression.py @@ -515,9 +515,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/stu3/complex_types/clinicalimpression_finding.py index cc955a66..7456d1b4 100644 --- a/spark_fhir_schemas/stu3/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/stu3/complex_types/clinicalimpression_finding.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/stu3/complex_types/clinicalimpression_investigation.py index 061ed3a5..3c8514bd 100644 --- a/spark_fhir_schemas/stu3/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/stu3/complex_types/clinicalimpression_investigation.py @@ -150,9 +150,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codeableconcept.py b/spark_fhir_schemas/stu3/complex_types/codeableconcept.py index 6240b87d..5d12f53a 100644 --- a/spark_fhir_schemas/stu3/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/stu3/complex_types/codeableconcept.py @@ -121,9 +121,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem.py b/spark_fhir_schemas/stu3/complex_types/codesystem.py index 4a931d52..3ca6f05d 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem.py @@ -489,9 +489,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem_concept.py b/spark_fhir_schemas/stu3/complex_types/codesystem_concept.py index afca4e63..074a9ad0 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem_concept.py @@ -184,9 +184,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem_designation.py b/spark_fhir_schemas/stu3/complex_types/codesystem_designation.py index 275bb4d8..bd539e30 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem_designation.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem_filter.py b/spark_fhir_schemas/stu3/complex_types/codesystem_filter.py index 62566bfe..c49d23af 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem_filter.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem_property.py b/spark_fhir_schemas/stu3/complex_types/codesystem_property.py index 96bef7bc..93063ef4 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem_property.py @@ -121,9 +121,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/codesystem_property1.py b/spark_fhir_schemas/stu3/complex_types/codesystem_property1.py index a4620515..52663cda 100644 --- a/spark_fhir_schemas/stu3/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/stu3/complex_types/codesystem_property1.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/coding.py b/spark_fhir_schemas/stu3/complex_types/coding.py index f740a27f..f0676d0e 100644 --- a/spark_fhir_schemas/stu3/complex_types/coding.py +++ b/spark_fhir_schemas/stu3/complex_types/coding.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/communication.py b/spark_fhir_schemas/stu3/complex_types/communication.py index 9e8fae8d..1ea70fd9 100644 --- a/spark_fhir_schemas/stu3/complex_types/communication.py +++ b/spark_fhir_schemas/stu3/complex_types/communication.py @@ -543,9 +543,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/communication_payload.py b/spark_fhir_schemas/stu3/complex_types/communication_payload.py index 32acfbdb..d8407412 100644 --- a/spark_fhir_schemas/stu3/complex_types/communication_payload.py +++ b/spark_fhir_schemas/stu3/complex_types/communication_payload.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/communicationrequest.py b/spark_fhir_schemas/stu3/complex_types/communicationrequest.py index 10f684ba..c96b33ed 100644 --- a/spark_fhir_schemas/stu3/complex_types/communicationrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/communicationrequest.py @@ -558,9 +558,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/stu3/complex_types/communicationrequest_payload.py index ae3a3275..42a95090 100644 --- a/spark_fhir_schemas/stu3/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/stu3/complex_types/communicationrequest_payload.py @@ -142,9 +142,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/communicationrequest_requester.py b/spark_fhir_schemas/stu3/complex_types/communicationrequest_requester.py index 368f3083..9fbb3a87 100644 --- a/spark_fhir_schemas/stu3/complex_types/communicationrequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/communicationrequest_requester.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/compartmentdefinition.py b/spark_fhir_schemas/stu3/complex_types/compartmentdefinition.py index 01df4c03..1096cbac 100644 --- a/spark_fhir_schemas/stu3/complex_types/compartmentdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/compartmentdefinition.py @@ -358,9 +358,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/stu3/complex_types/compartmentdefinition_resource.py index 33b02b59..dc465bc9 100644 --- a/spark_fhir_schemas/stu3/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/stu3/complex_types/compartmentdefinition_resource.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/composition.py b/spark_fhir_schemas/stu3/complex_types/composition.py index d3cbf46b..0984224c 100644 --- a/spark_fhir_schemas/stu3/complex_types/composition.py +++ b/spark_fhir_schemas/stu3/complex_types/composition.py @@ -451,9 +451,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/composition_attester.py b/spark_fhir_schemas/stu3/complex_types/composition_attester.py index a962ed51..2fde50e5 100644 --- a/spark_fhir_schemas/stu3/complex_types/composition_attester.py +++ b/spark_fhir_schemas/stu3/complex_types/composition_attester.py @@ -129,9 +129,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/composition_event.py b/spark_fhir_schemas/stu3/complex_types/composition_event.py index c62d97cd..09826ecb 100644 --- a/spark_fhir_schemas/stu3/complex_types/composition_event.py +++ b/spark_fhir_schemas/stu3/complex_types/composition_event.py @@ -175,9 +175,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/composition_relatesto.py b/spark_fhir_schemas/stu3/complex_types/composition_relatesto.py index 07c21474..f6c40fdd 100644 --- a/spark_fhir_schemas/stu3/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/stu3/complex_types/composition_relatesto.py @@ -145,9 +145,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/composition_section.py b/spark_fhir_schemas/stu3/complex_types/composition_section.py index 302adfd1..ed5d3b0f 100644 --- a/spark_fhir_schemas/stu3/complex_types/composition_section.py +++ b/spark_fhir_schemas/stu3/complex_types/composition_section.py @@ -242,9 +242,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap.py b/spark_fhir_schemas/stu3/complex_types/conceptmap.py index b57dd2d4..70712e3f 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap.py @@ -443,9 +443,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/stu3/complex_types/conceptmap_dependson.py index 847d264a..05f79d6a 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap_dependson.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap_element.py b/spark_fhir_schemas/stu3/complex_types/conceptmap_element.py index f7b93918..d5a46df0 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap_element.py @@ -125,9 +125,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap_group.py b/spark_fhir_schemas/stu3/complex_types/conceptmap_group.py index ac3ebd65..de61acb5 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap_group.py @@ -161,9 +161,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap_target.py b/spark_fhir_schemas/stu3/complex_types/conceptmap_target.py index 092ca6a0..72030356 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap_target.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/stu3/complex_types/conceptmap_unmapped.py index 0b049ede..e3d6f2eb 100644 --- a/spark_fhir_schemas/stu3/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/stu3/complex_types/conceptmap_unmapped.py @@ -121,9 +121,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/condition.py b/spark_fhir_schemas/stu3/complex_types/condition.py index 03a9c0e0..5eb82fbd 100644 --- a/spark_fhir_schemas/stu3/complex_types/condition.py +++ b/spark_fhir_schemas/stu3/complex_types/condition.py @@ -598,9 +598,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/condition_evidence.py b/spark_fhir_schemas/stu3/complex_types/condition_evidence.py index 7c255a8e..c69a5ab8 100644 --- a/spark_fhir_schemas/stu3/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/stu3/complex_types/condition_evidence.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/condition_stage.py b/spark_fhir_schemas/stu3/complex_types/condition_stage.py index 924f0c14..5d927adc 100644 --- a/spark_fhir_schemas/stu3/complex_types/condition_stage.py +++ b/spark_fhir_schemas/stu3/complex_types/condition_stage.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent.py b/spark_fhir_schemas/stu3/complex_types/consent.py index e9ba1570..366438df 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent.py +++ b/spark_fhir_schemas/stu3/complex_types/consent.py @@ -569,9 +569,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_actor.py b/spark_fhir_schemas/stu3/complex_types/consent_actor.py index 0b94088c..3a2ec0fa 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_actor.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_actor.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_actor1.py b/spark_fhir_schemas/stu3/complex_types/consent_actor1.py index 2101a315..9dea54d1 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_actor1.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_actor1.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_data.py b/spark_fhir_schemas/stu3/complex_types/consent_data.py index b74374a2..d7d483cd 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_data.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_data.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_data1.py b/spark_fhir_schemas/stu3/complex_types/consent_data1.py index 0f36210c..7a2139ee 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_data1.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_data1.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_except.py b/spark_fhir_schemas/stu3/complex_types/consent_except.py index 39e05e41..f55793f3 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_except.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_except.py @@ -293,9 +293,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/consent_policy.py b/spark_fhir_schemas/stu3/complex_types/consent_policy.py index beb5f9b9..2e79fb90 100644 --- a/spark_fhir_schemas/stu3/complex_types/consent_policy.py +++ b/spark_fhir_schemas/stu3/complex_types/consent_policy.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contactdetail.py b/spark_fhir_schemas/stu3/complex_types/contactdetail.py index 11e68b76..96f7b132 100644 --- a/spark_fhir_schemas/stu3/complex_types/contactdetail.py +++ b/spark_fhir_schemas/stu3/complex_types/contactdetail.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contactpoint.py b/spark_fhir_schemas/stu3/complex_types/contactpoint.py index c8644511..134ecf45 100644 --- a/spark_fhir_schemas/stu3/complex_types/contactpoint.py +++ b/spark_fhir_schemas/stu3/complex_types/contactpoint.py @@ -140,9 +140,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract.py b/spark_fhir_schemas/stu3/complex_types/contract.py index 072b28b4..a077004c 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract.py +++ b/spark_fhir_schemas/stu3/complex_types/contract.py @@ -680,9 +680,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_agent.py b/spark_fhir_schemas/stu3/complex_types/contract_agent.py index a39eec1c..e0a3726f 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_agent.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_agent.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_agent1.py b/spark_fhir_schemas/stu3/complex_types/contract_agent1.py index bbed2b6f..593a2a9f 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_agent1.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_agent1.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_friendly.py b/spark_fhir_schemas/stu3/complex_types/contract_friendly.py index 1b4176c3..a35aea25 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_friendly.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_legal.py b/spark_fhir_schemas/stu3/complex_types/contract_legal.py index 2d792fb8..0067110d 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_legal.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_legal.py @@ -129,9 +129,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_rule.py b/spark_fhir_schemas/stu3/complex_types/contract_rule.py index 85ff9f87..e837dbe2 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_rule.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_rule.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_signer.py b/spark_fhir_schemas/stu3/complex_types/contract_signer.py index 79eb5145..83f6ea18 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_signer.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_signer.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_term.py b/spark_fhir_schemas/stu3/complex_types/contract_term.py index 915178ed..3b9c3ebf 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_term.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_term.py @@ -323,9 +323,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_valueditem.py b/spark_fhir_schemas/stu3/complex_types/contract_valueditem.py index 71ea52d9..e0d272af 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_valueditem.py @@ -241,9 +241,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contract_valueditem1.py b/spark_fhir_schemas/stu3/complex_types/contract_valueditem1.py index 07de6262..1ca7423f 100644 --- a/spark_fhir_schemas/stu3/complex_types/contract_valueditem1.py +++ b/spark_fhir_schemas/stu3/complex_types/contract_valueditem1.py @@ -247,9 +247,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/contributor.py b/spark_fhir_schemas/stu3/complex_types/contributor.py index 0d08252e..3198996a 100644 --- a/spark_fhir_schemas/stu3/complex_types/contributor.py +++ b/spark_fhir_schemas/stu3/complex_types/contributor.py @@ -125,9 +125,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/count.py b/spark_fhir_schemas/stu3/complex_types/count.py index 64bd3b1d..da19f123 100644 --- a/spark_fhir_schemas/stu3/complex_types/count.py +++ b/spark_fhir_schemas/stu3/complex_types/count.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/coverage.py b/spark_fhir_schemas/stu3/complex_types/coverage.py index 97e2bbd5..f13d216c 100644 --- a/spark_fhir_schemas/stu3/complex_types/coverage.py +++ b/spark_fhir_schemas/stu3/complex_types/coverage.py @@ -437,9 +437,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/coverage_grouping.py b/spark_fhir_schemas/stu3/complex_types/coverage_grouping.py index e48413ac..a2fb18d2 100644 --- a/spark_fhir_schemas/stu3/complex_types/coverage_grouping.py +++ b/spark_fhir_schemas/stu3/complex_types/coverage_grouping.py @@ -163,9 +163,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/dataelement.py b/spark_fhir_schemas/stu3/complex_types/dataelement.py index 922dbfb1..836a99f1 100644 --- a/spark_fhir_schemas/stu3/complex_types/dataelement.py +++ b/spark_fhir_schemas/stu3/complex_types/dataelement.py @@ -412,9 +412,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/dataelement_mapping.py b/spark_fhir_schemas/stu3/complex_types/dataelement_mapping.py index bbf4035d..43ecb377 100644 --- a/spark_fhir_schemas/stu3/complex_types/dataelement_mapping.py +++ b/spark_fhir_schemas/stu3/complex_types/dataelement_mapping.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/datarequirement.py b/spark_fhir_schemas/stu3/complex_types/datarequirement.py index ae38f2e9..96ce219a 100644 --- a/spark_fhir_schemas/stu3/complex_types/datarequirement.py +++ b/spark_fhir_schemas/stu3/complex_types/datarequirement.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/stu3/complex_types/datarequirement_codefilter.py index b1f3b7f1..9917cf0d 100644 --- a/spark_fhir_schemas/stu3/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/stu3/complex_types/datarequirement_codefilter.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/stu3/complex_types/datarequirement_datefilter.py index e9b3622d..3b7db714 100644 --- a/spark_fhir_schemas/stu3/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/stu3/complex_types/datarequirement_datefilter.py @@ -182,9 +182,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/detectedissue.py b/spark_fhir_schemas/stu3/complex_types/detectedissue.py index a47320aa..12427b4f 100644 --- a/spark_fhir_schemas/stu3/complex_types/detectedissue.py +++ b/spark_fhir_schemas/stu3/complex_types/detectedissue.py @@ -331,9 +331,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/stu3/complex_types/detectedissue_mitigation.py index 66f110da..630d63a5 100644 --- a/spark_fhir_schemas/stu3/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/stu3/complex_types/detectedissue_mitigation.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/device.py b/spark_fhir_schemas/stu3/complex_types/device.py index a95d7b0b..48a0d450 100644 --- a/spark_fhir_schemas/stu3/complex_types/device.py +++ b/spark_fhir_schemas/stu3/complex_types/device.py @@ -420,9 +420,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/device_udi.py b/spark_fhir_schemas/stu3/complex_types/device_udi.py index 50d95d2d..dcae9018 100644 --- a/spark_fhir_schemas/stu3/complex_types/device_udi.py +++ b/spark_fhir_schemas/stu3/complex_types/device_udi.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicecomponent.py b/spark_fhir_schemas/stu3/complex_types/devicecomponent.py index ce04cc74..77285bd6 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicecomponent.py +++ b/spark_fhir_schemas/stu3/complex_types/devicecomponent.py @@ -355,9 +355,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicecomponent_productionspecification.py b/spark_fhir_schemas/stu3/complex_types/devicecomponent_productionspecification.py index fe1b26ef..15e7adda 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicecomponent_productionspecification.py +++ b/spark_fhir_schemas/stu3/complex_types/devicecomponent_productionspecification.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicemetric.py b/spark_fhir_schemas/stu3/complex_types/devicemetric.py index 70be07c9..272cc62d 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicemetric.py +++ b/spark_fhir_schemas/stu3/complex_types/devicemetric.py @@ -373,9 +373,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/stu3/complex_types/devicemetric_calibration.py index e1841bd0..a9f04f69 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/stu3/complex_types/devicemetric_calibration.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicerequest.py b/spark_fhir_schemas/stu3/complex_types/devicerequest.py index 6bcb9f5b..17cf77e3 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicerequest.py +++ b/spark_fhir_schemas/stu3/complex_types/devicerequest.py @@ -609,9 +609,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/devicerequest_requester.py b/spark_fhir_schemas/stu3/complex_types/devicerequest_requester.py index 58c48fa7..7608e6bb 100644 --- a/spark_fhir_schemas/stu3/complex_types/devicerequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/devicerequest_requester.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/deviceusestatement.py b/spark_fhir_schemas/stu3/complex_types/deviceusestatement.py index d843a631..ec4d5961 100644 --- a/spark_fhir_schemas/stu3/complex_types/deviceusestatement.py +++ b/spark_fhir_schemas/stu3/complex_types/deviceusestatement.py @@ -396,9 +396,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/diagnosticreport.py b/spark_fhir_schemas/stu3/complex_types/diagnosticreport.py index 51889ab5..e43211e1 100644 --- a/spark_fhir_schemas/stu3/complex_types/diagnosticreport.py +++ b/spark_fhir_schemas/stu3/complex_types/diagnosticreport.py @@ -525,9 +525,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/diagnosticreport_image.py b/spark_fhir_schemas/stu3/complex_types/diagnosticreport_image.py index ef637bb4..1b3fbf1c 100644 --- a/spark_fhir_schemas/stu3/complex_types/diagnosticreport_image.py +++ b/spark_fhir_schemas/stu3/complex_types/diagnosticreport_image.py @@ -125,9 +125,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/diagnosticreport_performer.py b/spark_fhir_schemas/stu3/complex_types/diagnosticreport_performer.py index 593d89b9..06151886 100644 --- a/spark_fhir_schemas/stu3/complex_types/diagnosticreport_performer.py +++ b/spark_fhir_schemas/stu3/complex_types/diagnosticreport_performer.py @@ -143,9 +143,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/distance.py b/spark_fhir_schemas/stu3/complex_types/distance.py index ebce782f..31ea2a5e 100644 --- a/spark_fhir_schemas/stu3/complex_types/distance.py +++ b/spark_fhir_schemas/stu3/complex_types/distance.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentmanifest.py b/spark_fhir_schemas/stu3/complex_types/documentmanifest.py index 7859f7a0..9ba3988f 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentmanifest.py +++ b/spark_fhir_schemas/stu3/complex_types/documentmanifest.py @@ -384,9 +384,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentmanifest_content.py b/spark_fhir_schemas/stu3/complex_types/documentmanifest_content.py index ee26495e..15300a0f 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentmanifest_content.py +++ b/spark_fhir_schemas/stu3/complex_types/documentmanifest_content.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentmanifest_related.py b/spark_fhir_schemas/stu3/complex_types/documentmanifest_related.py index c87ca3e5..2dcf0277 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/stu3/complex_types/documentmanifest_related.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentreference.py b/spark_fhir_schemas/stu3/complex_types/documentreference.py index ca1bd4ff..44df2e0c 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentreference.py +++ b/spark_fhir_schemas/stu3/complex_types/documentreference.py @@ -463,9 +463,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentreference_content.py b/spark_fhir_schemas/stu3/complex_types/documentreference_content.py index 14d4ff44..c1405cfe 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/stu3/complex_types/documentreference_content.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentreference_context.py b/spark_fhir_schemas/stu3/complex_types/documentreference_context.py index 78d682c4..7d27b95e 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/stu3/complex_types/documentreference_context.py @@ -236,9 +236,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentreference_related.py b/spark_fhir_schemas/stu3/complex_types/documentreference_related.py index 7b92db94..08e1e26b 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentreference_related.py +++ b/spark_fhir_schemas/stu3/complex_types/documentreference_related.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/stu3/complex_types/documentreference_relatesto.py index ae52df18..cbeea460 100644 --- a/spark_fhir_schemas/stu3/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/stu3/complex_types/documentreference_relatesto.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/domainresource.py b/spark_fhir_schemas/stu3/complex_types/domainresource.py index 53b5fa9d..b9799c37 100644 --- a/spark_fhir_schemas/stu3/complex_types/domainresource.py +++ b/spark_fhir_schemas/stu3/complex_types/domainresource.py @@ -175,9 +175,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/dosage.py b/spark_fhir_schemas/stu3/complex_types/dosage.py index 51441e79..dbbcbc87 100644 --- a/spark_fhir_schemas/stu3/complex_types/dosage.py +++ b/spark_fhir_schemas/stu3/complex_types/dosage.py @@ -371,9 +371,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/duration.py b/spark_fhir_schemas/stu3/complex_types/duration.py index 9d5e107a..8abb9186 100644 --- a/spark_fhir_schemas/stu3/complex_types/duration.py +++ b/spark_fhir_schemas/stu3/complex_types/duration.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/element.py b/spark_fhir_schemas/stu3/complex_types/element.py index 3b26fc01..3c09dc9f 100644 --- a/spark_fhir_schemas/stu3/complex_types/element.py +++ b/spark_fhir_schemas/stu3/complex_types/element.py @@ -90,9 +90,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition.py index c43c97e4..a6715ec8 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition.py @@ -3548,9 +3548,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_base.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_base.py index 51d77a43..c6a7c415 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_base.py @@ -118,9 +118,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_binding.py index 462e4a71..6859111d 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_binding.py @@ -147,9 +147,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_constraint.py index afb89c7f..d85cb19a 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_constraint.py @@ -136,9 +136,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_discriminator.py index 9f7ead0b..82ceec9a 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_discriminator.py @@ -104,9 +104,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_example.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_example.py index b08fb4d7..598ece7c 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_example.py @@ -948,9 +948,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_mapping.py index 3c35c7b3..4512da6a 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_mapping.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_slicing.py index 14fba4c6..d100a8c4 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_slicing.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/elementdefinition_type.py b/spark_fhir_schemas/stu3/complex_types/elementdefinition_type.py index 01131b8a..62c038a6 100644 --- a/spark_fhir_schemas/stu3/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/stu3/complex_types/elementdefinition_type.py @@ -147,9 +147,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityrequest.py b/spark_fhir_schemas/stu3/complex_types/eligibilityrequest.py index d3b97bac..0dfca359 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityrequest.py @@ -428,9 +428,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse.py b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse.py index c034e3e1..d33ab49f 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse.py @@ -380,9 +380,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_benefitbalance.py b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_benefitbalance.py index fa49f186..eb74fa30 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_benefitbalance.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_benefitbalance.py @@ -231,9 +231,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_error.py b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_error.py index 3627dda2..f81f656d 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_error.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_error.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_financial.py b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_financial.py index 4445f1e5..028db616 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_financial.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_financial.py @@ -168,9 +168,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_insurance.py b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_insurance.py index e8449de8..c7157d54 100644 --- a/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_insurance.py +++ b/spark_fhir_schemas/stu3/complex_types/eligibilityresponse_insurance.py @@ -151,9 +151,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter.py b/spark_fhir_schemas/stu3/complex_types/encounter.py index f588f684..9de43dab 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter.py @@ -619,9 +619,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_classhistory.py b/spark_fhir_schemas/stu3/complex_types/encounter_classhistory.py index 1f97d6e7..cdbad24d 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_classhistory.py @@ -129,9 +129,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/stu3/complex_types/encounter_diagnosis.py index 3a8d17db..087fb6e8 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_diagnosis.py @@ -150,9 +150,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/stu3/complex_types/encounter_hospitalization.py index c88fb3a9..74fb59cb 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_hospitalization.py @@ -259,9 +259,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_location.py b/spark_fhir_schemas/stu3/complex_types/encounter_location.py index a151ec91..f17e0c70 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_location.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_location.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_participant.py b/spark_fhir_schemas/stu3/complex_types/encounter_participant.py index 55e3042e..ee3b2a28 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_participant.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/encounter_statushistory.py b/spark_fhir_schemas/stu3/complex_types/encounter_statushistory.py index dae49ff0..726b0517 100644 --- a/spark_fhir_schemas/stu3/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/stu3/complex_types/encounter_statushistory.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/endpoint.py b/spark_fhir_schemas/stu3/complex_types/endpoint.py index cdf7cb2f..f0f27bd3 100644 --- a/spark_fhir_schemas/stu3/complex_types/endpoint.py +++ b/spark_fhir_schemas/stu3/complex_types/endpoint.py @@ -339,9 +339,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/enrollmentrequest.py b/spark_fhir_schemas/stu3/complex_types/enrollmentrequest.py index cbdba6af..31ad4afb 100644 --- a/spark_fhir_schemas/stu3/complex_types/enrollmentrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/enrollmentrequest.py @@ -297,9 +297,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/enrollmentresponse.py b/spark_fhir_schemas/stu3/complex_types/enrollmentresponse.py index 2427db4a..227efed2 100644 --- a/spark_fhir_schemas/stu3/complex_types/enrollmentresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/enrollmentresponse.py @@ -304,9 +304,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/episodeofcare.py b/spark_fhir_schemas/stu3/complex_types/episodeofcare.py index d0473c61..4d741d22 100644 --- a/spark_fhir_schemas/stu3/complex_types/episodeofcare.py +++ b/spark_fhir_schemas/stu3/complex_types/episodeofcare.py @@ -416,9 +416,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/stu3/complex_types/episodeofcare_diagnosis.py index a4aa1be5..9c5190d6 100644 --- a/spark_fhir_schemas/stu3/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/stu3/complex_types/episodeofcare_diagnosis.py @@ -148,9 +148,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/stu3/complex_types/episodeofcare_statushistory.py index d1bed9a9..0da9ff6d 100644 --- a/spark_fhir_schemas/stu3/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/stu3/complex_types/episodeofcare_statushistory.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile.py index 2850d8c4..749555fb 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile.py @@ -474,9 +474,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation.py index 995a1f8a..d381b9a9 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation.py @@ -132,9 +132,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation1.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation1.py index 15fff5da..4f874c58 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation1.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation1.py @@ -114,9 +114,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation2.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation2.py index db473c6d..a359de71 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation2.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_designation2.py @@ -114,9 +114,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_exclude.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_exclude.py index de660ebb..fa695d85 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_exclude.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_exclude.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_excludedsystem.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_excludedsystem.py index a3b725b9..9db7e7f2 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_excludedsystem.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_excludedsystem.py @@ -102,9 +102,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_fixedversion.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_fixedversion.py index 7263eb99..dfbae131 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_fixedversion.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_fixedversion.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/expansionprofile_include.py b/spark_fhir_schemas/stu3/complex_types/expansionprofile_include.py index 6ecf1de9..e161d49d 100644 --- a/spark_fhir_schemas/stu3/complex_types/expansionprofile_include.py +++ b/spark_fhir_schemas/stu3/complex_types/expansionprofile_include.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit.py index ebca1e74..656baa01 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit.py @@ -907,9 +907,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_accident.py index 979305da..06a2a52e 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_accident.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_additem.py index 711b649a..64b82379 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_additem.py @@ -258,9 +258,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_adjudication.py index 726f33a7..d34b719f 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_adjudication.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_benefitbalance.py index f0050244..ae5cf971 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_benefitbalance.py @@ -233,9 +233,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_careteam.py index 5eaf33e5..8ea9be77 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_careteam.py @@ -171,9 +171,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail.py index a9a74d58..aea0e86f 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail.py @@ -369,9 +369,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail1.py index aa1a7dca..b52d84a7 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_detail1.py @@ -228,9 +228,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_diagnosis.py index 2dfaee58..0e8843fc 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_diagnosis.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_financial.py index 53c54dcf..0a0c6711 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_financial.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_information.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_information.py index 823b548e..f617f7cd 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_information.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_information.py @@ -261,9 +261,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_insurance.py index e8c5086d..ddad6905 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_insurance.py @@ -118,9 +118,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_item.py index 7ce47cad..e33d5878 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_item.py @@ -504,9 +504,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payee.py index 8059310f..57a74bfd 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payee.py @@ -150,9 +150,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payment.py index 5b960926..ee5c6512 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_payment.py @@ -192,9 +192,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_procedure.py index dee640c1..c1069a6a 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_procedure.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_processnote.py index fdd44e84..dff3c3e4 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_processnote.py @@ -156,9 +156,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_related.py index 651c9f52..55f2bf5b 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_related.py @@ -158,9 +158,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_subdetail.py index 5e46b084..7b79106e 100644 --- a/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/stu3/complex_types/explanationofbenefit_subdetail.py @@ -342,9 +342,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/extension.py b/spark_fhir_schemas/stu3/complex_types/extension.py index d067da6d..e3982db8 100644 --- a/spark_fhir_schemas/stu3/complex_types/extension.py +++ b/spark_fhir_schemas/stu3/complex_types/extension.py @@ -361,9 +361,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/familymemberhistory.py b/spark_fhir_schemas/stu3/complex_types/familymemberhistory.py index a0c711ea..ad3ed711 100644 --- a/spark_fhir_schemas/stu3/complex_types/familymemberhistory.py +++ b/spark_fhir_schemas/stu3/complex_types/familymemberhistory.py @@ -541,9 +541,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/stu3/complex_types/familymemberhistory_condition.py index 439fc102..13784bea 100644 --- a/spark_fhir_schemas/stu3/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/stu3/complex_types/familymemberhistory_condition.py @@ -231,9 +231,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/flag.py b/spark_fhir_schemas/stu3/complex_types/flag.py index f40f6d3b..41c9e3c5 100644 --- a/spark_fhir_schemas/stu3/complex_types/flag.py +++ b/spark_fhir_schemas/stu3/complex_types/flag.py @@ -319,9 +319,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/goal.py b/spark_fhir_schemas/stu3/complex_types/goal.py index 1480f880..57e29fa2 100644 --- a/spark_fhir_schemas/stu3/complex_types/goal.py +++ b/spark_fhir_schemas/stu3/complex_types/goal.py @@ -448,9 +448,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/goal_target.py b/spark_fhir_schemas/stu3/complex_types/goal_target.py index 7dd0b406..542971af 100644 --- a/spark_fhir_schemas/stu3/complex_types/goal_target.py +++ b/spark_fhir_schemas/stu3/complex_types/goal_target.py @@ -233,9 +233,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/graphdefinition.py b/spark_fhir_schemas/stu3/complex_types/graphdefinition.py index d69b051b..3f63df68 100644 --- a/spark_fhir_schemas/stu3/complex_types/graphdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/graphdefinition.py @@ -372,9 +372,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/stu3/complex_types/graphdefinition_compartment.py index 57e217a1..94ad90e0 100644 --- a/spark_fhir_schemas/stu3/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/stu3/complex_types/graphdefinition_compartment.py @@ -111,9 +111,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/graphdefinition_link.py b/spark_fhir_schemas/stu3/complex_types/graphdefinition_link.py index e08e01e0..dd86f242 100644 --- a/spark_fhir_schemas/stu3/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/stu3/complex_types/graphdefinition_link.py @@ -144,9 +144,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/graphdefinition_target.py b/spark_fhir_schemas/stu3/complex_types/graphdefinition_target.py index fe4089b0..30a55cd0 100644 --- a/spark_fhir_schemas/stu3/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/stu3/complex_types/graphdefinition_target.py @@ -147,9 +147,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/group.py b/spark_fhir_schemas/stu3/complex_types/group.py index f4b0d664..779be2fb 100644 --- a/spark_fhir_schemas/stu3/complex_types/group.py +++ b/spark_fhir_schemas/stu3/complex_types/group.py @@ -304,9 +304,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/group_characteristic.py b/spark_fhir_schemas/stu3/complex_types/group_characteristic.py index ad375ebb..3342207a 100644 --- a/spark_fhir_schemas/stu3/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/stu3/complex_types/group_characteristic.py @@ -215,9 +215,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/group_member.py b/spark_fhir_schemas/stu3/complex_types/group_member.py index 17dcba56..5cb5bd46 100644 --- a/spark_fhir_schemas/stu3/complex_types/group_member.py +++ b/spark_fhir_schemas/stu3/complex_types/group_member.py @@ -148,9 +148,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/guidanceresponse.py b/spark_fhir_schemas/stu3/complex_types/guidanceresponse.py index a9a9239f..1e0fdb2e 100644 --- a/spark_fhir_schemas/stu3/complex_types/guidanceresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/guidanceresponse.py @@ -471,9 +471,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/healthcareservice.py b/spark_fhir_schemas/stu3/complex_types/healthcareservice.py index 727d8a47..74a9c198 100644 --- a/spark_fhir_schemas/stu3/complex_types/healthcareservice.py +++ b/spark_fhir_schemas/stu3/complex_types/healthcareservice.py @@ -559,9 +559,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/stu3/complex_types/healthcareservice_availabletime.py index 2922fd83..cafd1e3a 100644 --- a/spark_fhir_schemas/stu3/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/stu3/complex_types/healthcareservice_availabletime.py @@ -121,9 +121,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/stu3/complex_types/healthcareservice_notavailable.py index 8be23208..3cea2eb3 100644 --- a/spark_fhir_schemas/stu3/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/stu3/complex_types/healthcareservice_notavailable.py @@ -116,9 +116,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/humanname.py b/spark_fhir_schemas/stu3/complex_types/humanname.py index eed24724..455477d0 100644 --- a/spark_fhir_schemas/stu3/complex_types/humanname.py +++ b/spark_fhir_schemas/stu3/complex_types/humanname.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/identifier.py b/spark_fhir_schemas/stu3/complex_types/identifier.py index e5142183..edc2b9f0 100644 --- a/spark_fhir_schemas/stu3/complex_types/identifier.py +++ b/spark_fhir_schemas/stu3/complex_types/identifier.py @@ -165,9 +165,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingmanifest.py b/spark_fhir_schemas/stu3/complex_types/imagingmanifest.py index ad7efb34..83a7e280 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingmanifest.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingmanifest.py @@ -296,9 +296,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_instance.py b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_instance.py index 3db83c97..beb0d2b8 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_instance.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_instance.py @@ -101,9 +101,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_series.py b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_series.py index 877c9f69..8a506e24 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_series.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_series.py @@ -145,9 +145,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_study.py b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_study.py index 9ab28308..ee432994 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingmanifest_study.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingmanifest_study.py @@ -164,9 +164,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingstudy.py b/spark_fhir_schemas/stu3/complex_types/imagingstudy.py index a7b91137..fdd10150 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingstudy.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingstudy.py @@ -498,9 +498,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/stu3/complex_types/imagingstudy_instance.py index 0419e076..7cad0689 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingstudy_instance.py @@ -122,9 +122,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/imagingstudy_series.py b/spark_fhir_schemas/stu3/complex_types/imagingstudy_series.py index eae4e746..df2b9dd8 100644 --- a/spark_fhir_schemas/stu3/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/stu3/complex_types/imagingstudy_series.py @@ -275,9 +275,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunization.py b/spark_fhir_schemas/stu3/complex_types/immunization.py index 8e36d87b..b22b25db 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunization.py +++ b/spark_fhir_schemas/stu3/complex_types/immunization.py @@ -515,9 +515,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunization_explanation.py b/spark_fhir_schemas/stu3/complex_types/immunization_explanation.py index 827a2c78..504cb2e3 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunization_explanation.py +++ b/spark_fhir_schemas/stu3/complex_types/immunization_explanation.py @@ -138,9 +138,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunization_practitioner.py b/spark_fhir_schemas/stu3/complex_types/immunization_practitioner.py index 0761e630..d782bb89 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunization_practitioner.py +++ b/spark_fhir_schemas/stu3/complex_types/immunization_practitioner.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunization_reaction.py b/spark_fhir_schemas/stu3/complex_types/immunization_reaction.py index 93696184..16118eda 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/stu3/complex_types/immunization_reaction.py @@ -130,9 +130,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunization_vaccinationprotocol.py b/spark_fhir_schemas/stu3/complex_types/immunization_vaccinationprotocol.py index e72f8f3d..ea486b02 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunization_vaccinationprotocol.py +++ b/spark_fhir_schemas/stu3/complex_types/immunization_vaccinationprotocol.py @@ -201,9 +201,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation.py b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation.py index 35ceaa04..34a5d870 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation.py +++ b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation.py @@ -243,9 +243,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_datecriterion.py index 957722a0..ac0b3fdb 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_datecriterion.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_protocol.py b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_protocol.py index b10ca1ed..7e19eced 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_protocol.py +++ b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_protocol.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_recommendation.py index 8a6454bd..197c74e0 100644 --- a/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/stu3/complex_types/immunizationrecommendation_recommendation.py @@ -256,9 +256,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide.py b/spark_fhir_schemas/stu3/complex_types/implementationguide.py index cb462a33..988eca3c 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide.py @@ -452,9 +452,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide_dependency.py b/spark_fhir_schemas/stu3/complex_types/implementationguide_dependency.py index 7cc19e2d..9279d1c1 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide_dependency.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide_dependency.py @@ -104,9 +104,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide_global.py b/spark_fhir_schemas/stu3/complex_types/implementationguide_global.py index d3c3c2c5..12a7a4cc 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide_global.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide_package.py b/spark_fhir_schemas/stu3/complex_types/implementationguide_package.py index a81e56d2..7bbd52d7 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide_package.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide_package.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide_page.py b/spark_fhir_schemas/stu3/complex_types/implementationguide_page.py index 0ceacb17..fece118e 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide_page.py @@ -146,9 +146,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/implementationguide_resource.py b/spark_fhir_schemas/stu3/complex_types/implementationguide_resource.py index cd33069c..83bfb321 100644 --- a/spark_fhir_schemas/stu3/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/stu3/complex_types/implementationguide_resource.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/library.py b/spark_fhir_schemas/stu3/complex_types/library.py index aab9141a..7cc503ae 100644 --- a/spark_fhir_schemas/stu3/complex_types/library.py +++ b/spark_fhir_schemas/stu3/complex_types/library.py @@ -578,9 +578,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/linkage.py b/spark_fhir_schemas/stu3/complex_types/linkage.py index 16e5e4c1..d6df1a56 100644 --- a/spark_fhir_schemas/stu3/complex_types/linkage.py +++ b/spark_fhir_schemas/stu3/complex_types/linkage.py @@ -239,9 +239,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/linkage_item.py b/spark_fhir_schemas/stu3/complex_types/linkage_item.py index 8512b3fb..d1743c00 100644 --- a/spark_fhir_schemas/stu3/complex_types/linkage_item.py +++ b/spark_fhir_schemas/stu3/complex_types/linkage_item.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/list.py b/spark_fhir_schemas/stu3/complex_types/list.py index f21e9e9b..f85fa688 100644 --- a/spark_fhir_schemas/stu3/complex_types/list.py +++ b/spark_fhir_schemas/stu3/complex_types/list.py @@ -372,9 +372,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/list_entry.py b/spark_fhir_schemas/stu3/complex_types/list_entry.py index 08ee4f4b..8e78a4c9 100644 --- a/spark_fhir_schemas/stu3/complex_types/list_entry.py +++ b/spark_fhir_schemas/stu3/complex_types/list_entry.py @@ -146,9 +146,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/location.py b/spark_fhir_schemas/stu3/complex_types/location.py index d1d6a601..2acd3127 100644 --- a/spark_fhir_schemas/stu3/complex_types/location.py +++ b/spark_fhir_schemas/stu3/complex_types/location.py @@ -412,9 +412,11 @@ class of locations. ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/location_position.py b/spark_fhir_schemas/stu3/complex_types/location_position.py index 4f5c5ed3..485c7ec2 100644 --- a/spark_fhir_schemas/stu3/complex_types/location_position.py +++ b/spark_fhir_schemas/stu3/complex_types/location_position.py @@ -120,9 +120,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measure.py b/spark_fhir_schemas/stu3/complex_types/measure.py index f8e0cf4a..8274062c 100644 --- a/spark_fhir_schemas/stu3/complex_types/measure.py +++ b/spark_fhir_schemas/stu3/complex_types/measure.py @@ -668,9 +668,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measure_group.py b/spark_fhir_schemas/stu3/complex_types/measure_group.py index c5b74098..b689717d 100644 --- a/spark_fhir_schemas/stu3/complex_types/measure_group.py +++ b/spark_fhir_schemas/stu3/complex_types/measure_group.py @@ -167,9 +167,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measure_population.py b/spark_fhir_schemas/stu3/complex_types/measure_population.py index c8ba8c45..9e7e7e6c 100644 --- a/spark_fhir_schemas/stu3/complex_types/measure_population.py +++ b/spark_fhir_schemas/stu3/complex_types/measure_population.py @@ -145,9 +145,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measure_stratifier.py b/spark_fhir_schemas/stu3/complex_types/measure_stratifier.py index 2852d4ac..d8260ffe 100644 --- a/spark_fhir_schemas/stu3/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/stu3/complex_types/measure_stratifier.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/stu3/complex_types/measure_supplementaldata.py index 50a3c3ed..238e425a 100644 --- a/spark_fhir_schemas/stu3/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/stu3/complex_types/measure_supplementaldata.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport.py b/spark_fhir_schemas/stu3/complex_types/measurereport.py index 248a7413..aca4d52e 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport.py @@ -334,9 +334,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport_group.py b/spark_fhir_schemas/stu3/complex_types/measurereport_group.py index 576b93cb..19cbe203 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport_group.py @@ -172,9 +172,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport_population.py b/spark_fhir_schemas/stu3/complex_types/measurereport_population.py index fd81b065..6aa27552 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport_population.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport_population1.py b/spark_fhir_schemas/stu3/complex_types/measurereport_population1.py index d7d1c652..424d9f2f 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport_population1.py @@ -162,9 +162,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/stu3/complex_types/measurereport_stratifier.py index 0f2a5066..1f508ca9 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport_stratifier.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/measurereport_stratum.py b/spark_fhir_schemas/stu3/complex_types/measurereport_stratum.py index 5b396068..717a92f9 100644 --- a/spark_fhir_schemas/stu3/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/stu3/complex_types/measurereport_stratum.py @@ -136,9 +136,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/media.py b/spark_fhir_schemas/stu3/complex_types/media.py index da415d6d..dcda2f1b 100644 --- a/spark_fhir_schemas/stu3/complex_types/media.py +++ b/spark_fhir_schemas/stu3/complex_types/media.py @@ -473,9 +473,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medication.py b/spark_fhir_schemas/stu3/complex_types/medication.py index bd9d1ad8..4ba5857b 100644 --- a/spark_fhir_schemas/stu3/complex_types/medication.py +++ b/spark_fhir_schemas/stu3/complex_types/medication.py @@ -329,9 +329,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medication_batch.py b/spark_fhir_schemas/stu3/complex_types/medication_batch.py index 2a6ace9f..bbd04fd1 100644 --- a/spark_fhir_schemas/stu3/complex_types/medication_batch.py +++ b/spark_fhir_schemas/stu3/complex_types/medication_batch.py @@ -108,9 +108,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medication_content.py b/spark_fhir_schemas/stu3/complex_types/medication_content.py index 3ccaf515..69f19af6 100644 --- a/spark_fhir_schemas/stu3/complex_types/medication_content.py +++ b/spark_fhir_schemas/stu3/complex_types/medication_content.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medication_ingredient.py b/spark_fhir_schemas/stu3/complex_types/medication_ingredient.py index 21f269ef..4dc006ca 100644 --- a/spark_fhir_schemas/stu3/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/stu3/complex_types/medication_ingredient.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medication_package.py b/spark_fhir_schemas/stu3/complex_types/medication_package.py index 0736cfca..cb8da1b8 100644 --- a/spark_fhir_schemas/stu3/complex_types/medication_package.py +++ b/spark_fhir_schemas/stu3/complex_types/medication_package.py @@ -159,9 +159,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationadministration.py b/spark_fhir_schemas/stu3/complex_types/medicationadministration.py index 1b570a6f..17b95217 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationadministration.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationadministration.py @@ -625,9 +625,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/stu3/complex_types/medicationadministration_dosage.py index 4598ac26..9ae75a50 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationadministration_dosage.py @@ -249,9 +249,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/stu3/complex_types/medicationadministration_performer.py index dfa6d142..7dc67796 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationadministration_performer.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationdispense.py b/spark_fhir_schemas/stu3/complex_types/medicationdispense.py index 6c365e65..35fd6999 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationdispense.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationdispense.py @@ -664,9 +664,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/stu3/complex_types/medicationdispense_performer.py index e5ccccc2..e1663e9b 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationdispense_performer.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/stu3/complex_types/medicationdispense_substitution.py index 19f07e0b..c49b5b10 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationdispense_substitution.py @@ -178,9 +178,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationrequest.py b/spark_fhir_schemas/stu3/complex_types/medicationrequest.py index bd08982b..3894fb4d 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationrequest.py @@ -674,9 +674,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/stu3/complex_types/medicationrequest_dispenserequest.py index 24d36a69..183a7994 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationrequest_dispenserequest.py @@ -199,9 +199,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationrequest_requester.py b/spark_fhir_schemas/stu3/complex_types/medicationrequest_requester.py index 226f4e0c..00616481 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationrequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationrequest_requester.py @@ -136,9 +136,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/stu3/complex_types/medicationrequest_substitution.py index af500618..2582b451 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationrequest_substitution.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/medicationstatement.py b/spark_fhir_schemas/stu3/complex_types/medicationstatement.py index bad24f85..55d6b2d1 100644 --- a/spark_fhir_schemas/stu3/complex_types/medicationstatement.py +++ b/spark_fhir_schemas/stu3/complex_types/medicationstatement.py @@ -592,9 +592,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messagedefinition.py b/spark_fhir_schemas/stu3/complex_types/messagedefinition.py index 176540de..f6e51120 100644 --- a/spark_fhir_schemas/stu3/complex_types/messagedefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/messagedefinition.py @@ -510,9 +510,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/stu3/complex_types/messagedefinition_allowedresponse.py index 6d13b2ea..4643a77d 100644 --- a/spark_fhir_schemas/stu3/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/messagedefinition_allowedresponse.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/stu3/complex_types/messagedefinition_focus.py index d88950a9..b303e881 100644 --- a/spark_fhir_schemas/stu3/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/stu3/complex_types/messagedefinition_focus.py @@ -138,9 +138,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messageheader.py b/spark_fhir_schemas/stu3/complex_types/messageheader.py index 742f0f4e..4be8ae8d 100644 --- a/spark_fhir_schemas/stu3/complex_types/messageheader.py +++ b/spark_fhir_schemas/stu3/complex_types/messageheader.py @@ -420,9 +420,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messageheader_destination.py b/spark_fhir_schemas/stu3/complex_types/messageheader_destination.py index c4c5c2ea..11de3dce 100644 --- a/spark_fhir_schemas/stu3/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/stu3/complex_types/messageheader_destination.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messageheader_response.py b/spark_fhir_schemas/stu3/complex_types/messageheader_response.py index a34267e1..0ab67b69 100644 --- a/spark_fhir_schemas/stu3/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/stu3/complex_types/messageheader_response.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/messageheader_source.py b/spark_fhir_schemas/stu3/complex_types/messageheader_source.py index ccbc462d..b893425e 100644 --- a/spark_fhir_schemas/stu3/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/stu3/complex_types/messageheader_source.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/meta.py b/spark_fhir_schemas/stu3/complex_types/meta.py index 346f8f38..5b9dc71f 100644 --- a/spark_fhir_schemas/stu3/complex_types/meta.py +++ b/spark_fhir_schemas/stu3/complex_types/meta.py @@ -157,9 +157,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/money.py b/spark_fhir_schemas/stu3/complex_types/money.py index 514e224b..9ad0a4ca 100644 --- a/spark_fhir_schemas/stu3/complex_types/money.py +++ b/spark_fhir_schemas/stu3/complex_types/money.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/namingsystem.py b/spark_fhir_schemas/stu3/complex_types/namingsystem.py index a78dfa59..0797b5d9 100644 --- a/spark_fhir_schemas/stu3/complex_types/namingsystem.py +++ b/spark_fhir_schemas/stu3/complex_types/namingsystem.py @@ -374,9 +374,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/stu3/complex_types/namingsystem_uniqueid.py index d58303da..d87b885b 100644 --- a/spark_fhir_schemas/stu3/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/stu3/complex_types/namingsystem_uniqueid.py @@ -142,9 +142,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/narrative.py b/spark_fhir_schemas/stu3/complex_types/narrative.py index c15d3ab7..4784b003 100644 --- a/spark_fhir_schemas/stu3/complex_types/narrative.py +++ b/spark_fhir_schemas/stu3/complex_types/narrative.py @@ -103,9 +103,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder.py index 0e45a9fe..56245597 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder.py @@ -421,9 +421,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_administration.py index 439dd914..07cac07b 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_administration.py @@ -173,9 +173,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_enteralformula.py index 4cf54bb5..ad3564e9 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_enteralformula.py @@ -245,9 +245,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_nutrient.py index 00b4c450..5ddccf24 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_nutrient.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_oraldiet.py index 5434d504..bf914605 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_oraldiet.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_supplement.py index 41c68ba0..973658cb 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_supplement.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/stu3/complex_types/nutritionorder_texture.py index 04f5c52e..2a73c3d2 100644 --- a/spark_fhir_schemas/stu3/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/stu3/complex_types/nutritionorder_texture.py @@ -134,9 +134,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/observation.py b/spark_fhir_schemas/stu3/complex_types/observation.py index 5b697023..44acb967 100644 --- a/spark_fhir_schemas/stu3/complex_types/observation.py +++ b/spark_fhir_schemas/stu3/complex_types/observation.py @@ -739,9 +739,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/observation_component.py b/spark_fhir_schemas/stu3/complex_types/observation_component.py index 61065a83..4e780c17 100644 --- a/spark_fhir_schemas/stu3/complex_types/observation_component.py +++ b/spark_fhir_schemas/stu3/complex_types/observation_component.py @@ -343,9 +343,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/observation_referencerange.py b/spark_fhir_schemas/stu3/complex_types/observation_referencerange.py index 30a2f3c3..c26e617f 100644 --- a/spark_fhir_schemas/stu3/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/stu3/complex_types/observation_referencerange.py @@ -213,9 +213,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/observation_related.py b/spark_fhir_schemas/stu3/complex_types/observation_related.py index 0c219e7b..f894b790 100644 --- a/spark_fhir_schemas/stu3/complex_types/observation_related.py +++ b/spark_fhir_schemas/stu3/complex_types/observation_related.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationdefinition.py b/spark_fhir_schemas/stu3/complex_types/operationdefinition.py index 379700bb..6c01fa62 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/operationdefinition.py @@ -452,9 +452,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/stu3/complex_types/operationdefinition_binding.py index 6a8aa78f..a8373a06 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/stu3/complex_types/operationdefinition_binding.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/stu3/complex_types/operationdefinition_overload.py index e773d1a2..3f7a6fa6 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/stu3/complex_types/operationdefinition_overload.py @@ -102,9 +102,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/stu3/complex_types/operationdefinition_parameter.py index 7d3a2311..64a3b579 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/stu3/complex_types/operationdefinition_parameter.py @@ -194,9 +194,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationoutcome.py b/spark_fhir_schemas/stu3/complex_types/operationoutcome.py index 0f2cdc43..0ec90610 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationoutcome.py +++ b/spark_fhir_schemas/stu3/complex_types/operationoutcome.py @@ -203,9 +203,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/stu3/complex_types/operationoutcome_issue.py index 59a84eb0..bad08be6 100644 --- a/spark_fhir_schemas/stu3/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/stu3/complex_types/operationoutcome_issue.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/organization.py b/spark_fhir_schemas/stu3/complex_types/organization.py index c65aab7a..c46b1191 100644 --- a/spark_fhir_schemas/stu3/complex_types/organization.py +++ b/spark_fhir_schemas/stu3/complex_types/organization.py @@ -353,9 +353,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/organization_contact.py b/spark_fhir_schemas/stu3/complex_types/organization_contact.py index 7c41b309..61e409da 100644 --- a/spark_fhir_schemas/stu3/complex_types/organization_contact.py +++ b/spark_fhir_schemas/stu3/complex_types/organization_contact.py @@ -177,9 +177,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/parameterdefinition.py b/spark_fhir_schemas/stu3/complex_types/parameterdefinition.py index c602d570..b5bc498e 100644 --- a/spark_fhir_schemas/stu3/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/parameterdefinition.py @@ -154,9 +154,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/parameters.py b/spark_fhir_schemas/stu3/complex_types/parameters.py index 09879a69..6d6fab52 100644 --- a/spark_fhir_schemas/stu3/complex_types/parameters.py +++ b/spark_fhir_schemas/stu3/complex_types/parameters.py @@ -149,9 +149,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/parameters_parameter.py b/spark_fhir_schemas/stu3/complex_types/parameters_parameter.py index 99f12a24..a07f0ade 100644 --- a/spark_fhir_schemas/stu3/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/stu3/complex_types/parameters_parameter.py @@ -881,9 +881,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/patient.py b/spark_fhir_schemas/stu3/complex_types/patient.py index abaac7ac..84f9363f 100644 --- a/spark_fhir_schemas/stu3/complex_types/patient.py +++ b/spark_fhir_schemas/stu3/complex_types/patient.py @@ -473,9 +473,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/patient_animal.py b/spark_fhir_schemas/stu3/complex_types/patient_animal.py index 267e0507..eb139627 100644 --- a/spark_fhir_schemas/stu3/complex_types/patient_animal.py +++ b/spark_fhir_schemas/stu3/complex_types/patient_animal.py @@ -147,9 +147,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/patient_communication.py b/spark_fhir_schemas/stu3/complex_types/patient_communication.py index 9916f8c7..c8c9474b 100644 --- a/spark_fhir_schemas/stu3/complex_types/patient_communication.py +++ b/spark_fhir_schemas/stu3/complex_types/patient_communication.py @@ -132,9 +132,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/patient_contact.py b/spark_fhir_schemas/stu3/complex_types/patient_contact.py index 01b3f512..375304c0 100644 --- a/spark_fhir_schemas/stu3/complex_types/patient_contact.py +++ b/spark_fhir_schemas/stu3/complex_types/patient_contact.py @@ -219,9 +219,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/patient_link.py b/spark_fhir_schemas/stu3/complex_types/patient_link.py index ec0695df..cdc0b570 100644 --- a/spark_fhir_schemas/stu3/complex_types/patient_link.py +++ b/spark_fhir_schemas/stu3/complex_types/patient_link.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/paymentnotice.py b/spark_fhir_schemas/stu3/complex_types/paymentnotice.py index 411296ba..48db63d7 100644 --- a/spark_fhir_schemas/stu3/complex_types/paymentnotice.py +++ b/spark_fhir_schemas/stu3/complex_types/paymentnotice.py @@ -328,9 +328,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation.py b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation.py index a3010ce6..f76e48c3 100644 --- a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation.py +++ b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation.py @@ -403,9 +403,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_detail.py index 8b312fc8..c9f33c5f 100644 --- a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_detail.py @@ -205,9 +205,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_processnote.py index 430c5b90..b32c5571 100644 --- a/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/stu3/complex_types/paymentreconciliation_processnote.py @@ -120,9 +120,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/period.py b/spark_fhir_schemas/stu3/complex_types/period.py index 3cd3e8ab..100e9817 100644 --- a/spark_fhir_schemas/stu3/complex_types/period.py +++ b/spark_fhir_schemas/stu3/complex_types/period.py @@ -102,9 +102,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/person.py b/spark_fhir_schemas/stu3/complex_types/person.py index 3a1c3b8e..a9482bb3 100644 --- a/spark_fhir_schemas/stu3/complex_types/person.py +++ b/spark_fhir_schemas/stu3/complex_types/person.py @@ -340,9 +340,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/person_link.py b/spark_fhir_schemas/stu3/complex_types/person_link.py index 7850de62..71286338 100644 --- a/spark_fhir_schemas/stu3/complex_types/person_link.py +++ b/spark_fhir_schemas/stu3/complex_types/person_link.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition.py b/spark_fhir_schemas/stu3/complex_types/plandefinition.py index 537933de..58b4631a 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition.py @@ -583,9 +583,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_action.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_action.py index d8c58bfa..185c52b7 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_action.py @@ -542,9 +542,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_condition.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_condition.py index ae2f5af6..3b7ced3e 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_condition.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_dynamicvalue.py index 42abbc8e..db18dd4b 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_dynamicvalue.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_goal.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_goal.py index 53527027..5c61cf5f 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_goal.py @@ -243,9 +243,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_participant.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_participant.py index c99d7524..115cd2c2 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_participant.py @@ -121,9 +121,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_relatedaction.py index 2e965a7f..64c271d2 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_relatedaction.py @@ -146,9 +146,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/plandefinition_target.py b/spark_fhir_schemas/stu3/complex_types/plandefinition_target.py index c8e99fe2..c84b3795 100644 --- a/spark_fhir_schemas/stu3/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/stu3/complex_types/plandefinition_target.py @@ -222,9 +222,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/practitioner.py b/spark_fhir_schemas/stu3/complex_types/practitioner.py index 6478e6c7..a344eb1e 100644 --- a/spark_fhir_schemas/stu3/complex_types/practitioner.py +++ b/spark_fhir_schemas/stu3/complex_types/practitioner.py @@ -357,9 +357,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/practitioner_qualification.py b/spark_fhir_schemas/stu3/complex_types/practitioner_qualification.py index 06342113..fa7b49ea 100644 --- a/spark_fhir_schemas/stu3/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/stu3/complex_types/practitioner_qualification.py @@ -169,9 +169,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/practitionerrole.py b/spark_fhir_schemas/stu3/complex_types/practitionerrole.py index 6ee987b9..1d4b9f2e 100644 --- a/spark_fhir_schemas/stu3/complex_types/practitionerrole.py +++ b/spark_fhir_schemas/stu3/complex_types/practitionerrole.py @@ -445,9 +445,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/stu3/complex_types/practitionerrole_availabletime.py index e8adf752..a31daffc 100644 --- a/spark_fhir_schemas/stu3/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/stu3/complex_types/practitionerrole_availabletime.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/stu3/complex_types/practitionerrole_notavailable.py index 26ef8ed6..0f6da674 100644 --- a/spark_fhir_schemas/stu3/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/stu3/complex_types/practitionerrole_notavailable.py @@ -118,9 +118,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/procedure.py b/spark_fhir_schemas/stu3/complex_types/procedure.py index 41529cb9..4fcddd8d 100644 --- a/spark_fhir_schemas/stu3/complex_types/procedure.py +++ b/spark_fhir_schemas/stu3/complex_types/procedure.py @@ -706,9 +706,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/stu3/complex_types/procedure_focaldevice.py index cbc064da..5db49b68 100644 --- a/spark_fhir_schemas/stu3/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/stu3/complex_types/procedure_focaldevice.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/procedure_performer.py b/spark_fhir_schemas/stu3/complex_types/procedure_performer.py index 64eb3195..1aeac3ce 100644 --- a/spark_fhir_schemas/stu3/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/stu3/complex_types/procedure_performer.py @@ -150,9 +150,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/procedurerequest.py b/spark_fhir_schemas/stu3/complex_types/procedurerequest.py index bb7abcde..1a66b2d2 100644 --- a/spark_fhir_schemas/stu3/complex_types/procedurerequest.py +++ b/spark_fhir_schemas/stu3/complex_types/procedurerequest.py @@ -686,9 +686,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/procedurerequest_requester.py b/spark_fhir_schemas/stu3/complex_types/procedurerequest_requester.py index 2e24e860..f786dcf5 100644 --- a/spark_fhir_schemas/stu3/complex_types/procedurerequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/procedurerequest_requester.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/processrequest.py b/spark_fhir_schemas/stu3/complex_types/processrequest.py index cf8fbeaa..8ceffe53 100644 --- a/spark_fhir_schemas/stu3/complex_types/processrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/processrequest.py @@ -372,9 +372,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/processrequest_item.py b/spark_fhir_schemas/stu3/complex_types/processrequest_item.py index 6eaefab1..bd869f78 100644 --- a/spark_fhir_schemas/stu3/complex_types/processrequest_item.py +++ b/spark_fhir_schemas/stu3/complex_types/processrequest_item.py @@ -104,9 +104,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/processresponse.py b/spark_fhir_schemas/stu3/complex_types/processresponse.py index ff1fc6c6..8b49ca77 100644 --- a/spark_fhir_schemas/stu3/complex_types/processresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/processresponse.py @@ -385,9 +385,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/processresponse_processnote.py b/spark_fhir_schemas/stu3/complex_types/processresponse_processnote.py index 304b7d9b..a2df7437 100644 --- a/spark_fhir_schemas/stu3/complex_types/processresponse_processnote.py +++ b/spark_fhir_schemas/stu3/complex_types/processresponse_processnote.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/provenance.py b/spark_fhir_schemas/stu3/complex_types/provenance.py index 4f8b34b6..5ccf0962 100644 --- a/spark_fhir_schemas/stu3/complex_types/provenance.py +++ b/spark_fhir_schemas/stu3/complex_types/provenance.py @@ -375,9 +375,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/provenance_agent.py b/spark_fhir_schemas/stu3/complex_types/provenance_agent.py index caa73db6..380b0b20 100644 --- a/spark_fhir_schemas/stu3/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/stu3/complex_types/provenance_agent.py @@ -191,9 +191,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/provenance_entity.py b/spark_fhir_schemas/stu3/complex_types/provenance_entity.py index 75e7a9c5..ed570923 100644 --- a/spark_fhir_schemas/stu3/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/stu3/complex_types/provenance_entity.py @@ -185,9 +185,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/quantity.py b/spark_fhir_schemas/stu3/complex_types/quantity.py index 9d5b86eb..a2f1c2e7 100644 --- a/spark_fhir_schemas/stu3/complex_types/quantity.py +++ b/spark_fhir_schemas/stu3/complex_types/quantity.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaire.py b/spark_fhir_schemas/stu3/complex_types/questionnaire.py index cd065590..f9d32a9f 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaire.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaire.py @@ -461,9 +461,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/stu3/complex_types/questionnaire_enablewhen.py index addfb34e..a5938883 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaire_enablewhen.py @@ -246,9 +246,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaire_item.py b/spark_fhir_schemas/stu3/complex_types/questionnaire_item.py index d2714735..efac5c8e 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaire_item.py @@ -423,9 +423,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaire_option.py b/spark_fhir_schemas/stu3/complex_types/questionnaire_option.py index 2dc2fb5b..acfc879d 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaire_option.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaire_option.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse.py b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse.py index 1249163d..dd8ad94a 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse.py @@ -379,9 +379,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_answer.py index 09e0c2cd..82c43411 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_answer.py @@ -233,9 +233,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_item.py index d043e1d5..64b5442a 100644 --- a/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/stu3/complex_types/questionnaireresponse_item.py @@ -174,9 +174,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/range.py b/spark_fhir_schemas/stu3/complex_types/range.py index 483c3ab9..a8c35165 100644 --- a/spark_fhir_schemas/stu3/complex_types/range.py +++ b/spark_fhir_schemas/stu3/complex_types/range.py @@ -125,9 +125,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/ratio.py b/spark_fhir_schemas/stu3/complex_types/ratio.py index 79d227fc..3b5af8f1 100644 --- a/spark_fhir_schemas/stu3/complex_types/ratio.py +++ b/spark_fhir_schemas/stu3/complex_types/ratio.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/reference.py b/spark_fhir_schemas/stu3/complex_types/reference.py index 542777a0..4ba0bcf3 100644 --- a/spark_fhir_schemas/stu3/complex_types/reference.py +++ b/spark_fhir_schemas/stu3/complex_types/reference.py @@ -143,9 +143,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/referralrequest.py b/spark_fhir_schemas/stu3/complex_types/referralrequest.py index 51f4e8f3..8f05c739 100644 --- a/spark_fhir_schemas/stu3/complex_types/referralrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/referralrequest.py @@ -610,9 +610,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/referralrequest_requester.py b/spark_fhir_schemas/stu3/complex_types/referralrequest_requester.py index a0a90287..3f7e2dc4 100644 --- a/spark_fhir_schemas/stu3/complex_types/referralrequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/referralrequest_requester.py @@ -130,9 +130,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/relatedartifact.py b/spark_fhir_schemas/stu3/complex_types/relatedartifact.py index 016d0d63..7e1831fd 100644 --- a/spark_fhir_schemas/stu3/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/stu3/complex_types/relatedartifact.py @@ -153,9 +153,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/relatedperson.py b/spark_fhir_schemas/stu3/complex_types/relatedperson.py index fce58591..520b4f8b 100644 --- a/spark_fhir_schemas/stu3/complex_types/relatedperson.py +++ b/spark_fhir_schemas/stu3/complex_types/relatedperson.py @@ -365,9 +365,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/requestgroup.py b/spark_fhir_schemas/stu3/complex_types/requestgroup.py index 872e489e..e88170a5 100644 --- a/spark_fhir_schemas/stu3/complex_types/requestgroup.py +++ b/spark_fhir_schemas/stu3/complex_types/requestgroup.py @@ -450,9 +450,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/requestgroup_action.py b/spark_fhir_schemas/stu3/complex_types/requestgroup_action.py index 59e32173..800908ff 100644 --- a/spark_fhir_schemas/stu3/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/stu3/complex_types/requestgroup_action.py @@ -390,9 +390,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/requestgroup_condition.py b/spark_fhir_schemas/stu3/complex_types/requestgroup_condition.py index 1be670a6..98b9803c 100644 --- a/spark_fhir_schemas/stu3/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/stu3/complex_types/requestgroup_condition.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/stu3/complex_types/requestgroup_relatedaction.py index 65a26382..b1fcc030 100644 --- a/spark_fhir_schemas/stu3/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/stu3/complex_types/requestgroup_relatedaction.py @@ -141,9 +141,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/researchstudy.py b/spark_fhir_schemas/stu3/complex_types/researchstudy.py index 0ec4475a..a102c293 100644 --- a/spark_fhir_schemas/stu3/complex_types/researchstudy.py +++ b/spark_fhir_schemas/stu3/complex_types/researchstudy.py @@ -558,9 +558,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/researchstudy_arm.py b/spark_fhir_schemas/stu3/complex_types/researchstudy_arm.py index 1e6ec14c..cf3e7776 100644 --- a/spark_fhir_schemas/stu3/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/stu3/complex_types/researchstudy_arm.py @@ -133,9 +133,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/researchsubject.py b/spark_fhir_schemas/stu3/complex_types/researchsubject.py index 8da48316..a65e55f0 100644 --- a/spark_fhir_schemas/stu3/complex_types/researchsubject.py +++ b/spark_fhir_schemas/stu3/complex_types/researchsubject.py @@ -293,9 +293,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/resource.py b/spark_fhir_schemas/stu3/complex_types/resource.py index b0ebdcb9..9dc76ba4 100644 --- a/spark_fhir_schemas/stu3/complex_types/resource.py +++ b/spark_fhir_schemas/stu3/complex_types/resource.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/riskassessment.py b/spark_fhir_schemas/stu3/complex_types/riskassessment.py index a94f1d71..3000a3b0 100644 --- a/spark_fhir_schemas/stu3/complex_types/riskassessment.py +++ b/spark_fhir_schemas/stu3/complex_types/riskassessment.py @@ -463,9 +463,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/stu3/complex_types/riskassessment_prediction.py index 470a6791..f3829c2a 100644 --- a/spark_fhir_schemas/stu3/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/stu3/complex_types/riskassessment_prediction.py @@ -216,9 +216,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sampleddata.py b/spark_fhir_schemas/stu3/complex_types/sampleddata.py index 4b81f8e2..cfb3761b 100644 --- a/spark_fhir_schemas/stu3/complex_types/sampleddata.py +++ b/spark_fhir_schemas/stu3/complex_types/sampleddata.py @@ -159,9 +159,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/schedule.py b/spark_fhir_schemas/stu3/complex_types/schedule.py index edb07b0c..486dec12 100644 --- a/spark_fhir_schemas/stu3/complex_types/schedule.py +++ b/spark_fhir_schemas/stu3/complex_types/schedule.py @@ -330,9 +330,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/searchparameter.py b/spark_fhir_schemas/stu3/complex_types/searchparameter.py index 6eecc53e..3233c71b 100644 --- a/spark_fhir_schemas/stu3/complex_types/searchparameter.py +++ b/spark_fhir_schemas/stu3/complex_types/searchparameter.py @@ -430,9 +430,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/searchparameter_component.py b/spark_fhir_schemas/stu3/complex_types/searchparameter_component.py index fa58bd7d..50ae6392 100644 --- a/spark_fhir_schemas/stu3/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/stu3/complex_types/searchparameter_component.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sequence.py b/spark_fhir_schemas/stu3/complex_types/sequence.py index e0e2867e..3740bec2 100644 --- a/spark_fhir_schemas/stu3/complex_types/sequence.py +++ b/spark_fhir_schemas/stu3/complex_types/sequence.py @@ -442,9 +442,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sequence_quality.py b/spark_fhir_schemas/stu3/complex_types/sequence_quality.py index 809d0650..1acafa2e 100644 --- a/spark_fhir_schemas/stu3/complex_types/sequence_quality.py +++ b/spark_fhir_schemas/stu3/complex_types/sequence_quality.py @@ -236,9 +236,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sequence_referenceseq.py b/spark_fhir_schemas/stu3/complex_types/sequence_referenceseq.py index d0d0c65f..f8e2ad5b 100644 --- a/spark_fhir_schemas/stu3/complex_types/sequence_referenceseq.py +++ b/spark_fhir_schemas/stu3/complex_types/sequence_referenceseq.py @@ -201,9 +201,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sequence_repository.py b/spark_fhir_schemas/stu3/complex_types/sequence_repository.py index 8015826e..a1d4f0ec 100644 --- a/spark_fhir_schemas/stu3/complex_types/sequence_repository.py +++ b/spark_fhir_schemas/stu3/complex_types/sequence_repository.py @@ -127,9 +127,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/sequence_variant.py b/spark_fhir_schemas/stu3/complex_types/sequence_variant.py index 286cb1dc..6b3b351e 100644 --- a/spark_fhir_schemas/stu3/complex_types/sequence_variant.py +++ b/spark_fhir_schemas/stu3/complex_types/sequence_variant.py @@ -170,9 +170,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/servicedefinition.py b/spark_fhir_schemas/stu3/complex_types/servicedefinition.py index fc918566..fa690d9b 100644 --- a/spark_fhir_schemas/stu3/complex_types/servicedefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/servicedefinition.py @@ -554,9 +554,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/signature.py b/spark_fhir_schemas/stu3/complex_types/signature.py index 53ff7c5f..2527eb0f 100644 --- a/spark_fhir_schemas/stu3/complex_types/signature.py +++ b/spark_fhir_schemas/stu3/complex_types/signature.py @@ -190,9 +190,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/slot.py b/spark_fhir_schemas/stu3/complex_types/slot.py index 620b56aa..ecb63a05 100644 --- a/spark_fhir_schemas/stu3/complex_types/slot.py +++ b/spark_fhir_schemas/stu3/complex_types/slot.py @@ -336,9 +336,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/specimen.py b/spark_fhir_schemas/stu3/complex_types/specimen.py index 82d66323..09bff89a 100644 --- a/spark_fhir_schemas/stu3/complex_types/specimen.py +++ b/spark_fhir_schemas/stu3/complex_types/specimen.py @@ -398,9 +398,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/specimen_collection.py b/spark_fhir_schemas/stu3/complex_types/specimen_collection.py index 3b0d8e00..3686f35f 100644 --- a/spark_fhir_schemas/stu3/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/stu3/complex_types/specimen_collection.py @@ -203,9 +203,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/specimen_container.py b/spark_fhir_schemas/stu3/complex_types/specimen_container.py index 13c406e8..92b9d762 100644 --- a/spark_fhir_schemas/stu3/complex_types/specimen_container.py +++ b/spark_fhir_schemas/stu3/complex_types/specimen_container.py @@ -217,9 +217,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/specimen_processing.py b/spark_fhir_schemas/stu3/complex_types/specimen_processing.py index 42a4524e..60aced61 100644 --- a/spark_fhir_schemas/stu3/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/stu3/complex_types/specimen_processing.py @@ -172,9 +172,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuredefinition.py b/spark_fhir_schemas/stu3/complex_types/structuredefinition.py index c4ea6cfc..f3e6d31d 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuredefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/structuredefinition.py @@ -526,9 +526,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/stu3/complex_types/structuredefinition_differential.py index 79f601d1..2c474d2a 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/stu3/complex_types/structuredefinition_differential.py @@ -118,9 +118,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/stu3/complex_types/structuredefinition_mapping.py index 352a2881..cb98db42 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/stu3/complex_types/structuredefinition_mapping.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/stu3/complex_types/structuredefinition_snapshot.py index fdae3c66..bb429cdd 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/stu3/complex_types/structuredefinition_snapshot.py @@ -118,9 +118,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap.py b/spark_fhir_schemas/stu3/complex_types/structuremap.py index b0f557f4..970c2b24 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap.py @@ -426,9 +426,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_dependent.py b/spark_fhir_schemas/stu3/complex_types/structuremap_dependent.py index 4d34d08a..6e1b5159 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_dependent.py @@ -101,9 +101,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_group.py b/spark_fhir_schemas/stu3/complex_types/structuremap_group.py index 5fdd1545..9cef4064 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_group.py @@ -159,9 +159,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_input.py b/spark_fhir_schemas/stu3/complex_types/structuremap_input.py index c6e3c795..eee45c06 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_input.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_parameter.py b/spark_fhir_schemas/stu3/complex_types/structuremap_parameter.py index d1cb8bee..846b099a 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_parameter.py @@ -122,9 +122,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_rule.py b/spark_fhir_schemas/stu3/complex_types/structuremap_rule.py index e649bd6b..4856484e 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_rule.py @@ -186,9 +186,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_source.py b/spark_fhir_schemas/stu3/complex_types/structuremap_source.py index cbcd90a7..ec0bfc5c 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_source.py @@ -884,9 +884,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_structure.py b/spark_fhir_schemas/stu3/complex_types/structuremap_structure.py index a1d6126e..4bf1ec29 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_structure.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/structuremap_target.py b/spark_fhir_schemas/stu3/complex_types/structuremap_target.py index 4c3a2b7a..83b574f7 100644 --- a/spark_fhir_schemas/stu3/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/stu3/complex_types/structuremap_target.py @@ -143,9 +143,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/subscription.py b/spark_fhir_schemas/stu3/complex_types/subscription.py index 0484624e..dd1a0e5a 100644 --- a/spark_fhir_schemas/stu3/complex_types/subscription.py +++ b/spark_fhir_schemas/stu3/complex_types/subscription.py @@ -281,9 +281,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/subscription_channel.py b/spark_fhir_schemas/stu3/complex_types/subscription_channel.py index 7144472f..5ce8194f 100644 --- a/spark_fhir_schemas/stu3/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/stu3/complex_types/subscription_channel.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/substance.py b/spark_fhir_schemas/stu3/complex_types/substance.py index ef13575a..9f898b07 100644 --- a/spark_fhir_schemas/stu3/complex_types/substance.py +++ b/spark_fhir_schemas/stu3/complex_types/substance.py @@ -296,9 +296,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/substance_ingredient.py b/spark_fhir_schemas/stu3/complex_types/substance_ingredient.py index e0866fe5..c328ef95 100644 --- a/spark_fhir_schemas/stu3/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/stu3/complex_types/substance_ingredient.py @@ -147,9 +147,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/substance_instance.py b/spark_fhir_schemas/stu3/complex_types/substance_instance.py index eddaa5a3..fe911c5a 100644 --- a/spark_fhir_schemas/stu3/complex_types/substance_instance.py +++ b/spark_fhir_schemas/stu3/complex_types/substance_instance.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/supplydelivery.py b/spark_fhir_schemas/stu3/complex_types/supplydelivery.py index d820cab4..849e344d 100644 --- a/spark_fhir_schemas/stu3/complex_types/supplydelivery.py +++ b/spark_fhir_schemas/stu3/complex_types/supplydelivery.py @@ -401,9 +401,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/stu3/complex_types/supplydelivery_supplieditem.py index 72e581e3..ad91b53f 100644 --- a/spark_fhir_schemas/stu3/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/stu3/complex_types/supplydelivery_supplieditem.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/supplyrequest.py b/spark_fhir_schemas/stu3/complex_types/supplyrequest.py index c626d61b..9c22f78c 100644 --- a/spark_fhir_schemas/stu3/complex_types/supplyrequest.py +++ b/spark_fhir_schemas/stu3/complex_types/supplyrequest.py @@ -412,9 +412,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/supplyrequest_ordereditem.py b/spark_fhir_schemas/stu3/complex_types/supplyrequest_ordereditem.py index 4249c76b..256d5ec5 100644 --- a/spark_fhir_schemas/stu3/complex_types/supplyrequest_ordereditem.py +++ b/spark_fhir_schemas/stu3/complex_types/supplyrequest_ordereditem.py @@ -157,9 +157,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/supplyrequest_requester.py b/spark_fhir_schemas/stu3/complex_types/supplyrequest_requester.py index 9344a79c..83103187 100644 --- a/spark_fhir_schemas/stu3/complex_types/supplyrequest_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/supplyrequest_requester.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/task.py b/spark_fhir_schemas/stu3/complex_types/task.py index f601547c..2c8e270a 100644 --- a/spark_fhir_schemas/stu3/complex_types/task.py +++ b/spark_fhir_schemas/stu3/complex_types/task.py @@ -632,9 +632,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/task_input.py b/spark_fhir_schemas/stu3/complex_types/task_input.py index e84d1d0a..5ea67cce 100644 --- a/spark_fhir_schemas/stu3/complex_types/task_input.py +++ b/spark_fhir_schemas/stu3/complex_types/task_input.py @@ -855,9 +855,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/task_output.py b/spark_fhir_schemas/stu3/complex_types/task_output.py index bfe391af..9fc618fa 100644 --- a/spark_fhir_schemas/stu3/complex_types/task_output.py +++ b/spark_fhir_schemas/stu3/complex_types/task_output.py @@ -853,9 +853,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/task_requester.py b/spark_fhir_schemas/stu3/complex_types/task_requester.py index 3bc43d64..b669a70c 100644 --- a/spark_fhir_schemas/stu3/complex_types/task_requester.py +++ b/spark_fhir_schemas/stu3/complex_types/task_requester.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/task_restriction.py b/spark_fhir_schemas/stu3/complex_types/task_restriction.py index e5e2f973..a997f90d 100644 --- a/spark_fhir_schemas/stu3/complex_types/task_restriction.py +++ b/spark_fhir_schemas/stu3/complex_types/task_restriction.py @@ -142,9 +142,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport.py b/spark_fhir_schemas/stu3/complex_types/testreport.py index 7a8bcf32..59b1dfa9 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport.py @@ -342,9 +342,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_action.py b/spark_fhir_schemas/stu3/complex_types/testreport_action.py index 9b536971..3a26a399 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_action.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_action.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_action1.py b/spark_fhir_schemas/stu3/complex_types/testreport_action1.py index 1c8ed33c..7b78dea8 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_action1.py @@ -131,9 +131,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_action2.py b/spark_fhir_schemas/stu3/complex_types/testreport_action2.py index 2468b1a3..c8585125 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_action2.py @@ -111,9 +111,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_assert.py b/spark_fhir_schemas/stu3/complex_types/testreport_assert.py index 1b7859bd..42095a50 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_assert.py @@ -103,9 +103,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_operation.py b/spark_fhir_schemas/stu3/complex_types/testreport_operation.py index ce6a98c0..b3be1a1b 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_operation.py @@ -103,9 +103,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_participant.py b/spark_fhir_schemas/stu3/complex_types/testreport_participant.py index 89d8cc6c..c5b25c2e 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_participant.py @@ -103,9 +103,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_setup.py b/spark_fhir_schemas/stu3/complex_types/testreport_setup.py index 6212580d..6722e7e3 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_setup.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_teardown.py b/spark_fhir_schemas/stu3/complex_types/testreport_teardown.py index 7906a6fd..ef1c709a 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_teardown.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testreport_test.py b/spark_fhir_schemas/stu3/complex_types/testreport_test.py index d4d04e8d..e217b43e 100644 --- a/spark_fhir_schemas/stu3/complex_types/testreport_test.py +++ b/spark_fhir_schemas/stu3/complex_types/testreport_test.py @@ -123,9 +123,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript.py b/spark_fhir_schemas/stu3/complex_types/testscript.py index 0a286f60..803dd745 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript.py @@ -618,9 +618,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_action.py b/spark_fhir_schemas/stu3/complex_types/testscript_action.py index b343f493..e51e5ea3 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_action.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_action.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_action1.py b/spark_fhir_schemas/stu3/complex_types/testscript_action1.py index ce414cd4..bb01f066 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_action1.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_action2.py b/spark_fhir_schemas/stu3/complex_types/testscript_action2.py index a62c8770..2907a05c 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_action2.py @@ -113,9 +113,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_assert.py b/spark_fhir_schemas/stu3/complex_types/testscript_assert.py index 88c1bf5c..9f9c61be 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_assert.py @@ -258,9 +258,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_capability.py b/spark_fhir_schemas/stu3/complex_types/testscript_capability.py index 5d3ccaaa..28213cba 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_capability.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_destination.py b/spark_fhir_schemas/stu3/complex_types/testscript_destination.py index 090a2d45..e1c6f1a5 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_destination.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_fixture.py b/spark_fhir_schemas/stu3/complex_types/testscript_fixture.py index b38a4acb..ed5ceef0 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_fixture.py @@ -140,9 +140,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_link.py b/spark_fhir_schemas/stu3/complex_types/testscript_link.py index 380ab9ef..cb626aa1 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_link.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_link.py @@ -101,9 +101,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_metadata.py b/spark_fhir_schemas/stu3/complex_types/testscript_metadata.py index 8e71f503..882fb94c 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_metadata.py @@ -139,9 +139,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_operation.py b/spark_fhir_schemas/stu3/complex_types/testscript_operation.py index af5aeaef..f1aa239a 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_operation.py @@ -215,9 +215,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_origin.py b/spark_fhir_schemas/stu3/complex_types/testscript_origin.py index cc5e1076..b5c7f034 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_origin.py @@ -124,9 +124,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_param.py b/spark_fhir_schemas/stu3/complex_types/testscript_param.py index 1d1b43b2..a79de3b5 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_param.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_param.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_param1.py b/spark_fhir_schemas/stu3/complex_types/testscript_param1.py index 0cddaff7..c166bc75 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_param1.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_param1.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_param2.py b/spark_fhir_schemas/stu3/complex_types/testscript_param2.py index 3d53f829..a147a5b7 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_param2.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_param2.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_param3.py b/spark_fhir_schemas/stu3/complex_types/testscript_param3.py index cd1f7a52..407c5286 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_param3.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_param3.py @@ -105,9 +105,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_requestheader.py b/spark_fhir_schemas/stu3/complex_types/testscript_requestheader.py index 6802c139..0c04e90b 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_requestheader.py @@ -101,9 +101,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_rule.py b/spark_fhir_schemas/stu3/complex_types/testscript_rule.py index 11128701..749ba0d4 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_rule.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_rule.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_rule1.py b/spark_fhir_schemas/stu3/complex_types/testscript_rule1.py index 364fc56f..1d20a082 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_rule1.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_rule1.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_rule2.py b/spark_fhir_schemas/stu3/complex_types/testscript_rule2.py index 76c593d3..a277a985 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_rule2.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_rule2.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_rule3.py b/spark_fhir_schemas/stu3/complex_types/testscript_rule3.py index dea2cab2..b4b11e71 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_rule3.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_rule3.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_ruleset.py b/spark_fhir_schemas/stu3/complex_types/testscript_ruleset.py index ff5e2836..054be1da 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_ruleset.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_ruleset.py @@ -135,9 +135,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_ruleset1.py b/spark_fhir_schemas/stu3/complex_types/testscript_ruleset1.py index 45a9baa7..e7e22a84 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_ruleset1.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_ruleset1.py @@ -119,9 +119,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_setup.py b/spark_fhir_schemas/stu3/complex_types/testscript_setup.py index f5604aeb..ff06a106 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_setup.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_teardown.py b/spark_fhir_schemas/stu3/complex_types/testscript_teardown.py index e906785b..d6408ed7 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_teardown.py @@ -115,9 +115,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_test.py b/spark_fhir_schemas/stu3/complex_types/testscript_test.py index af869edc..edb7f054 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_test.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_test.py @@ -125,9 +125,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/testscript_variable.py b/spark_fhir_schemas/stu3/complex_types/testscript_variable.py index eb06d50e..291d8a87 100644 --- a/spark_fhir_schemas/stu3/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/stu3/complex_types/testscript_variable.py @@ -137,9 +137,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/timing.py b/spark_fhir_schemas/stu3/complex_types/timing.py index 3acc2b95..ed4f6cd4 100644 --- a/spark_fhir_schemas/stu3/complex_types/timing.py +++ b/spark_fhir_schemas/stu3/complex_types/timing.py @@ -152,9 +152,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/timing_repeat.py b/spark_fhir_schemas/stu3/complex_types/timing_repeat.py index 8526c7cc..381d2d06 100644 --- a/spark_fhir_schemas/stu3/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/stu3/complex_types/timing_repeat.py @@ -241,9 +241,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/triggerdefinition.py b/spark_fhir_schemas/stu3/complex_types/triggerdefinition.py index 7c1a29ea..bc20ae58 100644 --- a/spark_fhir_schemas/stu3/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/stu3/complex_types/triggerdefinition.py @@ -171,9 +171,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/usagecontext.py b/spark_fhir_schemas/stu3/complex_types/usagecontext.py index 4282d2d6..3b62a15c 100644 --- a/spark_fhir_schemas/stu3/complex_types/usagecontext.py +++ b/spark_fhir_schemas/stu3/complex_types/usagecontext.py @@ -179,9 +179,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset.py b/spark_fhir_schemas/stu3/complex_types/valueset.py index 588946ad..0b6e31bb 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset.py @@ -426,9 +426,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_compose.py b/spark_fhir_schemas/stu3/complex_types/valueset_compose.py index b10e7463..332005a0 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_compose.py @@ -166,9 +166,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_concept.py b/spark_fhir_schemas/stu3/complex_types/valueset_concept.py index ab544d79..07a67124 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_concept.py @@ -129,9 +129,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_contains.py b/spark_fhir_schemas/stu3/complex_types/valueset_contains.py index b99001bc..33e971ff 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_contains.py @@ -183,9 +183,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_designation.py b/spark_fhir_schemas/stu3/complex_types/valueset_designation.py index 6c8b7c81..f4d83e40 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_designation.py @@ -117,9 +117,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_expansion.py b/spark_fhir_schemas/stu3/complex_types/valueset_expansion.py index b0539289..e3b2ac6a 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_expansion.py @@ -174,9 +174,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_filter.py b/spark_fhir_schemas/stu3/complex_types/valueset_filter.py index edaa41e7..1b4985fc 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_filter.py @@ -109,9 +109,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_include.py b/spark_fhir_schemas/stu3/complex_types/valueset_include.py index 4a52d4e3..90075064 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_include.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_include.py @@ -155,9 +155,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/valueset_parameter.py b/spark_fhir_schemas/stu3/complex_types/valueset_parameter.py index 0bdb2440..a8e95434 100644 --- a/spark_fhir_schemas/stu3/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/stu3/complex_types/valueset_parameter.py @@ -128,9 +128,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/visionprescription.py b/spark_fhir_schemas/stu3/complex_types/visionprescription.py index 53794936..562220f4 100644 --- a/spark_fhir_schemas/stu3/complex_types/visionprescription.py +++ b/spark_fhir_schemas/stu3/complex_types/visionprescription.py @@ -324,9 +324,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/complex_types/visionprescription_dispense.py b/spark_fhir_schemas/stu3/complex_types/visionprescription_dispense.py index 9464a580..217deb95 100644 --- a/spark_fhir_schemas/stu3/complex_types/visionprescription_dispense.py +++ b/spark_fhir_schemas/stu3/complex_types/visionprescription_dispense.py @@ -207,9 +207,11 @@ def get_schema( ) if not include_extension: schema.fields = [ - c - if c.name != "extension" - else StructField("extension", StringType(), True) + ( + c + if c.name != "extension" + else StructField("extension", StringType(), True) + ) for c in schema.fields ] diff --git a/spark_fhir_schemas/stu3/generate_schema.py b/spark_fhir_schemas/stu3/generate_schema.py index 89a1e2c4..baa64253 100644 --- a/spark_fhir_schemas/stu3/generate_schema.py +++ b/spark_fhir_schemas/stu3/generate_schema.py @@ -1,5 +1,6 @@ import json import os +from dataclasses import dataclass from pathlib import Path import shutil from typing import Any @@ -7,8 +8,6 @@ from typing import List from typing import Optional -from attr import dataclass - @dataclass class PropertyInfo: @@ -164,11 +163,15 @@ def main() -> int: ref_: Optional[str] = ( value["$ref"] if "$ref" in value and type_ != "array" - else value["items"]["$ref"] - if "items" in value and "$ref" in value["items"] - else value["items"]["type"] - if "items" in value and "type" in value["items"] - else None + else ( + value["items"]["$ref"] + if "items" in value and "$ref" in value["items"] + else ( + value["items"]["type"] + if "items" in value and "type" in value["items"] + else None + ) + ) ) pattern = value["pattern"] if "pattern" in value else None # print(f"{key}:{value}") @@ -189,19 +192,25 @@ def main() -> int: [pi.UnderlyingDataType == reference_type for pi in properties_info] ), Description=description, - IsResourceType=reference_type.lower() in resources_dict - if reference_type - else False, - IsSimpleType=reference_type.lower() in simple_types - if reference_type - else (type_.lower() in simple_types if type_ else False), - IsComplexType=reference_type.lower() in complex_types - if reference_type - else False, - HideExtension=reference_type.lower() == "extension" - and resource_name in extensions_blocked_for_resources - if reference_type - else False, + IsResourceType=( + reference_type.lower() in resources_dict + if reference_type + else False + ), + IsSimpleType=( + reference_type.lower() in simple_types + if reference_type + else (type_.lower() in simple_types if type_ else False) + ), + IsComplexType=( + reference_type.lower() in complex_types if reference_type else False + ), + HideExtension=( + reference_type.lower() == "extension" + and resource_name in extensions_blocked_for_resources + if reference_type + else False + ), ) if resource_name.lower() == "extension": # have to skip a few properties or Spark runs out of memory diff --git a/tests/patient_read/test_can_load_patient.py b/tests/patient_read/test_can_load_patient.py index ede96bb6..bf3c4524 100644 --- a/tests/patient_read/test_can_load_patient.py +++ b/tests/patient_read/test_can_load_patient.py @@ -8,11 +8,13 @@ from pyspark.sql.types import DataType from pyspark.sql.types import StructType from spark_fhir_schemas.r4.resources.patient import PatientSchema +from tests.conftest import clean_spark_session from tests.spark_json_helpers import create_jsonl_files def test_can_load_patient(spark_session: SparkSession) -> None: # Arrange + clean_spark_session(session=spark_session) data_dir: Path = Path(__file__).parent.joinpath("./") patient_test_folder: Path = data_dir.joinpath("test_files").joinpath("patient.json")